@@ -3815,6 +3815,164 @@ public enum Components {
38153815 case totalBlocking = "total_blocking"
38163816 }
38173817 }
3818+ /// A value assigned to an issue field
3819+ ///
3820+ /// - Remark: Generated from `#/components/schemas/issue-field-value`.
3821+ public struct IssueFieldValue: Codable, Hashable, Sendable {
3822+ /// Unique identifier for the issue field.
3823+ ///
3824+ /// - Remark: Generated from `#/components/schemas/issue-field-value/issue_field_id`.
3825+ public var issueFieldId: Swift.Int64
3826+ /// - Remark: Generated from `#/components/schemas/issue-field-value/node_id`.
3827+ public var nodeId: Swift.String
3828+ /// The data type of the issue field
3829+ ///
3830+ /// - Remark: Generated from `#/components/schemas/issue-field-value/data_type`.
3831+ @frozen public enum DataTypePayload: String, Codable, Hashable, Sendable, CaseIterable {
3832+ case text = "text"
3833+ case singleSelect = "single_select"
3834+ case number = "number"
3835+ case date = "date"
3836+ }
3837+ /// The data type of the issue field
3838+ ///
3839+ /// - Remark: Generated from `#/components/schemas/issue-field-value/data_type`.
3840+ public var dataType: Components.Schemas.IssueFieldValue.DataTypePayload
3841+ /// The value of the issue field
3842+ ///
3843+ /// - Remark: Generated from `#/components/schemas/issue-field-value/value`.
3844+ public struct ValuePayload: Codable, Hashable, Sendable {
3845+ /// - Remark: Generated from `#/components/schemas/issue-field-value/value/value1`.
3846+ public var value1: Swift.String?
3847+ /// - Remark: Generated from `#/components/schemas/issue-field-value/value/value2`.
3848+ public var value2: Swift.Double?
3849+ /// - Remark: Generated from `#/components/schemas/issue-field-value/value/value3`.
3850+ public var value3: Swift.Int?
3851+ /// Creates a new `ValuePayload`.
3852+ ///
3853+ /// - Parameters:
3854+ /// - value1:
3855+ /// - value2:
3856+ /// - value3:
3857+ public init(
3858+ value1: Swift.String? = nil,
3859+ value2: Swift.Double? = nil,
3860+ value3: Swift.Int? = nil
3861+ ) {
3862+ self.value1 = value1
3863+ self.value2 = value2
3864+ self.value3 = value3
3865+ }
3866+ public init(from decoder: any Decoder) throws {
3867+ var errors: [any Error] = []
3868+ do {
3869+ self.value1 = try decoder.decodeFromSingleValueContainer()
3870+ } catch {
3871+ errors.append(error)
3872+ }
3873+ do {
3874+ self.value2 = try decoder.decodeFromSingleValueContainer()
3875+ } catch {
3876+ errors.append(error)
3877+ }
3878+ do {
3879+ self.value3 = try decoder.decodeFromSingleValueContainer()
3880+ } catch {
3881+ errors.append(error)
3882+ }
3883+ try Swift.DecodingError.verifyAtLeastOneSchemaIsNotNil(
3884+ [
3885+ self.value1,
3886+ self.value2,
3887+ self.value3
3888+ ],
3889+ type: Self.self,
3890+ codingPath: decoder.codingPath,
3891+ errors: errors
3892+ )
3893+ }
3894+ public func encode(to encoder: any Encoder) throws {
3895+ try encoder.encodeFirstNonNilValueToSingleValueContainer([
3896+ self.value1,
3897+ self.value2,
3898+ self.value3
3899+ ])
3900+ }
3901+ }
3902+ /// The value of the issue field
3903+ ///
3904+ /// - Remark: Generated from `#/components/schemas/issue-field-value/value`.
3905+ public var value: Components.Schemas.IssueFieldValue.ValuePayload?
3906+ /// Details about the selected option (only present for single_select fields)
3907+ ///
3908+ /// - Remark: Generated from `#/components/schemas/issue-field-value/single_select_option`.
3909+ public struct SingleSelectOptionPayload: Codable, Hashable, Sendable {
3910+ /// Unique identifier for the option.
3911+ ///
3912+ /// - Remark: Generated from `#/components/schemas/issue-field-value/single_select_option/id`.
3913+ public var id: Swift.Int64
3914+ /// The name of the option
3915+ ///
3916+ /// - Remark: Generated from `#/components/schemas/issue-field-value/single_select_option/name`.
3917+ public var name: Swift.String
3918+ /// The color of the option
3919+ ///
3920+ /// - Remark: Generated from `#/components/schemas/issue-field-value/single_select_option/color`.
3921+ public var color: Swift.String
3922+ /// Creates a new `SingleSelectOptionPayload`.
3923+ ///
3924+ /// - Parameters:
3925+ /// - id: Unique identifier for the option.
3926+ /// - name: The name of the option
3927+ /// - color: The color of the option
3928+ public init(
3929+ id: Swift.Int64,
3930+ name: Swift.String,
3931+ color: Swift.String
3932+ ) {
3933+ self.id = id
3934+ self.name = name
3935+ self.color = color
3936+ }
3937+ public enum CodingKeys: String, CodingKey {
3938+ case id
3939+ case name
3940+ case color
3941+ }
3942+ }
3943+ /// Details about the selected option (only present for single_select fields)
3944+ ///
3945+ /// - Remark: Generated from `#/components/schemas/issue-field-value/single_select_option`.
3946+ public var singleSelectOption: Components.Schemas.IssueFieldValue.SingleSelectOptionPayload?
3947+ /// Creates a new `IssueFieldValue`.
3948+ ///
3949+ /// - Parameters:
3950+ /// - issueFieldId: Unique identifier for the issue field.
3951+ /// - nodeId:
3952+ /// - dataType: The data type of the issue field
3953+ /// - value: The value of the issue field
3954+ /// - singleSelectOption: Details about the selected option (only present for single_select fields)
3955+ public init(
3956+ issueFieldId: Swift.Int64,
3957+ nodeId: Swift.String,
3958+ dataType: Components.Schemas.IssueFieldValue.DataTypePayload,
3959+ value: Components.Schemas.IssueFieldValue.ValuePayload? = nil,
3960+ singleSelectOption: Components.Schemas.IssueFieldValue.SingleSelectOptionPayload? = nil
3961+ ) {
3962+ self.issueFieldId = issueFieldId
3963+ self.nodeId = nodeId
3964+ self.dataType = dataType
3965+ self.value = value
3966+ self.singleSelectOption = singleSelectOption
3967+ }
3968+ public enum CodingKeys: String, CodingKey {
3969+ case issueFieldId = "issue_field_id"
3970+ case nodeId = "node_id"
3971+ case dataType = "data_type"
3972+ case value
3973+ case singleSelectOption = "single_select_option"
3974+ }
3975+ }
38183976 /// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
38193977 ///
38203978 /// - Remark: Generated from `#/components/schemas/issue`.
@@ -4049,6 +4207,8 @@ public enum Components {
40494207 public var subIssuesSummary: Components.Schemas.SubIssuesSummary?
40504208 /// - Remark: Generated from `#/components/schemas/issue/issue_dependencies_summary`.
40514209 public var issueDependenciesSummary: Components.Schemas.IssueDependenciesSummary?
4210+ /// - Remark: Generated from `#/components/schemas/issue/issue_field_values`.
4211+ public var issueFieldValues: [Components.Schemas.IssueFieldValue]?
40524212 /// Creates a new `Issue`.
40534213 ///
40544214 /// - Parameters:
@@ -4089,6 +4249,7 @@ public enum Components {
40894249 /// - reactions:
40904250 /// - subIssuesSummary:
40914251 /// - issueDependenciesSummary:
4252+ /// - issueFieldValues:
40924253 public init(
40934254 id: Swift.Int64,
40944255 nodeId: Swift.String,
@@ -4126,7 +4287,8 @@ public enum Components {
41264287 authorAssociation: Components.Schemas.AuthorAssociation,
41274288 reactions: Components.Schemas.ReactionRollup? = nil,
41284289 subIssuesSummary: Components.Schemas.SubIssuesSummary? = nil,
4129- issueDependenciesSummary: Components.Schemas.IssueDependenciesSummary? = nil
4290+ issueDependenciesSummary: Components.Schemas.IssueDependenciesSummary? = nil,
4291+ issueFieldValues: [Components.Schemas.IssueFieldValue]? = nil
41304292 ) {
41314293 self.id = id
41324294 self.nodeId = nodeId
@@ -4165,6 +4327,7 @@ public enum Components {
41654327 self.reactions = reactions
41664328 self.subIssuesSummary = subIssuesSummary
41674329 self.issueDependenciesSummary = issueDependenciesSummary
4330+ self.issueFieldValues = issueFieldValues
41684331 }
41694332 public enum CodingKeys: String, CodingKey {
41704333 case id
@@ -4204,6 +4367,7 @@ public enum Components {
42044367 case reactions
42054368 case subIssuesSummary = "sub_issues_summary"
42064369 case issueDependenciesSummary = "issue_dependencies_summary"
4370+ case issueFieldValues = "issue_field_values"
42074371 }
42084372 }
42094373 /// Comments provide a way for people to collaborate on an issue.
@@ -4885,6 +5049,8 @@ public enum Components {
48855049 public var subIssuesSummary: Components.Schemas.SubIssuesSummary?
48865050 /// - Remark: Generated from `#/components/schemas/nullable-issue/issue_dependencies_summary`.
48875051 public var issueDependenciesSummary: Components.Schemas.IssueDependenciesSummary?
5052+ /// - Remark: Generated from `#/components/schemas/nullable-issue/issue_field_values`.
5053+ public var issueFieldValues: [Components.Schemas.IssueFieldValue]?
48885054 /// Creates a new `NullableIssue`.
48895055 ///
48905056 /// - Parameters:
@@ -4925,6 +5091,7 @@ public enum Components {
49255091 /// - reactions:
49265092 /// - subIssuesSummary:
49275093 /// - issueDependenciesSummary:
5094+ /// - issueFieldValues:
49285095 public init(
49295096 id: Swift.Int64,
49305097 nodeId: Swift.String,
@@ -4962,7 +5129,8 @@ public enum Components {
49625129 authorAssociation: Components.Schemas.AuthorAssociation,
49635130 reactions: Components.Schemas.ReactionRollup? = nil,
49645131 subIssuesSummary: Components.Schemas.SubIssuesSummary? = nil,
4965- issueDependenciesSummary: Components.Schemas.IssueDependenciesSummary? = nil
5132+ issueDependenciesSummary: Components.Schemas.IssueDependenciesSummary? = nil,
5133+ issueFieldValues: [Components.Schemas.IssueFieldValue]? = nil
49665134 ) {
49675135 self.id = id
49685136 self.nodeId = nodeId
@@ -5001,6 +5169,7 @@ public enum Components {
50015169 self.reactions = reactions
50025170 self.subIssuesSummary = subIssuesSummary
50035171 self.issueDependenciesSummary = issueDependenciesSummary
5172+ self.issueFieldValues = issueFieldValues
50045173 }
50055174 public enum CodingKeys: String, CodingKey {
50065175 case id
@@ -5040,6 +5209,7 @@ public enum Components {
50405209 case reactions
50415210 case subIssuesSummary = "sub_issues_summary"
50425211 case issueDependenciesSummary = "issue_dependencies_summary"
5212+ case issueFieldValues = "issue_field_values"
50435213 }
50445214 }
50455215 /// Issue Event Label
@@ -7583,6 +7753,8 @@ public enum Components {
75837753 public var _links: Components.Schemas.TimelineReviewedEvent._LinksPayload
75847754 /// - Remark: Generated from `#/components/schemas/timeline-reviewed-event/submitted_at`.
75857755 public var submittedAt: Foundation.Date?
7756+ /// - Remark: Generated from `#/components/schemas/timeline-reviewed-event/updated_at`.
7757+ public var updatedAt: Foundation.Date?
75867758 /// A commit SHA for the review.
75877759 ///
75887760 /// - Remark: Generated from `#/components/schemas/timeline-reviewed-event/commit_id`.
@@ -7606,6 +7778,7 @@ public enum Components {
76067778 /// - pullRequestUrl:
76077779 /// - _links:
76087780 /// - submittedAt:
7781+ /// - updatedAt:
76097782 /// - commitId: A commit SHA for the review.
76107783 /// - bodyHtml:
76117784 /// - bodyText:
@@ -7621,6 +7794,7 @@ public enum Components {
76217794 pullRequestUrl: Swift.String,
76227795 _links: Components.Schemas.TimelineReviewedEvent._LinksPayload,
76237796 submittedAt: Foundation.Date? = nil,
7797+ updatedAt: Foundation.Date? = nil,
76247798 commitId: Swift.String,
76257799 bodyHtml: Swift.String? = nil,
76267800 bodyText: Swift.String? = nil,
@@ -7636,6 +7810,7 @@ public enum Components {
76367810 self.pullRequestUrl = pullRequestUrl
76377811 self._links = _links
76387812 self.submittedAt = submittedAt
7813+ self.updatedAt = updatedAt
76397814 self.commitId = commitId
76407815 self.bodyHtml = bodyHtml
76417816 self.bodyText = bodyText
@@ -7652,6 +7827,7 @@ public enum Components {
76527827 case pullRequestUrl = "pull_request_url"
76537828 case _links
76547829 case submittedAt = "submitted_at"
7830+ case updatedAt = "updated_at"
76557831 case commitId = "commit_id"
76567832 case bodyHtml = "body_html"
76577833 case bodyText = "body_text"
0 commit comments