build(protocol): regenerate protocol artifacts
This commit is contained in:
parent
a38bd4d3a2
commit
91f67f5bd7
@ -342,6 +342,7 @@ public struct SendParams: Codable, Sendable {
|
|||||||
public let mediaurl: String?
|
public let mediaurl: String?
|
||||||
public let gifplayback: Bool?
|
public let gifplayback: Bool?
|
||||||
public let provider: String?
|
public let provider: String?
|
||||||
|
public let accountid: String?
|
||||||
public let idempotencykey: String
|
public let idempotencykey: String
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
@ -350,6 +351,7 @@ public struct SendParams: Codable, Sendable {
|
|||||||
mediaurl: String?,
|
mediaurl: String?,
|
||||||
gifplayback: Bool?,
|
gifplayback: Bool?,
|
||||||
provider: String?,
|
provider: String?,
|
||||||
|
accountid: String?,
|
||||||
idempotencykey: String
|
idempotencykey: String
|
||||||
) {
|
) {
|
||||||
self.to = to
|
self.to = to
|
||||||
@ -357,6 +359,7 @@ public struct SendParams: Codable, Sendable {
|
|||||||
self.mediaurl = mediaurl
|
self.mediaurl = mediaurl
|
||||||
self.gifplayback = gifplayback
|
self.gifplayback = gifplayback
|
||||||
self.provider = provider
|
self.provider = provider
|
||||||
|
self.accountid = accountid
|
||||||
self.idempotencykey = idempotencykey
|
self.idempotencykey = idempotencykey
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
@ -365,6 +368,7 @@ public struct SendParams: Codable, Sendable {
|
|||||||
case mediaurl = "mediaUrl"
|
case mediaurl = "mediaUrl"
|
||||||
case gifplayback = "gifPlayback"
|
case gifplayback = "gifPlayback"
|
||||||
case provider
|
case provider
|
||||||
|
case accountid = "accountId"
|
||||||
case idempotencykey = "idempotencyKey"
|
case idempotencykey = "idempotencyKey"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -376,6 +380,7 @@ public struct PollParams: Codable, Sendable {
|
|||||||
public let maxselections: Int?
|
public let maxselections: Int?
|
||||||
public let durationhours: Int?
|
public let durationhours: Int?
|
||||||
public let provider: String?
|
public let provider: String?
|
||||||
|
public let accountid: String?
|
||||||
public let idempotencykey: String
|
public let idempotencykey: String
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
@ -385,6 +390,7 @@ public struct PollParams: Codable, Sendable {
|
|||||||
maxselections: Int?,
|
maxselections: Int?,
|
||||||
durationhours: Int?,
|
durationhours: Int?,
|
||||||
provider: String?,
|
provider: String?,
|
||||||
|
accountid: String?,
|
||||||
idempotencykey: String
|
idempotencykey: String
|
||||||
) {
|
) {
|
||||||
self.to = to
|
self.to = to
|
||||||
@ -393,6 +399,7 @@ public struct PollParams: Codable, Sendable {
|
|||||||
self.maxselections = maxselections
|
self.maxselections = maxselections
|
||||||
self.durationhours = durationhours
|
self.durationhours = durationhours
|
||||||
self.provider = provider
|
self.provider = provider
|
||||||
|
self.accountid = accountid
|
||||||
self.idempotencykey = idempotencykey
|
self.idempotencykey = idempotencykey
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
@ -402,6 +409,7 @@ public struct PollParams: Codable, Sendable {
|
|||||||
case maxselections = "maxSelections"
|
case maxselections = "maxSelections"
|
||||||
case durationhours = "durationHours"
|
case durationhours = "durationHours"
|
||||||
case provider
|
case provider
|
||||||
|
case accountid = "accountId"
|
||||||
case idempotencykey = "idempotencyKey"
|
case idempotencykey = "idempotencyKey"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -413,7 +421,7 @@ public struct AgentParams: Codable, Sendable {
|
|||||||
public let sessionkey: String?
|
public let sessionkey: String?
|
||||||
public let thinking: String?
|
public let thinking: String?
|
||||||
public let deliver: Bool?
|
public let deliver: Bool?
|
||||||
public let channel: String?
|
public let provider: String?
|
||||||
public let timeout: Int?
|
public let timeout: Int?
|
||||||
public let lane: String?
|
public let lane: String?
|
||||||
public let extrasystemprompt: String?
|
public let extrasystemprompt: String?
|
||||||
@ -426,7 +434,7 @@ public struct AgentParams: Codable, Sendable {
|
|||||||
sessionkey: String?,
|
sessionkey: String?,
|
||||||
thinking: String?,
|
thinking: String?,
|
||||||
deliver: Bool?,
|
deliver: Bool?,
|
||||||
channel: String?,
|
provider: String?,
|
||||||
timeout: Int?,
|
timeout: Int?,
|
||||||
lane: String?,
|
lane: String?,
|
||||||
extrasystemprompt: String?,
|
extrasystemprompt: String?,
|
||||||
@ -438,7 +446,7 @@ public struct AgentParams: Codable, Sendable {
|
|||||||
self.sessionkey = sessionkey
|
self.sessionkey = sessionkey
|
||||||
self.thinking = thinking
|
self.thinking = thinking
|
||||||
self.deliver = deliver
|
self.deliver = deliver
|
||||||
self.channel = channel
|
self.provider = provider
|
||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
self.lane = lane
|
self.lane = lane
|
||||||
self.extrasystemprompt = extrasystemprompt
|
self.extrasystemprompt = extrasystemprompt
|
||||||
@ -451,7 +459,7 @@ public struct AgentParams: Codable, Sendable {
|
|||||||
case sessionkey = "sessionKey"
|
case sessionkey = "sessionKey"
|
||||||
case thinking
|
case thinking
|
||||||
case deliver
|
case deliver
|
||||||
case channel
|
case provider
|
||||||
case timeout
|
case timeout
|
||||||
case lane
|
case lane
|
||||||
case extrasystemprompt = "extraSystemPrompt"
|
case extrasystemprompt = "extraSystemPrompt"
|
||||||
@ -1025,33 +1033,41 @@ public struct WebLoginStartParams: Codable, Sendable {
|
|||||||
public let force: Bool?
|
public let force: Bool?
|
||||||
public let timeoutms: Int?
|
public let timeoutms: Int?
|
||||||
public let verbose: Bool?
|
public let verbose: Bool?
|
||||||
|
public let accountid: String?
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
force: Bool?,
|
force: Bool?,
|
||||||
timeoutms: Int?,
|
timeoutms: Int?,
|
||||||
verbose: Bool?
|
verbose: Bool?,
|
||||||
|
accountid: String?
|
||||||
) {
|
) {
|
||||||
self.force = force
|
self.force = force
|
||||||
self.timeoutms = timeoutms
|
self.timeoutms = timeoutms
|
||||||
self.verbose = verbose
|
self.verbose = verbose
|
||||||
|
self.accountid = accountid
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
case force
|
case force
|
||||||
case timeoutms = "timeoutMs"
|
case timeoutms = "timeoutMs"
|
||||||
case verbose
|
case verbose
|
||||||
|
case accountid = "accountId"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct WebLoginWaitParams: Codable, Sendable {
|
public struct WebLoginWaitParams: Codable, Sendable {
|
||||||
public let timeoutms: Int?
|
public let timeoutms: Int?
|
||||||
|
public let accountid: String?
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
timeoutms: Int?
|
timeoutms: Int?,
|
||||||
|
accountid: String?
|
||||||
) {
|
) {
|
||||||
self.timeoutms = timeoutms
|
self.timeoutms = timeoutms
|
||||||
|
self.accountid = accountid
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
case timeoutms = "timeoutMs"
|
case timeoutms = "timeoutMs"
|
||||||
|
case accountid = "accountId"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user