Skip to content

Commit 95a9b7f

Browse files
committed
Update generated Swift protocol models
1 parent 4c75af5 commit 95a9b7f

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

apps/macos/Sources/OpenClawProtocol/GatewayModels.swift

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,6 +2343,7 @@ public struct WizardStep: Codable, Sendable {
23432343
public let type: AnyCodable
23442344
public let title: String?
23452345
public let message: String?
2346+
public let format: AnyCodable?
23462347
public let options: [[String: AnyCodable]]?
23472348
public let initialvalue: AnyCodable?
23482349
public let placeholder: String?
@@ -2354,6 +2355,7 @@ public struct WizardStep: Codable, Sendable {
23542355
type: AnyCodable,
23552356
title: String?,
23562357
message: String?,
2358+
format: AnyCodable?,
23572359
options: [[String: AnyCodable]]?,
23582360
initialvalue: AnyCodable?,
23592361
placeholder: String?,
@@ -2364,6 +2366,7 @@ public struct WizardStep: Codable, Sendable {
23642366
self.type = type
23652367
self.title = title
23662368
self.message = message
2369+
self.format = format
23672370
self.options = options
23682371
self.initialvalue = initialvalue
23692372
self.placeholder = placeholder
@@ -2376,6 +2379,7 @@ public struct WizardStep: Codable, Sendable {
23762379
case type
23772380
case title
23782381
case message
2382+
case format
23792383
case options
23802384
case initialvalue = "initialValue"
23812385
case placeholder
@@ -2802,6 +2806,24 @@ public struct ChannelsStartParams: Codable, Sendable {
28022806
}
28032807
}
28042808

2809+
public struct ChannelsStopParams: Codable, Sendable {
2810+
public let channel: String
2811+
public let accountid: String?
2812+
2813+
public init(
2814+
channel: String,
2815+
accountid: String?)
2816+
{
2817+
self.channel = channel
2818+
self.accountid = accountid
2819+
}
2820+
2821+
private enum CodingKeys: String, CodingKey {
2822+
case channel
2823+
case accountid = "accountId"
2824+
}
2825+
}
2826+
28052827
public struct ChannelsLogoutParams: Codable, Sendable {
28062828
public let channel: String
28072829
public let accountid: String?

apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,6 +2343,7 @@ public struct WizardStep: Codable, Sendable {
23432343
public let type: AnyCodable
23442344
public let title: String?
23452345
public let message: String?
2346+
public let format: AnyCodable?
23462347
public let options: [[String: AnyCodable]]?
23472348
public let initialvalue: AnyCodable?
23482349
public let placeholder: String?
@@ -2354,6 +2355,7 @@ public struct WizardStep: Codable, Sendable {
23542355
type: AnyCodable,
23552356
title: String?,
23562357
message: String?,
2358+
format: AnyCodable?,
23572359
options: [[String: AnyCodable]]?,
23582360
initialvalue: AnyCodable?,
23592361
placeholder: String?,
@@ -2364,6 +2366,7 @@ public struct WizardStep: Codable, Sendable {
23642366
self.type = type
23652367
self.title = title
23662368
self.message = message
2369+
self.format = format
23672370
self.options = options
23682371
self.initialvalue = initialvalue
23692372
self.placeholder = placeholder
@@ -2376,6 +2379,7 @@ public struct WizardStep: Codable, Sendable {
23762379
case type
23772380
case title
23782381
case message
2382+
case format
23792383
case options
23802384
case initialvalue = "initialValue"
23812385
case placeholder
@@ -2802,6 +2806,24 @@ public struct ChannelsStartParams: Codable, Sendable {
28022806
}
28032807
}
28042808

2809+
public struct ChannelsStopParams: Codable, Sendable {
2810+
public let channel: String
2811+
public let accountid: String?
2812+
2813+
public init(
2814+
channel: String,
2815+
accountid: String?)
2816+
{
2817+
self.channel = channel
2818+
self.accountid = accountid
2819+
}
2820+
2821+
private enum CodingKeys: String, CodingKey {
2822+
case channel
2823+
case accountid = "accountId"
2824+
}
2825+
}
2826+
28052827
public struct ChannelsLogoutParams: Codable, Sendable {
28062828
public let channel: String
28072829
public let accountid: String?

0 commit comments

Comments
 (0)