chore(protocol): regenerate schema

This commit is contained in:
Peter Steinberger
2025-12-19 17:52:50 +01:00
parent 8c6a592523
commit a019d3cd83
2 changed files with 42 additions and 1 deletions

View File

@@ -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?

View File

@@ -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",