@@ -6249,6 +6249,9 @@ public struct SkillsUploadCommitParams: Codable, Sendable {
62496249
62506250public struct CronJob : Codable , Sendable {
62516251 public let id : String
6252+ public let declarationkey : String ?
6253+ public let displayname : String ?
6254+ public let owner : [ String : AnyCodable ] ?
62526255 public let agentid : String ?
62536256 public let sessionkey : String ?
62546257 public let name : String
@@ -6264,9 +6267,22 @@ public struct CronJob: Codable, Sendable {
62646267 public let delivery : AnyCodable ?
62656268 public let failurealert : AnyCodable ?
62666269 public let state : [ String : AnyCodable ]
6270+ public let nextrunatms : Int ?
6271+ public let lastrunatms : Int ?
6272+ public let lastrunstatus : AnyCodable ?
6273+ public let lastrunerror : String ?
6274+ public let lastdelivered : Bool ?
6275+ public let lastdeliverystatus : AnyCodable ?
6276+ public let lastdeliveryerror : String ?
6277+ public let lastfailurenotificationdelivered : Bool ?
6278+ public let lastfailurenotificationdeliverystatus : AnyCodable ?
6279+ public let lastfailurenotificationdeliveryerror : String ?
62676280
62686281 public init (
62696282 id : String ,
6283+ declarationkey : String ? = nil ,
6284+ displayname : String ? = nil ,
6285+ owner : [ String : AnyCodable ] ? = nil ,
62706286 agentid : String ? = nil ,
62716287 sessionkey : String ? ,
62726288 name : String ,
@@ -6281,9 +6297,22 @@ public struct CronJob: Codable, Sendable {
62816297 payload : AnyCodable ,
62826298 delivery : AnyCodable ? ,
62836299 failurealert : AnyCodable ? ,
6284- state : [ String : AnyCodable ] )
6300+ state : [ String : AnyCodable ] ,
6301+ nextrunatms : Int ? = nil ,
6302+ lastrunatms : Int ? = nil ,
6303+ lastrunstatus : AnyCodable ? = nil ,
6304+ lastrunerror : String ? = nil ,
6305+ lastdelivered : Bool ? = nil ,
6306+ lastdeliverystatus : AnyCodable ? = nil ,
6307+ lastdeliveryerror : String ? = nil ,
6308+ lastfailurenotificationdelivered : Bool ? = nil ,
6309+ lastfailurenotificationdeliverystatus : AnyCodable ? = nil ,
6310+ lastfailurenotificationdeliveryerror : String ? = nil )
62856311 {
62866312 self . id = id
6313+ self . declarationkey = declarationkey
6314+ self . displayname = displayname
6315+ self . owner = owner
62876316 self . agentid = agentid
62886317 self . sessionkey = sessionkey
62896318 self . name = name
@@ -6299,10 +6328,23 @@ public struct CronJob: Codable, Sendable {
62996328 self . delivery = delivery
63006329 self . failurealert = failurealert
63016330 self . state = state
6331+ self . nextrunatms = nextrunatms
6332+ self . lastrunatms = lastrunatms
6333+ self . lastrunstatus = lastrunstatus
6334+ self . lastrunerror = lastrunerror
6335+ self . lastdelivered = lastdelivered
6336+ self . lastdeliverystatus = lastdeliverystatus
6337+ self . lastdeliveryerror = lastdeliveryerror
6338+ self . lastfailurenotificationdelivered = lastfailurenotificationdelivered
6339+ self . lastfailurenotificationdeliverystatus = lastfailurenotificationdeliverystatus
6340+ self . lastfailurenotificationdeliveryerror = lastfailurenotificationdeliveryerror
63026341 }
63036342
63046343 private enum CodingKeys : String , CodingKey {
63056344 case id
6345+ case declarationkey = " declarationKey "
6346+ case displayname = " displayName "
6347+ case owner
63066348 case agentid = " agentId "
63076349 case sessionkey = " sessionKey "
63086350 case name
@@ -6318,6 +6360,16 @@ public struct CronJob: Codable, Sendable {
63186360 case delivery
63196361 case failurealert = " failureAlert "
63206362 case state
6363+ case nextrunatms = " nextRunAtMs "
6364+ case lastrunatms = " lastRunAtMs "
6365+ case lastrunstatus = " lastRunStatus "
6366+ case lastrunerror = " lastRunError "
6367+ case lastdelivered = " lastDelivered "
6368+ case lastdeliverystatus = " lastDeliveryStatus "
6369+ case lastdeliveryerror = " lastDeliveryError "
6370+ case lastfailurenotificationdelivered = " lastFailureNotificationDelivered "
6371+ case lastfailurenotificationdeliverystatus = " lastFailureNotificationDeliveryStatus "
6372+ case lastfailurenotificationdeliveryerror = " lastFailureNotificationDeliveryError "
63216373 }
63226374}
63236375
@@ -6379,6 +6431,9 @@ public struct CronStatusParams: Codable, Sendable {}
63796431
63806432public struct CronAddParams : Codable , Sendable {
63816433 public let name : String
6434+ public let declarationkey : String ?
6435+ public let displayname : String ?
6436+ public let owner : [ String : AnyCodable ] ?
63826437 public let agentid : AnyCodable ?
63836438 public let sessionkey : AnyCodable ?
63846439 public let description : String ?
@@ -6393,6 +6448,9 @@ public struct CronAddParams: Codable, Sendable {
63936448
63946449 public init (
63956450 name : String ,
6451+ declarationkey : String ? = nil ,
6452+ displayname : String ? = nil ,
6453+ owner : [ String : AnyCodable ] ? = nil ,
63966454 agentid : AnyCodable ? = nil ,
63976455 sessionkey : AnyCodable ? ,
63986456 description : String ? ,
@@ -6406,6 +6464,9 @@ public struct CronAddParams: Codable, Sendable {
64066464 failurealert : AnyCodable ? )
64076465 {
64086466 self . name = name
6467+ self . declarationkey = declarationkey
6468+ self . displayname = displayname
6469+ self . owner = owner
64096470 self . agentid = agentid
64106471 self . sessionkey = sessionkey
64116472 self . description = description
@@ -6421,6 +6482,9 @@ public struct CronAddParams: Codable, Sendable {
64216482
64226483 private enum CodingKeys : String , CodingKey {
64236484 case name
6485+ case declarationkey = " declarationKey "
6486+ case displayname = " displayName "
6487+ case owner
64246488 case agentid = " agentId "
64256489 case sessionkey = " sessionKey "
64266490 case description
@@ -6435,6 +6499,28 @@ public struct CronAddParams: Codable, Sendable {
64356499 }
64366500}
64376501
6502+ public struct CronDeclarativeAddResult : Codable , Sendable {
6503+ public let created : Bool
6504+ public let updated : Bool ?
6505+ public let job : CronJob
6506+
6507+ public init (
6508+ created : Bool ,
6509+ updated : Bool ? ,
6510+ job : CronJob )
6511+ {
6512+ self . created = created
6513+ self . updated = updated
6514+ self . job = job
6515+ }
6516+
6517+ private enum CodingKeys : String , CodingKey {
6518+ case created
6519+ case updated
6520+ case job
6521+ }
6522+ }
6523+
64386524public struct CronRunsParams : Codable , Sendable {
64396525 public let scope : AnyCodable ?
64406526 public let id : String ?
0 commit comments