mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-22 09:01:46 +03:00
Protocol: regenerate Swift gateway models
This commit is contained in:
@@ -1099,14 +1099,18 @@ public struct SessionsPatchParams: Codable, Sendable {
|
|||||||
|
|
||||||
public struct SessionsResetParams: Codable, Sendable {
|
public struct SessionsResetParams: Codable, Sendable {
|
||||||
public let key: String
|
public let key: String
|
||||||
|
public let reason: AnyCodable?
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
key: String
|
key: String,
|
||||||
|
reason: AnyCodable?
|
||||||
) {
|
) {
|
||||||
self.key = key
|
self.key = key
|
||||||
|
self.reason = reason
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
case key
|
case key
|
||||||
|
case reason
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1099,14 +1099,18 @@ public struct SessionsPatchParams: Codable, Sendable {
|
|||||||
|
|
||||||
public struct SessionsResetParams: Codable, Sendable {
|
public struct SessionsResetParams: Codable, Sendable {
|
||||||
public let key: String
|
public let key: String
|
||||||
|
public let reason: AnyCodable?
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
key: String
|
key: String,
|
||||||
|
reason: AnyCodable?
|
||||||
) {
|
) {
|
||||||
self.key = key
|
self.key = key
|
||||||
|
self.reason = reason
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
case key
|
case key
|
||||||
|
case reason
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user