chore(protocol): regenerate schema
parent
8c6a592523
commit
a019d3cd83
|
|
@ -425,6 +425,7 @@ public struct NodePairRequestParams: Codable {
|
||||||
public let caps: [String]?
|
public let caps: [String]?
|
||||||
public let commands: [String]?
|
public let commands: [String]?
|
||||||
public let remoteip: String?
|
public let remoteip: String?
|
||||||
|
public let silent: Bool?
|
||||||
|
|
||||||
public init(
|
public init(
|
||||||
nodeid: String,
|
nodeid: String,
|
||||||
|
|
@ -435,7 +436,8 @@ public struct NodePairRequestParams: Codable {
|
||||||
modelidentifier: String?,
|
modelidentifier: String?,
|
||||||
caps: [String]?,
|
caps: [String]?,
|
||||||
commands: [String]?,
|
commands: [String]?,
|
||||||
remoteip: String?
|
remoteip: String?,
|
||||||
|
silent: Bool?
|
||||||
) {
|
) {
|
||||||
self.nodeid = nodeid
|
self.nodeid = nodeid
|
||||||
self.displayname = displayname
|
self.displayname = displayname
|
||||||
|
|
@ -446,6 +448,7 @@ public struct NodePairRequestParams: Codable {
|
||||||
self.caps = caps
|
self.caps = caps
|
||||||
self.commands = commands
|
self.commands = commands
|
||||||
self.remoteip = remoteip
|
self.remoteip = remoteip
|
||||||
|
self.silent = silent
|
||||||
}
|
}
|
||||||
private enum CodingKeys: String, CodingKey {
|
private enum CodingKeys: String, CodingKey {
|
||||||
case nodeid = "nodeId"
|
case nodeid = "nodeId"
|
||||||
|
|
@ -457,6 +460,7 @@ public struct NodePairRequestParams: Codable {
|
||||||
case caps
|
case caps
|
||||||
case commands
|
case commands
|
||||||
case remoteip = "remoteIp"
|
case remoteip = "remoteIp"
|
||||||
|
case silent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -597,6 +601,22 @@ public struct SessionsPatchParams: Codable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public struct ConfigGetParams: Codable {
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct ConfigSetParams: Codable {
|
||||||
|
public let raw: String
|
||||||
|
|
||||||
|
public init(
|
||||||
|
raw: String
|
||||||
|
) {
|
||||||
|
self.raw = raw
|
||||||
|
}
|
||||||
|
private enum CodingKeys: String, CodingKey {
|
||||||
|
case raw
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public struct CronJob: Codable {
|
public struct CronJob: Codable {
|
||||||
public let id: String
|
public let id: String
|
||||||
public let name: String?
|
public let name: String?
|
||||||
|
|
|
||||||
|
|
@ -917,6 +917,9 @@
|
||||||
"remoteIp": {
|
"remoteIp": {
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"silent": {
|
||||||
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -1073,6 +1076,24 @@
|
||||||
"key"
|
"key"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ConfigGetParams": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"type": "object",
|
||||||
|
"properties": {}
|
||||||
|
},
|
||||||
|
"ConfigSetParams": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"raw": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"raw"
|
||||||
|
]
|
||||||
|
},
|
||||||
"CronJob": {
|
"CronJob": {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue