From 74d64670b9f8d1cd974a64fc8a1ed49ae4ddbbd4 Mon Sep 17 00:00:00 2001 From: BinHPdev Date: Sun, 15 Feb 2026 03:39:54 +0800 Subject: [PATCH] chore: regenerate Swift protocol files after rebase Co-Authored-By: Claude Opus 4.6 --- .../Sources/OpenClawProtocol/GatewayModels.swift | 16 ++++++++++++++++ .../Sources/OpenClawProtocol/GatewayModels.swift | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift index a134b4fd5b4..0cf9d0c475f 100644 --- a/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/macos/Sources/OpenClawProtocol/GatewayModels.swift @@ -436,7 +436,11 @@ public struct PollParams: Codable, Sendable { public let question: String public let options: [String] public let maxselections: Int? + public let durationseconds: Int? public let durationhours: Int? + public let silent: Bool? + public let isanonymous: Bool? + public let threadid: String? public let channel: String? public let accountid: String? public let idempotencykey: String @@ -446,7 +450,11 @@ public struct PollParams: Codable, Sendable { question: String, options: [String], maxselections: Int?, + durationseconds: Int?, durationhours: Int?, + silent: Bool?, + isanonymous: Bool?, + threadid: String?, channel: String?, accountid: String?, idempotencykey: String @@ -455,7 +463,11 @@ public struct PollParams: Codable, Sendable { self.question = question self.options = options self.maxselections = maxselections + self.durationseconds = durationseconds self.durationhours = durationhours + self.silent = silent + self.isanonymous = isanonymous + self.threadid = threadid self.channel = channel self.accountid = accountid self.idempotencykey = idempotencykey @@ -465,7 +477,11 @@ public struct PollParams: Codable, Sendable { case question case options case maxselections = "maxSelections" + case durationseconds = "durationSeconds" case durationhours = "durationHours" + case silent + case isanonymous = "isAnonymous" + case threadid = "threadId" case channel case accountid = "accountId" case idempotencykey = "idempotencyKey" diff --git a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift index a134b4fd5b4..0cf9d0c475f 100644 --- a/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift +++ b/apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift @@ -436,7 +436,11 @@ public struct PollParams: Codable, Sendable { public let question: String public let options: [String] public let maxselections: Int? + public let durationseconds: Int? public let durationhours: Int? + public let silent: Bool? + public let isanonymous: Bool? + public let threadid: String? public let channel: String? public let accountid: String? public let idempotencykey: String @@ -446,7 +450,11 @@ public struct PollParams: Codable, Sendable { question: String, options: [String], maxselections: Int?, + durationseconds: Int?, durationhours: Int?, + silent: Bool?, + isanonymous: Bool?, + threadid: String?, channel: String?, accountid: String?, idempotencykey: String @@ -455,7 +463,11 @@ public struct PollParams: Codable, Sendable { self.question = question self.options = options self.maxselections = maxselections + self.durationseconds = durationseconds self.durationhours = durationhours + self.silent = silent + self.isanonymous = isanonymous + self.threadid = threadid self.channel = channel self.accountid = accountid self.idempotencykey = idempotencykey @@ -465,7 +477,11 @@ public struct PollParams: Codable, Sendable { case question case options case maxselections = "maxSelections" + case durationseconds = "durationSeconds" case durationhours = "durationHours" + case silent + case isanonymous = "isAnonymous" + case threadid = "threadId" case channel case accountid = "accountId" case idempotencykey = "idempotencyKey"