@@ -11629,6 +11629,8 @@ public struct AllowedApprovalSnapshot: Codable, Sendable {
1162911629 public let expiresatms : Int
1163011630 public let presentation : ApprovalPresentation
1163111631 public let resolvedatms : Int
11632+ public let source : [ String : AnyCodable ] ?
11633+ public let resolver : [ String : AnyCodable ] ?
1163211634 public let status : String
1163311635 public let decision : ApprovalAllowDecision
1163411636 public let reason : ApprovalAllowedReason
@@ -11640,6 +11642,8 @@ public struct AllowedApprovalSnapshot: Codable, Sendable {
1164011642 expiresatms : Int ,
1164111643 presentation : ApprovalPresentation ,
1164211644 resolvedatms : Int ,
11645+ source : [ String : AnyCodable ] ? = nil ,
11646+ resolver : [ String : AnyCodable ] ? = nil ,
1164311647 status : String ,
1164411648 decision : ApprovalAllowDecision ,
1164511649 reason : ApprovalAllowedReason )
@@ -11650,6 +11654,8 @@ public struct AllowedApprovalSnapshot: Codable, Sendable {
1165011654 self . expiresatms = expiresatms
1165111655 self . presentation = presentation
1165211656 self . resolvedatms = resolvedatms
11657+ self . source = source
11658+ self . resolver = resolver
1165311659 self . status = status
1165411660 self . decision = decision
1165511661 self . reason = reason
@@ -11662,6 +11668,8 @@ public struct AllowedApprovalSnapshot: Codable, Sendable {
1166211668 case expiresatms = " expiresAtMs "
1166311669 case presentation
1166411670 case resolvedatms = " resolvedAtMs "
11671+ case source
11672+ case resolver
1166511673 case status
1166611674 case decision
1166711675 case reason
@@ -11675,6 +11683,8 @@ public struct DeniedApprovalSnapshot: Codable, Sendable {
1167511683 public let expiresatms : Int
1167611684 public let presentation : ApprovalPresentation
1167711685 public let resolvedatms : Int
11686+ public let source : [ String : AnyCodable ] ?
11687+ public let resolver : [ String : AnyCodable ] ?
1167811688 public let status : String
1167911689 public let decision : String
1168011690 public let reason : ApprovalDeniedReason
@@ -11686,6 +11696,8 @@ public struct DeniedApprovalSnapshot: Codable, Sendable {
1168611696 expiresatms : Int ,
1168711697 presentation : ApprovalPresentation ,
1168811698 resolvedatms : Int ,
11699+ source : [ String : AnyCodable ] ? = nil ,
11700+ resolver : [ String : AnyCodable ] ? = nil ,
1168911701 status : String ,
1169011702 decision : String ,
1169111703 reason : ApprovalDeniedReason )
@@ -11696,6 +11708,8 @@ public struct DeniedApprovalSnapshot: Codable, Sendable {
1169611708 self . expiresatms = expiresatms
1169711709 self . presentation = presentation
1169811710 self . resolvedatms = resolvedatms
11711+ self . source = source
11712+ self . resolver = resolver
1169911713 self . status = status
1170011714 self . decision = decision
1170111715 self . reason = reason
@@ -11708,6 +11722,8 @@ public struct DeniedApprovalSnapshot: Codable, Sendable {
1170811722 case expiresatms = " expiresAtMs "
1170911723 case presentation
1171011724 case resolvedatms = " resolvedAtMs "
11725+ case source
11726+ case resolver
1171111727 case status
1171211728 case decision
1171311729 case reason
@@ -11721,6 +11737,8 @@ public struct ExpiredApprovalSnapshot: Codable, Sendable {
1172111737 public let expiresatms : Int
1172211738 public let presentation : ApprovalPresentation
1172311739 public let resolvedatms : Int
11740+ public let source : [ String : AnyCodable ] ?
11741+ public let resolver : [ String : AnyCodable ] ?
1172411742 public let status : String
1172511743 public let reason : ApprovalExpiredReason
1172611744
@@ -11731,6 +11749,8 @@ public struct ExpiredApprovalSnapshot: Codable, Sendable {
1173111749 expiresatms : Int ,
1173211750 presentation : ApprovalPresentation ,
1173311751 resolvedatms : Int ,
11752+ source : [ String : AnyCodable ] ? = nil ,
11753+ resolver : [ String : AnyCodable ] ? = nil ,
1173411754 status : String ,
1173511755 reason : ApprovalExpiredReason )
1173611756 {
@@ -11740,6 +11760,8 @@ public struct ExpiredApprovalSnapshot: Codable, Sendable {
1174011760 self . expiresatms = expiresatms
1174111761 self . presentation = presentation
1174211762 self . resolvedatms = resolvedatms
11763+ self . source = source
11764+ self . resolver = resolver
1174311765 self . status = status
1174411766 self . reason = reason
1174511767 }
@@ -11751,6 +11773,8 @@ public struct ExpiredApprovalSnapshot: Codable, Sendable {
1175111773 case expiresatms = " expiresAtMs "
1175211774 case presentation
1175311775 case resolvedatms = " resolvedAtMs "
11776+ case source
11777+ case resolver
1175411778 case status
1175511779 case reason
1175611780 }
@@ -11763,6 +11787,8 @@ public struct CancelledApprovalSnapshot: Codable, Sendable {
1176311787 public let expiresatms : Int
1176411788 public let presentation : ApprovalPresentation
1176511789 public let resolvedatms : Int
11790+ public let source : [ String : AnyCodable ] ?
11791+ public let resolver : [ String : AnyCodable ] ?
1176611792 public let status : String
1176711793 public let reason : ApprovalCancelledReason
1176811794
@@ -11773,6 +11799,8 @@ public struct CancelledApprovalSnapshot: Codable, Sendable {
1177311799 expiresatms : Int ,
1177411800 presentation : ApprovalPresentation ,
1177511801 resolvedatms : Int ,
11802+ source : [ String : AnyCodable ] ? = nil ,
11803+ resolver : [ String : AnyCodable ] ? = nil ,
1177611804 status : String ,
1177711805 reason : ApprovalCancelledReason )
1177811806 {
@@ -11782,6 +11810,8 @@ public struct CancelledApprovalSnapshot: Codable, Sendable {
1178211810 self . expiresatms = expiresatms
1178311811 self . presentation = presentation
1178411812 self . resolvedatms = resolvedatms
11813+ self . source = source
11814+ self . resolver = resolver
1178511815 self . status = status
1178611816 self . reason = reason
1178711817 }
@@ -11793,6 +11823,8 @@ public struct CancelledApprovalSnapshot: Codable, Sendable {
1179311823 case expiresatms = " expiresAtMs "
1179411824 case presentation
1179511825 case resolvedatms = " resolvedAtMs "
11826+ case source
11827+ case resolver
1179611828 case status
1179711829 case reason
1179811830 }
@@ -11826,6 +11858,46 @@ public struct ApprovalGetResult: Codable, Sendable {
1182611858 }
1182711859}
1182811860
11861+ public struct ApprovalHistoryParams : Codable , Sendable {
11862+ public let cursor : String ?
11863+ public let limit : Int ?
11864+ public let kind : ApprovalKind ?
11865+
11866+ public init (
11867+ cursor : String ? = nil ,
11868+ limit : Int ? = nil ,
11869+ kind : ApprovalKind ? = nil )
11870+ {
11871+ self . cursor = cursor
11872+ self . limit = limit
11873+ self . kind = kind
11874+ }
11875+
11876+ private enum CodingKeys : String , CodingKey {
11877+ case cursor
11878+ case limit
11879+ case kind
11880+ }
11881+ }
11882+
11883+ public struct ApprovalHistoryResult : Codable , Sendable {
11884+ public let items : [ TerminalApprovalSnapshot ]
11885+ public let nextcursor : String ?
11886+
11887+ public init (
11888+ items : [ TerminalApprovalSnapshot ] ,
11889+ nextcursor : String ? = nil )
11890+ {
11891+ self . items = items
11892+ self . nextcursor = nextcursor
11893+ }
11894+
11895+ private enum CodingKeys : String , CodingKey {
11896+ case items
11897+ case nextcursor = " nextCursor "
11898+ }
11899+ }
11900+
1182911901public struct ApprovalResolveParams : Codable , Sendable {
1183011902 public let id : String
1183111903 public let kind : ApprovalKind
0 commit comments