chore(protocol): regenerate schema
This commit is contained in:
@@ -425,6 +425,7 @@ public struct NodePairRequestParams: Codable {
|
||||
public let caps: [String]?
|
||||
public let commands: [String]?
|
||||
public let remoteip: String?
|
||||
public let silent: Bool?
|
||||
|
||||
public init(
|
||||
nodeid: String,
|
||||
@@ -435,7 +436,8 @@ public struct NodePairRequestParams: Codable {
|
||||
modelidentifier: String?,
|
||||
caps: [String]?,
|
||||
commands: [String]?,
|
||||
remoteip: String?
|
||||
remoteip: String?,
|
||||
silent: Bool?
|
||||
) {
|
||||
self.nodeid = nodeid
|
||||
self.displayname = displayname
|
||||
@@ -446,6 +448,7 @@ public struct NodePairRequestParams: Codable {
|
||||
self.caps = caps
|
||||
self.commands = commands
|
||||
self.remoteip = remoteip
|
||||
self.silent = silent
|
||||
}
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case nodeid = "nodeId"
|
||||
@@ -457,6 +460,7 @@ public struct NodePairRequestParams: Codable {
|
||||
case caps
|
||||
case commands
|
||||
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 let id: String
|
||||
public let name: String?
|
||||
|
||||
21
dist/protocol.schema.json
vendored
21
dist/protocol.schema.json
vendored
@@ -917,6 +917,9 @@
|
||||
"remoteIp": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"silent": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1073,6 +1076,24 @@
|
||||
"key"
|
||||
]
|
||||
},
|
||||
"ConfigGetParams": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
},
|
||||
"ConfigSetParams": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"raw": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"raw"
|
||||
]
|
||||
},
|
||||
"CronJob": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user