@@ -2628,6 +2628,25 @@ public enum Components {
26282628 case pinnedBy = "pinned_by"
26292629 }
26302630 }
2631+ /// Details about why an issue comment was minimized.
2632+ ///
2633+ /// - Remark: Generated from `#/components/schemas/nullable-issue-comment-minimized`.
2634+ public struct NullableIssueCommentMinimized: Codable, Hashable, Sendable {
2635+ /// The reason the comment was minimized.
2636+ ///
2637+ /// - Remark: Generated from `#/components/schemas/nullable-issue-comment-minimized/reason`.
2638+ public var reason: Swift.String?
2639+ /// Creates a new `NullableIssueCommentMinimized`.
2640+ ///
2641+ /// - Parameters:
2642+ /// - reason: The reason the comment was minimized.
2643+ public init(reason: Swift.String? = nil) {
2644+ self.reason = reason
2645+ }
2646+ public enum CodingKeys: String, CodingKey {
2647+ case reason
2648+ }
2649+ }
26312650 /// Comments provide a way for people to collaborate on an issue.
26322651 ///
26332652 /// - Remark: Generated from `#/components/schemas/nullable-issue-comment`.
@@ -2668,6 +2687,8 @@ public enum Components {
26682687 public var reactions: Components.Schemas.ReactionRollup?
26692688 /// - Remark: Generated from `#/components/schemas/nullable-issue-comment/pin`.
26702689 public var pin: Components.Schemas.NullablePinnedIssueComment?
2690+ /// - Remark: Generated from `#/components/schemas/nullable-issue-comment/minimized`.
2691+ public var minimized: Components.Schemas.NullableIssueCommentMinimized?
26712692 /// Creates a new `NullableIssueComment`.
26722693 ///
26732694 /// - Parameters:
@@ -2686,6 +2707,7 @@ public enum Components {
26862707 /// - performedViaGithubApp:
26872708 /// - reactions:
26882709 /// - pin:
2710+ /// - minimized:
26892711 public init(
26902712 id: Swift.Int64,
26912713 nodeId: Swift.String,
@@ -2701,7 +2723,8 @@ public enum Components {
27012723 authorAssociation: Components.Schemas.AuthorAssociation? = nil,
27022724 performedViaGithubApp: Components.Schemas.NullableIntegration? = nil,
27032725 reactions: Components.Schemas.ReactionRollup? = nil,
2704- pin: Components.Schemas.NullablePinnedIssueComment? = nil
2726+ pin: Components.Schemas.NullablePinnedIssueComment? = nil,
2727+ minimized: Components.Schemas.NullableIssueCommentMinimized? = nil
27052728 ) {
27062729 self.id = id
27072730 self.nodeId = nodeId
@@ -2718,6 +2741,7 @@ public enum Components {
27182741 self.performedViaGithubApp = performedViaGithubApp
27192742 self.reactions = reactions
27202743 self.pin = pin
2744+ self.minimized = minimized
27212745 }
27222746 public enum CodingKeys: String, CodingKey {
27232747 case id
@@ -2735,6 +2759,7 @@ public enum Components {
27352759 case performedViaGithubApp = "performed_via_github_app"
27362760 case reactions
27372761 case pin
2762+ case minimized
27382763 }
27392764 }
27402765 /// - Remark: Generated from `#/components/schemas/issue-dependencies-summary`.
@@ -2780,6 +2805,10 @@ public enum Components {
27802805 ///
27812806 /// - Remark: Generated from `#/components/schemas/issue-field-value/issue_field_id`.
27822807 public var issueFieldId: Swift.Int64
2808+ /// The human-readable name of the issue field.
2809+ ///
2810+ /// - Remark: Generated from `#/components/schemas/issue-field-value/issue_field_name`.
2811+ public var issueFieldName: Swift.String?
27832812 /// - Remark: Generated from `#/components/schemas/issue-field-value/node_id`.
27842813 public var nodeId: Swift.String
27852814 /// The data type of the issue field
@@ -2949,20 +2978,23 @@ public enum Components {
29492978 ///
29502979 /// - Parameters:
29512980 /// - issueFieldId: Unique identifier for the issue field.
2981+ /// - issueFieldName: The human-readable name of the issue field.
29522982 /// - nodeId:
29532983 /// - dataType: The data type of the issue field
29542984 /// - value: The value of the issue field
29552985 /// - singleSelectOption: Details about the selected option (only present for single_select fields)
29562986 /// - multiSelectOptions: Details about the selected options
29572987 public init(
29582988 issueFieldId: Swift.Int64,
2989+ issueFieldName: Swift.String? = nil,
29592990 nodeId: Swift.String,
29602991 dataType: Components.Schemas.IssueFieldValue.DataTypePayload,
29612992 value: Components.Schemas.IssueFieldValue.ValuePayload? = nil,
29622993 singleSelectOption: Components.Schemas.IssueFieldValue.SingleSelectOptionPayload? = nil,
29632994 multiSelectOptions: Components.Schemas.IssueFieldValue.MultiSelectOptionsPayload? = nil
29642995 ) {
29652996 self.issueFieldId = issueFieldId
2997+ self.issueFieldName = issueFieldName
29662998 self.nodeId = nodeId
29672999 self.dataType = dataType
29683000 self.value = value
@@ -2971,6 +3003,7 @@ public enum Components {
29713003 }
29723004 public enum CodingKeys: String, CodingKey {
29733005 case issueFieldId = "issue_field_id"
3006+ case issueFieldName = "issue_field_name"
29743007 case nodeId = "node_id"
29753008 case dataType = "data_type"
29763009 case value
@@ -3609,6 +3642,22 @@ public enum Components {
36093642 ///
36103643 /// - Remark: Generated from `#/components/schemas/team/type`.
36113644 public var _type: Components.Schemas.Team._TypePayload
3645+ /// How the team's access to the repository was granted. This property is only
3646+ /// present when the team is returned in a repository context, such as
3647+ /// `GET /repos/{owner}/{repo}/teams`.
3648+ ///
3649+ /// - Remark: Generated from `#/components/schemas/team/access_source`.
3650+ @frozen public enum AccessSourcePayload: String, Codable, Hashable, Sendable, CaseIterable {
3651+ case direct = "direct"
3652+ case organization = "organization"
3653+ case enterprise = "enterprise"
3654+ }
3655+ /// How the team's access to the repository was granted. This property is only
3656+ /// present when the team is returned in a repository context, such as
3657+ /// `GET /repos/{owner}/{repo}/teams`.
3658+ ///
3659+ /// - Remark: Generated from `#/components/schemas/team/access_source`.
3660+ public var accessSource: Components.Schemas.Team.AccessSourcePayload?
36123661 /// Unique identifier of the organization to which this team belongs
36133662 ///
36143663 /// - Remark: Generated from `#/components/schemas/team/organization_id`.
@@ -3636,6 +3685,7 @@ public enum Components {
36363685 /// - membersUrl:
36373686 /// - repositoriesUrl:
36383687 /// - _type: The ownership type of the team
3688+ /// - accessSource: How the team's access to the repository was granted. This property is only
36393689 /// - organizationId: Unique identifier of the organization to which this team belongs
36403690 /// - enterpriseId: Unique identifier of the enterprise to which this team belongs
36413691 /// - parent:
@@ -3654,6 +3704,7 @@ public enum Components {
36543704 membersUrl: Swift.String,
36553705 repositoriesUrl: Swift.String,
36563706 _type: Components.Schemas.Team._TypePayload,
3707+ accessSource: Components.Schemas.Team.AccessSourcePayload? = nil,
36573708 organizationId: Swift.Int? = nil,
36583709 enterpriseId: Swift.Int? = nil,
36593710 parent: Components.Schemas.NullableTeamSimple? = nil
@@ -3672,6 +3723,7 @@ public enum Components {
36723723 self.membersUrl = membersUrl
36733724 self.repositoriesUrl = repositoriesUrl
36743725 self._type = _type
3726+ self.accessSource = accessSource
36753727 self.organizationId = organizationId
36763728 self.enterpriseId = enterpriseId
36773729 self.parent = parent
@@ -3691,6 +3743,7 @@ public enum Components {
36913743 case membersUrl = "members_url"
36923744 case repositoriesUrl = "repositories_url"
36933745 case _type = "type"
3746+ case accessSource = "access_source"
36943747 case organizationId = "organization_id"
36953748 case enterpriseId = "enterprise_id"
36963749 case parent
0 commit comments