Skip to content

Commit e463a4a

Browse files
Merge pull request #147 from wei18/dependabot/submodules/Submodule/github/rest-api-description-23ea15f
Bump Submodule/github/rest-api-description from `44dd20c` to `23ea15f`
2 parents a71f03f + 1f7becd commit e463a4a

File tree

7 files changed

+1573
-19
lines changed

7 files changed

+1573
-19
lines changed

Sources/billing/Client.swift

Lines changed: 443 additions & 0 deletions
Large diffs are not rendered by default.

Sources/billing/Types.swift

Lines changed: 1087 additions & 12 deletions
Large diffs are not rendered by default.

Sources/code-scanning/Types.swift

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,6 +2058,8 @@ public enum Components {
20582058
public var repository: Components.Schemas.SimpleRepository
20592059
/// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/dismissal_approved_by`.
20602060
public var dismissalApprovedBy: Components.Schemas.NullableSimpleUser?
2061+
/// - Remark: Generated from `#/components/schemas/code-scanning-organization-alert-items/assignees`.
2062+
public var assignees: [Components.Schemas.SimpleUser]?
20612063
/// Creates a new `CodeScanningOrganizationAlertItems`.
20622064
///
20632065
/// - Parameters:
@@ -2078,6 +2080,7 @@ public enum Components {
20782080
/// - mostRecentInstance:
20792081
/// - repository:
20802082
/// - dismissalApprovedBy:
2083+
/// - assignees:
20812084
public init(
20822085
number: Components.Schemas.AlertNumber,
20832086
createdAt: Components.Schemas.AlertCreatedAt,
@@ -2095,7 +2098,8 @@ public enum Components {
20952098
tool: Components.Schemas.CodeScanningAnalysisTool,
20962099
mostRecentInstance: Components.Schemas.CodeScanningAlertInstance,
20972100
repository: Components.Schemas.SimpleRepository,
2098-
dismissalApprovedBy: Components.Schemas.NullableSimpleUser? = nil
2101+
dismissalApprovedBy: Components.Schemas.NullableSimpleUser? = nil,
2102+
assignees: [Components.Schemas.SimpleUser]? = nil
20992103
) {
21002104
self.number = number
21012105
self.createdAt = createdAt
@@ -2114,6 +2118,7 @@ public enum Components {
21142118
self.mostRecentInstance = mostRecentInstance
21152119
self.repository = repository
21162120
self.dismissalApprovedBy = dismissalApprovedBy
2121+
self.assignees = assignees
21172122
}
21182123
public enum CodingKeys: String, CodingKey {
21192124
case number
@@ -2133,6 +2138,7 @@ public enum Components {
21332138
case mostRecentInstance = "most_recent_instance"
21342139
case repository
21352140
case dismissalApprovedBy = "dismissal_approved_by"
2141+
case assignees
21362142
}
21372143
}
21382144
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-items`.
@@ -2169,6 +2175,8 @@ public enum Components {
21692175
public var mostRecentInstance: Components.Schemas.CodeScanningAlertInstance
21702176
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/dismissal_approved_by`.
21712177
public var dismissalApprovedBy: Components.Schemas.NullableSimpleUser?
2178+
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-items/assignees`.
2179+
public var assignees: [Components.Schemas.SimpleUser]?
21722180
/// Creates a new `CodeScanningAlertItems`.
21732181
///
21742182
/// - Parameters:
@@ -2188,6 +2196,7 @@ public enum Components {
21882196
/// - tool:
21892197
/// - mostRecentInstance:
21902198
/// - dismissalApprovedBy:
2199+
/// - assignees:
21912200
public init(
21922201
number: Components.Schemas.AlertNumber,
21932202
createdAt: Components.Schemas.AlertCreatedAt,
@@ -2204,7 +2213,8 @@ public enum Components {
22042213
rule: Components.Schemas.CodeScanningAlertRuleSummary,
22052214
tool: Components.Schemas.CodeScanningAnalysisTool,
22062215
mostRecentInstance: Components.Schemas.CodeScanningAlertInstance,
2207-
dismissalApprovedBy: Components.Schemas.NullableSimpleUser? = nil
2216+
dismissalApprovedBy: Components.Schemas.NullableSimpleUser? = nil,
2217+
assignees: [Components.Schemas.SimpleUser]? = nil
22082218
) {
22092219
self.number = number
22102220
self.createdAt = createdAt
@@ -2222,6 +2232,7 @@ public enum Components {
22222232
self.tool = tool
22232233
self.mostRecentInstance = mostRecentInstance
22242234
self.dismissalApprovedBy = dismissalApprovedBy
2235+
self.assignees = assignees
22252236
}
22262237
public enum CodingKeys: String, CodingKey {
22272238
case number
@@ -2240,6 +2251,7 @@ public enum Components {
22402251
case tool
22412252
case mostRecentInstance = "most_recent_instance"
22422253
case dismissalApprovedBy = "dismissal_approved_by"
2254+
case assignees
22432255
}
22442256
}
22452257
/// - Remark: Generated from `#/components/schemas/code-scanning-alert-rule`.
@@ -2377,6 +2389,8 @@ public enum Components {
23772389
public var mostRecentInstance: Components.Schemas.CodeScanningAlertInstance
23782390
/// - Remark: Generated from `#/components/schemas/code-scanning-alert/dismissal_approved_by`.
23792391
public var dismissalApprovedBy: Components.Schemas.NullableSimpleUser?
2392+
/// - Remark: Generated from `#/components/schemas/code-scanning-alert/assignees`.
2393+
public var assignees: [Components.Schemas.SimpleUser]?
23802394
/// Creates a new `CodeScanningAlert`.
23812395
///
23822396
/// - Parameters:
@@ -2396,6 +2410,7 @@ public enum Components {
23962410
/// - tool:
23972411
/// - mostRecentInstance:
23982412
/// - dismissalApprovedBy:
2413+
/// - assignees:
23992414
public init(
24002415
number: Components.Schemas.AlertNumber,
24012416
createdAt: Components.Schemas.AlertCreatedAt,
@@ -2412,7 +2427,8 @@ public enum Components {
24122427
rule: Components.Schemas.CodeScanningAlertRule,
24132428
tool: Components.Schemas.CodeScanningAnalysisTool,
24142429
mostRecentInstance: Components.Schemas.CodeScanningAlertInstance,
2415-
dismissalApprovedBy: Components.Schemas.NullableSimpleUser? = nil
2430+
dismissalApprovedBy: Components.Schemas.NullableSimpleUser? = nil,
2431+
assignees: [Components.Schemas.SimpleUser]? = nil
24162432
) {
24172433
self.number = number
24182434
self.createdAt = createdAt
@@ -2430,6 +2446,7 @@ public enum Components {
24302446
self.tool = tool
24312447
self.mostRecentInstance = mostRecentInstance
24322448
self.dismissalApprovedBy = dismissalApprovedBy
2449+
self.assignees = assignees
24332450
}
24342451
public enum CodingKeys: String, CodingKey {
24352452
case number
@@ -2448,6 +2465,7 @@ public enum Components {
24482465
case tool
24492466
case mostRecentInstance = "most_recent_instance"
24502467
case dismissalApprovedBy = "dismissal_approved_by"
2468+
case assignees
24512469
}
24522470
}
24532471
/// Sets the state of the code scanning alert. You must provide `dismissed_reason` when you set the state to `dismissed`.

Sources/orgs/Types.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11955,25 +11955,31 @@ public enum Operations {
1195511955
public var repositoryId: Swift.Int?
1195611956
/// - Remark: Generated from `#/paths/orgs/{org}/attestations/{subject_digest}/GET/responses/200/content/json/AttestationsPayload/bundle_url`.
1195711957
public var bundleUrl: Swift.String?
11958+
/// - Remark: Generated from `#/paths/orgs/{org}/attestations/{subject_digest}/GET/responses/200/content/json/AttestationsPayload/initiator`.
11959+
public var initiator: Swift.String?
1195811960
/// Creates a new `AttestationsPayloadPayload`.
1195911961
///
1196011962
/// - Parameters:
1196111963
/// - bundle: The attestation's Sigstore Bundle.
1196211964
/// - repositoryId:
1196311965
/// - bundleUrl:
11966+
/// - initiator:
1196411967
public init(
1196511968
bundle: Operations.OrgsListAttestations.Output.Ok.Body.JsonPayload.AttestationsPayloadPayload.BundlePayload? = nil,
1196611969
repositoryId: Swift.Int? = nil,
11967-
bundleUrl: Swift.String? = nil
11970+
bundleUrl: Swift.String? = nil,
11971+
initiator: Swift.String? = nil
1196811972
) {
1196911973
self.bundle = bundle
1197011974
self.repositoryId = repositoryId
1197111975
self.bundleUrl = bundleUrl
11976+
self.initiator = initiator
1197211977
}
1197311978
public enum CodingKeys: String, CodingKey {
1197411979
case bundle
1197511980
case repositoryId = "repository_id"
1197611981
case bundleUrl = "bundle_url"
11982+
case initiator
1197711983
}
1197811984
}
1197911985
/// - Remark: Generated from `#/paths/orgs/{org}/attestations/{subject_digest}/GET/responses/200/content/json/attestations`.

Sources/repos/Types.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27966,25 +27966,31 @@ public enum Operations {
2796627966
public var repositoryId: Swift.Int?
2796727967
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/attestations/{subject_digest}/GET/responses/200/content/json/AttestationsPayload/bundle_url`.
2796827968
public var bundleUrl: Swift.String?
27969+
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/attestations/{subject_digest}/GET/responses/200/content/json/AttestationsPayload/initiator`.
27970+
public var initiator: Swift.String?
2796927971
/// Creates a new `AttestationsPayloadPayload`.
2797027972
///
2797127973
/// - Parameters:
2797227974
/// - bundle: The attestation's Sigstore Bundle.
2797327975
/// - repositoryId:
2797427976
/// - bundleUrl:
27977+
/// - initiator:
2797527978
public init(
2797627979
bundle: Operations.ReposListAttestations.Output.Ok.Body.JsonPayload.AttestationsPayloadPayload.BundlePayload? = nil,
2797727980
repositoryId: Swift.Int? = nil,
27978-
bundleUrl: Swift.String? = nil
27981+
bundleUrl: Swift.String? = nil,
27982+
initiator: Swift.String? = nil
2797927983
) {
2798027984
self.bundle = bundle
2798127985
self.repositoryId = repositoryId
2798227986
self.bundleUrl = bundleUrl
27987+
self.initiator = initiator
2798327988
}
2798427989
public enum CodingKeys: String, CodingKey {
2798527990
case bundle
2798627991
case repositoryId = "repository_id"
2798727992
case bundleUrl = "bundle_url"
27993+
case initiator
2798827994
}
2798927995
}
2799027996
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/attestations/{subject_digest}/GET/responses/200/content/json/attestations`.

Sources/users/Types.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12601,25 +12601,31 @@ public enum Operations {
1260112601
public var repositoryId: Swift.Int?
1260212602
/// - Remark: Generated from `#/paths/users/{username}/attestations/{subject_digest}/GET/responses/200/content/json/AttestationsPayload/bundle_url`.
1260312603
public var bundleUrl: Swift.String?
12604+
/// - Remark: Generated from `#/paths/users/{username}/attestations/{subject_digest}/GET/responses/200/content/json/AttestationsPayload/initiator`.
12605+
public var initiator: Swift.String?
1260412606
/// Creates a new `AttestationsPayloadPayload`.
1260512607
///
1260612608
/// - Parameters:
1260712609
/// - bundle: The attestation's Sigstore Bundle.
1260812610
/// - repositoryId:
1260912611
/// - bundleUrl:
12612+
/// - initiator:
1261012613
public init(
1261112614
bundle: Operations.UsersListAttestations.Output.Ok.Body.JsonPayload.AttestationsPayloadPayload.BundlePayload? = nil,
1261212615
repositoryId: Swift.Int? = nil,
12613-
bundleUrl: Swift.String? = nil
12616+
bundleUrl: Swift.String? = nil,
12617+
initiator: Swift.String? = nil
1261412618
) {
1261512619
self.bundle = bundle
1261612620
self.repositoryId = repositoryId
1261712621
self.bundleUrl = bundleUrl
12622+
self.initiator = initiator
1261812623
}
1261912624
public enum CodingKeys: String, CodingKey {
1262012625
case bundle
1262112626
case repositoryId = "repository_id"
1262212627
case bundleUrl = "bundle_url"
12628+
case initiator
1262312629
}
1262412630
}
1262512631
/// - Remark: Generated from `#/paths/users/{username}/attestations/{subject_digest}/GET/responses/200/content/json/attestations`.

0 commit comments

Comments
 (0)