From 0d672e43b97de919608ad1ab1d915629a08fd958 Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Sun, 1 Mar 2026 20:22:55 +0530 Subject: [PATCH] chore(protocol): sync generated swift models --- .../macos/Sources/OpenClawProtocol/GatewayModels.swift | 10 +++++++++- .../Sources/OpenClawProtocol/GatewayModels.swift | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift index a7aaa7d3914..17f457d82e9 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -2383,6 +2383,7 @@ public struct CronJob: Codable, Sendable { public let wakemode: AnyCodable public let payload: AnyCodable public let delivery: AnyCodable? + public let failurealert: AnyCodable? public let state: [String: AnyCodable] public init( @@ -2400,6 +2401,7 @@ public struct CronJob: Codable, Sendable { wakemode: AnyCodable, payload: AnyCodable, delivery: AnyCodable?, + failurealert: AnyCodable?, state: [String: AnyCodable]) { self.id = id @@ -2416,6 +2418,7 @@ public struct CronJob: Codable, Sendable { self.wakemode = wakemode self.payload = payload self.delivery = delivery + self.failurealert = failurealert self.state = state } @@ -2434,6 +2437,7 @@ public struct CronJob: Codable, Sendable { case wakemode = "wakeMode" case payload case delivery + case failurealert = "failureAlert" case state } } @@ -2490,6 +2494,7 @@ public struct CronAddParams: Codable, Sendable { public let wakemode: AnyCodable public let payload: AnyCodable public let delivery: AnyCodable? + public let failurealert: AnyCodable? public init( name: String, @@ -2502,7 +2507,8 @@ public struct CronAddParams: Codable, Sendable { sessiontarget: AnyCodable, wakemode: AnyCodable, payload: AnyCodable, - delivery: AnyCodable?) + delivery: AnyCodable?, + failurealert: AnyCodable?) { self.name = name self.agentid = agentid @@ -2515,6 +2521,7 @@ public struct CronAddParams: Codable, Sendable { self.wakemode = wakemode self.payload = payload self.delivery = delivery + self.failurealert = failurealert } private enum CodingKeys: String, CodingKey { @@ -2529,6 +2536,7 @@ public struct CronAddParams: Codable, Sendable { case wakemode = "wakeMode" case payload case delivery + case failurealert = "failureAlert" } } diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index a7aaa7d3914..17f457d82e9 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -2383,6 +2383,7 @@ public struct CronJob: Codable, Sendable { public let wakemode: AnyCodable public let payload: AnyCodable public let delivery: AnyCodable? + public let failurealert: AnyCodable? public let state: [String: AnyCodable] public init( @@ -2400,6 +2401,7 @@ public struct CronJob: Codable, Sendable { wakemode: AnyCodable, payload: AnyCodable, delivery: AnyCodable?, + failurealert: AnyCodable?, state: [String: AnyCodable]) { self.id = id @@ -2416,6 +2418,7 @@ public struct CronJob: Codable, Sendable { self.wakemode = wakemode self.payload = payload self.delivery = delivery + self.failurealert = failurealert self.state = state } @@ -2434,6 +2437,7 @@ public struct CronJob: Codable, Sendable { case wakemode = "wakeMode" case payload case delivery + case failurealert = "failureAlert" case state } } @@ -2490,6 +2494,7 @@ public struct CronAddParams: Codable, Sendable { public let wakemode: AnyCodable public let payload: AnyCodable public let delivery: AnyCodable? + public let failurealert: AnyCodable? public init( name: String, @@ -2502,7 +2507,8 @@ public struct CronAddParams: Codable, Sendable { sessiontarget: AnyCodable, wakemode: AnyCodable, payload: AnyCodable, - delivery: AnyCodable?) + delivery: AnyCodable?, + failurealert: AnyCodable?) { self.name = name self.agentid = agentid @@ -2515,6 +2521,7 @@ public struct CronAddParams: Codable, Sendable { self.wakemode = wakemode self.payload = payload self.delivery = delivery + self.failurealert = failurealert } private enum CodingKeys: String, CodingKey { @@ -2529,6 +2536,7 @@ public struct CronAddParams: Codable, Sendable { case wakemode = "wakeMode" case payload case delivery + case failurealert = "failureAlert" } }