Skip to content

Commit

Permalink
ci: Generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Aug 10, 2023
1 parent 3cef361 commit b4b1387
Showing 1 changed file with 280 additions and 0 deletions.
280 changes: 280 additions & 0 deletions public/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3114,6 +3114,286 @@
"tags": [],
"operationId": "internalDeviceModelsListGet"
}
},
"/thermostats/climate_setting_schedules/list": {
"post": {
"summary": "/thermostats/climate_setting_schedules/list",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"access_codes": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"access_code_id": { "type": "string" },
"device_id": { "type": "string" },
"name": { "type": "string" },
"code": { "type": "string" },
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"error_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["error_code", "message"]
}
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"warning_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["warning_code", "message"]
}
},
"is_managed": { "type": "boolean" },
"is_backup": { "type": "boolean" },
"pulled_backup_access_code_id": {
"type": "string",
"nullable": true
},
"common_code_key": {
"type": "string",
"nullable": true
},
"type": { "type": "string", "enum": ["ongoing"] },
"created_at": { "type": "string" },
"status": {
"type": "string",
"enum": ["setting", "set", "removing", "unset"]
}
},
"required": [
"access_code_id",
"device_id",
"name",
"code",
"errors",
"warnings",
"is_managed",
"type",
"created_at",
"status"
]
},
{
"type": "object",
"properties": {
"access_code_id": { "type": "string" },
"device_id": { "type": "string" },
"name": { "type": "string" },
"code": { "type": "string" },
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"error_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["error_code", "message"]
}
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"warning_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["warning_code", "message"]
}
},
"is_managed": { "type": "boolean" },
"is_backup": { "type": "boolean" },
"pulled_backup_access_code_id": {
"type": "string",
"nullable": true
},
"common_code_key": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"enum": ["time_bound"]
},
"created_at": { "type": "string" },
"status": {
"type": "string",
"enum": ["setting", "set", "removing", "unset"]
},
"starts_at": { "type": "string" },
"ends_at": { "type": "string" }
},
"required": [
"access_code_id",
"device_id",
"name",
"code",
"errors",
"warnings",
"is_managed",
"type",
"created_at",
"status",
"starts_at",
"ends_at"
]
},
{
"type": "object",
"properties": {
"access_code_id": { "type": "string" },
"device_id": { "type": "string" },
"name": { "type": "string" },
"code": { "type": "string" },
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"error_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["error_code", "message"]
}
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"warning_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["warning_code", "message"]
}
},
"is_managed": { "type": "boolean" },
"is_backup": { "type": "boolean" },
"pulled_backup_access_code_id": {
"type": "string",
"nullable": true
},
"status": { "type": "string", "enum": ["set"] },
"created_at": { "type": "string" },
"type": { "type": "string", "enum": ["ongoing"] }
},
"required": [
"access_code_id",
"device_id",
"name",
"code",
"errors",
"warnings",
"is_managed",
"status",
"created_at",
"type"
]
},
{
"type": "object",
"properties": {
"access_code_id": { "type": "string" },
"device_id": { "type": "string" },
"name": { "type": "string" },
"code": { "type": "string" },
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"error_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["error_code", "message"]
}
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"warning_code": { "type": "string" },
"message": { "type": "string" }
},
"required": ["warning_code", "message"]
}
},
"is_managed": { "type": "boolean" },
"is_backup": { "type": "boolean" },
"pulled_backup_access_code_id": {
"type": "string",
"nullable": true
},
"status": { "type": "string", "enum": ["set"] },
"created_at": { "type": "string" },
"type": {
"type": "string",
"enum": ["time_bound"]
},
"starts_at": { "type": "string" },
"ends_at": { "type": "string" }
},
"required": [
"access_code_id",
"device_id",
"name",
"code",
"errors",
"warnings",
"is_managed",
"status",
"created_at",
"type",
"starts_at",
"ends_at"
]
}
]
}
},
"ok": { "type": "boolean" }
},
"required": ["access_codes", "ok"]
}
}
}
},
"400": { "description": "Bad Request" },
"401": { "description": "Unauthorized" }
},
"security": [{ "cst_ak_pk": [] }],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": { "device_id": { "type": "string" } },
"required": ["device_id"]
}
}
}
},
"tags": [],
"operationId": "thermostatsClimateSettingSchedulesListPost"
}
}
},
"components": {
Expand Down

0 comments on commit b4b1387

Please sign in to comment.