@seamapi/types 1.241.0 → 1.242.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +281 -137
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +370 -182
- package/dist/devicedb.cjs +9 -6
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +123 -70
- package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
- package/lib/seam/connect/models/acs/acs-system.js +23 -20
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +169 -140
- package/lib/seam/connect/models/acs/acs-user.js +32 -30
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
- package/lib/seam/connect/models/devices/device.d.ts +6 -6
- package/lib/seam/connect/models/devices/phone.d.ts +5 -5
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
- package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/index.js +1 -1
- package/lib/seam/connect/models/thermostats/index.js.map +1 -1
- package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +45 -18
- package/lib/seam/connect/openapi.js +219 -90
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +176 -78
- package/lib/seam/devicedb/models/device-model.d.ts +59 -24
- package/lib/seam/devicedb/models/device-model.js +9 -6
- package/lib/seam/devicedb/models/device-model.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +56 -38
- package/lib/seam/devicedb/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
- package/src/lib/seam/connect/models/acs/acs-user.ts +41 -35
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +249 -90
- package/src/lib/seam/connect/route-types.ts +187 -78
- package/src/lib/seam/devicedb/models/device-model.ts +24 -19
- package/src/lib/seam/devicedb/route-types.ts +8 -8
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
- /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
- /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
package/dist/connect.cjs
CHANGED
|
@@ -143,7 +143,7 @@ var climate_preset = zod.z.object({
|
|
|
143
143
|
climate_preset_key: zod.z.string(),
|
|
144
144
|
can_edit: zod.z.boolean(),
|
|
145
145
|
can_delete: zod.z.boolean(),
|
|
146
|
-
name: zod.z.string().nullable(),
|
|
146
|
+
name: zod.z.string().nullable().default(null),
|
|
147
147
|
display_name: zod.z.string(),
|
|
148
148
|
fan_mode_setting: fan_mode_setting.optional(),
|
|
149
149
|
hvac_mode_setting: hvac_mode_setting.optional(),
|
|
@@ -339,11 +339,7 @@ var smartlock = zod.z.object({
|
|
|
339
339
|
can_remotely_lock: true,
|
|
340
340
|
can_remotely_unlock: true,
|
|
341
341
|
can_program_offline_access_codes: true,
|
|
342
|
-
can_program_online_access_codes: true
|
|
343
|
-
can_hvac_heat: true,
|
|
344
|
-
can_hvac_cool: true,
|
|
345
|
-
can_hvac_heat_cool: true,
|
|
346
|
-
can_turn_off_hvac: true
|
|
342
|
+
can_program_online_access_codes: true
|
|
347
343
|
})
|
|
348
344
|
);
|
|
349
345
|
var sensor = zod.z.object({
|
|
@@ -369,7 +365,14 @@ var thermostat = zod.z.object({
|
|
|
369
365
|
software_features: zod.z.object({
|
|
370
366
|
can_program_climate_schedules: zod.z.boolean()
|
|
371
367
|
})
|
|
372
|
-
})
|
|
368
|
+
}).merge(
|
|
369
|
+
device_model_capability_flags.pick({
|
|
370
|
+
can_hvac_heat: true,
|
|
371
|
+
can_hvac_cool: true,
|
|
372
|
+
can_hvac_heat_cool: true,
|
|
373
|
+
can_turn_off_hvac: true
|
|
374
|
+
})
|
|
375
|
+
);
|
|
373
376
|
var relay = zod.z.object({
|
|
374
377
|
main_category: zod.z.literal(device_category.enum.relay)
|
|
375
378
|
});
|
|
@@ -1220,27 +1223,34 @@ var visionline_instance_unreachable = common_acs_system_error.extend({
|
|
|
1220
1223
|
}).describe(`Indicates that the Seam Bridge is functioning correctly and the Seam API can communicate with the Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
|
|
1221
1224
|
For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
|
|
1222
1225
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
|
|
1223
|
-
var
|
|
1224
|
-
error_code: zod.z.literal("
|
|
1226
|
+
var salto_ks_subscription_limit_exceeded = common_acs_system_error.extend({
|
|
1227
|
+
error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(
|
|
1225
1228
|
"Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
|
|
1226
1229
|
)
|
|
1227
1230
|
});
|
|
1228
|
-
var
|
|
1229
|
-
error_code: zod.z.literal("
|
|
1230
|
-
"Indicates that the
|
|
1231
|
+
var acs_system_disconnected = common_acs_system_error.extend({
|
|
1232
|
+
error_code: zod.z.literal("acs_system_disconnected").describe(
|
|
1233
|
+
"Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue."
|
|
1234
|
+
)
|
|
1235
|
+
});
|
|
1236
|
+
var account_disconnected = common_acs_system_error.extend({
|
|
1237
|
+
error_code: zod.z.literal("account_disconnected").describe(
|
|
1238
|
+
"Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access."
|
|
1231
1239
|
)
|
|
1232
1240
|
});
|
|
1233
1241
|
var acs_system_error = zod.z.union([
|
|
1234
1242
|
seam_bridge_disconnected,
|
|
1235
1243
|
visionline_instance_unreachable,
|
|
1236
|
-
|
|
1237
|
-
|
|
1244
|
+
salto_ks_subscription_limit_exceeded,
|
|
1245
|
+
acs_system_disconnected,
|
|
1246
|
+
account_disconnected
|
|
1238
1247
|
]).describe("Error associated with the `acs_system`.");
|
|
1239
1248
|
zod.z.object({
|
|
1240
1249
|
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
1241
1250
|
visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
|
|
1242
|
-
|
|
1243
|
-
|
|
1251
|
+
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.optional().nullable(),
|
|
1252
|
+
acs_system_disconnected: acs_system_disconnected.optional().nullable(),
|
|
1253
|
+
account_disconnected: account_disconnected.optional().nullable()
|
|
1244
1254
|
});
|
|
1245
1255
|
var common_acs_system_warning = zod.z.object({
|
|
1246
1256
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
@@ -1248,17 +1258,17 @@ var common_acs_system_warning = zod.z.object({
|
|
|
1248
1258
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
1249
1259
|
)
|
|
1250
1260
|
});
|
|
1251
|
-
var
|
|
1252
|
-
warning_code: zod.z.literal("
|
|
1253
|
-
"
|
|
1261
|
+
var salto_ks_subscription_limit_almost_reached = common_acs_system_warning.extend({
|
|
1262
|
+
warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(
|
|
1263
|
+
"Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this."
|
|
1254
1264
|
)
|
|
1255
1265
|
});
|
|
1256
1266
|
var acs_system_warning = (
|
|
1257
1267
|
// z.union([
|
|
1258
|
-
|
|
1268
|
+
salto_ks_subscription_limit_almost_reached.describe("Warning associated with the `acs_system`.")
|
|
1259
1269
|
);
|
|
1260
1270
|
zod.z.object({
|
|
1261
|
-
|
|
1271
|
+
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable()
|
|
1262
1272
|
});
|
|
1263
1273
|
var acs_system = zod.z.object({
|
|
1264
1274
|
acs_system_id: zod.z.string().uuid().describe("ID of the `acs_system`."),
|
|
@@ -1326,62 +1336,67 @@ var common_acs_user_error = zod.z.object({
|
|
|
1326
1336
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
1327
1337
|
)
|
|
1328
1338
|
});
|
|
1329
|
-
var
|
|
1330
|
-
error_code: zod.z.literal("
|
|
1339
|
+
var acs_users_deleted_externally = common_acs_user_error.extend({
|
|
1340
|
+
error_code: zod.z.literal("deleted_externally")
|
|
1331
1341
|
}).describe(
|
|
1332
|
-
`Indicates that the user was deleted from the ACS system outside of Seam.`
|
|
1342
|
+
`Indicates that the ACS user was deleted from the ACS system outside of Seam.`
|
|
1333
1343
|
);
|
|
1334
1344
|
var acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error.extend({
|
|
1335
1345
|
error_code: zod.z.literal("salto_ks_subscription_limit_exceeded")
|
|
1336
1346
|
}).describe(
|
|
1337
1347
|
`Indicates that the user could not be subscribed on Salto KS because the subscription limit has been exceeded.`
|
|
1338
1348
|
);
|
|
1339
|
-
var
|
|
1340
|
-
|
|
1341
|
-
})
|
|
1349
|
+
var acs_users_failed_to_create_on_acs_system = common_acs_user_error.extend({
|
|
1350
|
+
warning_code: zod.z.literal("failed_to_create_on_acs_system")
|
|
1351
|
+
}).describe(
|
|
1352
|
+
`Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`
|
|
1353
|
+
);
|
|
1354
|
+
var acs_users_failed_to_update_on_acs_system = common_acs_user_error.extend({
|
|
1355
|
+
warning_code: zod.z.literal("failed_to_update_on_acs_system")
|
|
1356
|
+
}).describe(
|
|
1357
|
+
`Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`
|
|
1358
|
+
);
|
|
1359
|
+
var acs_users_failed_to_delete_on_acs_system = common_acs_user_error.extend({
|
|
1360
|
+
warning_code: zod.z.literal("failed_to_delete_on_acs_system")
|
|
1361
|
+
}).describe(
|
|
1362
|
+
`Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`
|
|
1363
|
+
);
|
|
1342
1364
|
var acs_user_errors = zod.z.union([
|
|
1343
|
-
|
|
1365
|
+
acs_users_deleted_externally,
|
|
1344
1366
|
acs_users_salto_ks_subscription_limit_exceeded,
|
|
1345
|
-
|
|
1367
|
+
acs_users_failed_to_create_on_acs_system,
|
|
1368
|
+
acs_users_failed_to_update_on_acs_system,
|
|
1369
|
+
acs_users_failed_to_delete_on_acs_system
|
|
1346
1370
|
]).describe("Error associated with the `acs_user`.");
|
|
1347
1371
|
zod.z.object({
|
|
1348
|
-
|
|
1372
|
+
deleted_externally: acs_users_deleted_externally.optional().nullable(),
|
|
1349
1373
|
salto_ks_subscription_limit_exceeded: acs_users_salto_ks_subscription_limit_exceeded.optional().nullable(),
|
|
1350
|
-
|
|
1374
|
+
failed_to_create_on_acs_system: acs_users_failed_to_create_on_acs_system.optional().nullable(),
|
|
1375
|
+
failed_to_update_on_acs_system: acs_users_failed_to_update_on_acs_system.optional().nullable(),
|
|
1376
|
+
failed_to_delete_on_acs_system: acs_users_failed_to_delete_on_acs_system.optional().nullable()
|
|
1351
1377
|
});
|
|
1352
|
-
var
|
|
1378
|
+
var common_acs_user_warning = zod.z.object({
|
|
1353
1379
|
created_at: zod.z.string().datetime(),
|
|
1354
1380
|
message: zod.z.string()
|
|
1355
1381
|
});
|
|
1356
|
-
var acs_users_being_deleted =
|
|
1382
|
+
var acs_users_being_deleted = common_acs_user_warning.extend({
|
|
1357
1383
|
warning_code: zod.z.literal("being_deleted")
|
|
1358
1384
|
}).describe(
|
|
1359
1385
|
`Indicates that the user is being deleted from the ACS system. This is a temporary state, and the user will be deleted shortly.`
|
|
1360
1386
|
);
|
|
1361
|
-
var acs_users_salto_ks_user_not_subscribed =
|
|
1387
|
+
var acs_users_salto_ks_user_not_subscribed = common_acs_user_warning.extend({
|
|
1362
1388
|
warning_code: zod.z.literal("salto_ks_user_not_subscribed")
|
|
1363
1389
|
}).describe(
|
|
1364
1390
|
`Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn\u2019t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.`
|
|
1365
1391
|
);
|
|
1366
|
-
var acs_users_failed_to_update_on_acs_system = common_acs_users_warning.extend({
|
|
1367
|
-
warning_code: zod.z.literal("failed_to_update_on_acs_system")
|
|
1368
|
-
}).describe(
|
|
1369
|
-
`Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`
|
|
1370
|
-
);
|
|
1371
|
-
var acs_users_salto_site_user_suspended = common_acs_users_warning.extend({
|
|
1372
|
-
warning_code: zod.z.literal("salto_site_user_suspended")
|
|
1373
|
-
});
|
|
1374
1392
|
zod.z.object({
|
|
1375
1393
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
1376
|
-
|
|
1377
|
-
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable(),
|
|
1378
|
-
salto_site_user_suspended: acs_users_salto_site_user_suspended.optional().nullable()
|
|
1394
|
+
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable()
|
|
1379
1395
|
});
|
|
1380
1396
|
var acs_users_warnings = zod.z.union([
|
|
1381
1397
|
acs_users_being_deleted,
|
|
1382
1398
|
acs_users_failed_to_update_on_acs_system,
|
|
1383
|
-
acs_users_salto_ks_user_not_subscribed
|
|
1384
|
-
acs_users_salto_site_user_suspended
|
|
1399
|
+
acs_users_salto_ks_user_not_subscribed
|
|
1385
1400
|
]).describe("Warning associated with the `acs_user`.");
|
|
1386
1401
|
var user_fields = zod.z.object({
|
|
1387
1402
|
full_name: zod.z.string().optional(),
|
|
@@ -2852,7 +2867,7 @@ var openapi_default = {
|
|
|
2852
2867
|
},
|
|
2853
2868
|
error_code: {
|
|
2854
2869
|
description: "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.",
|
|
2855
|
-
enum: ["
|
|
2870
|
+
enum: ["salto_ks_subscription_limit_exceeded"],
|
|
2856
2871
|
type: "string"
|
|
2857
2872
|
},
|
|
2858
2873
|
message: {
|
|
@@ -2871,8 +2886,28 @@ var openapi_default = {
|
|
|
2871
2886
|
type: "string"
|
|
2872
2887
|
},
|
|
2873
2888
|
error_code: {
|
|
2874
|
-
description: "Indicates that the
|
|
2875
|
-
enum: ["
|
|
2889
|
+
description: "Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.",
|
|
2890
|
+
enum: ["acs_system_disconnected"],
|
|
2891
|
+
type: "string"
|
|
2892
|
+
},
|
|
2893
|
+
message: {
|
|
2894
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
2895
|
+
type: "string"
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
required: ["created_at", "message", "error_code"],
|
|
2899
|
+
type: "object"
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
properties: {
|
|
2903
|
+
created_at: {
|
|
2904
|
+
description: "Date and time at which Seam created the error.",
|
|
2905
|
+
format: "date-time",
|
|
2906
|
+
type: "string"
|
|
2907
|
+
},
|
|
2908
|
+
error_code: {
|
|
2909
|
+
description: "Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access.",
|
|
2910
|
+
enum: ["account_disconnected"],
|
|
2876
2911
|
type: "string"
|
|
2877
2912
|
},
|
|
2878
2913
|
message: {
|
|
@@ -2958,8 +2993,8 @@ var openapi_default = {
|
|
|
2958
2993
|
type: "string"
|
|
2959
2994
|
},
|
|
2960
2995
|
warning_code: {
|
|
2961
|
-
description: "
|
|
2962
|
-
enum: ["
|
|
2996
|
+
description: "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this.",
|
|
2997
|
+
enum: ["salto_ks_subscription_limit_almost_reached"],
|
|
2963
2998
|
type: "string"
|
|
2964
2999
|
}
|
|
2965
3000
|
},
|
|
@@ -3013,7 +3048,7 @@ var openapi_default = {
|
|
|
3013
3048
|
description: "Error associated with the `acs_user`.",
|
|
3014
3049
|
oneOf: [
|
|
3015
3050
|
{
|
|
3016
|
-
description: "Indicates that the user was deleted from the ACS system outside of Seam.",
|
|
3051
|
+
description: "Indicates that the ACS user was deleted from the ACS system outside of Seam.",
|
|
3017
3052
|
properties: {
|
|
3018
3053
|
created_at: {
|
|
3019
3054
|
description: "Date and time at which Seam created the error.",
|
|
@@ -3021,7 +3056,7 @@ var openapi_default = {
|
|
|
3021
3056
|
type: "string"
|
|
3022
3057
|
},
|
|
3023
3058
|
error_code: {
|
|
3024
|
-
enum: ["
|
|
3059
|
+
enum: ["deleted_externally"],
|
|
3025
3060
|
type: "string"
|
|
3026
3061
|
},
|
|
3027
3062
|
message: {
|
|
@@ -3053,22 +3088,63 @@ var openapi_default = {
|
|
|
3053
3088
|
type: "object"
|
|
3054
3089
|
},
|
|
3055
3090
|
{
|
|
3091
|
+
description: "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
3056
3092
|
properties: {
|
|
3057
3093
|
created_at: {
|
|
3058
3094
|
description: "Date and time at which Seam created the error.",
|
|
3059
3095
|
format: "date-time",
|
|
3060
3096
|
type: "string"
|
|
3061
3097
|
},
|
|
3062
|
-
|
|
3063
|
-
|
|
3098
|
+
message: {
|
|
3099
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3100
|
+
type: "string"
|
|
3101
|
+
},
|
|
3102
|
+
warning_code: {
|
|
3103
|
+
enum: ["failed_to_create_on_acs_system"],
|
|
3104
|
+
type: "string"
|
|
3105
|
+
}
|
|
3106
|
+
},
|
|
3107
|
+
required: ["created_at", "message", "warning_code"],
|
|
3108
|
+
type: "object"
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
3112
|
+
properties: {
|
|
3113
|
+
created_at: {
|
|
3114
|
+
description: "Date and time at which Seam created the error.",
|
|
3115
|
+
format: "date-time",
|
|
3064
3116
|
type: "string"
|
|
3065
3117
|
},
|
|
3066
3118
|
message: {
|
|
3067
3119
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3068
3120
|
type: "string"
|
|
3121
|
+
},
|
|
3122
|
+
warning_code: {
|
|
3123
|
+
enum: ["failed_to_update_on_acs_system"],
|
|
3124
|
+
type: "string"
|
|
3069
3125
|
}
|
|
3070
3126
|
},
|
|
3071
|
-
required: ["created_at", "message", "
|
|
3127
|
+
required: ["created_at", "message", "warning_code"],
|
|
3128
|
+
type: "object"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
description: "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
3132
|
+
properties: {
|
|
3133
|
+
created_at: {
|
|
3134
|
+
description: "Date and time at which Seam created the error.",
|
|
3135
|
+
format: "date-time",
|
|
3136
|
+
type: "string"
|
|
3137
|
+
},
|
|
3138
|
+
message: {
|
|
3139
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3140
|
+
type: "string"
|
|
3141
|
+
},
|
|
3142
|
+
warning_code: {
|
|
3143
|
+
enum: ["failed_to_delete_on_acs_system"],
|
|
3144
|
+
type: "string"
|
|
3145
|
+
}
|
|
3146
|
+
},
|
|
3147
|
+
required: ["created_at", "message", "warning_code"],
|
|
3072
3148
|
type: "object"
|
|
3073
3149
|
}
|
|
3074
3150
|
]
|
|
@@ -3117,8 +3193,15 @@ var openapi_default = {
|
|
|
3117
3193
|
{
|
|
3118
3194
|
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
3119
3195
|
properties: {
|
|
3120
|
-
created_at: {
|
|
3121
|
-
|
|
3196
|
+
created_at: {
|
|
3197
|
+
description: "Date and time at which Seam created the error.",
|
|
3198
|
+
format: "date-time",
|
|
3199
|
+
type: "string"
|
|
3200
|
+
},
|
|
3201
|
+
message: {
|
|
3202
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3203
|
+
type: "string"
|
|
3204
|
+
},
|
|
3122
3205
|
warning_code: {
|
|
3123
3206
|
enum: ["failed_to_update_on_acs_system"],
|
|
3124
3207
|
type: "string"
|
|
@@ -3139,18 +3222,6 @@ var openapi_default = {
|
|
|
3139
3222
|
},
|
|
3140
3223
|
required: ["created_at", "message", "warning_code"],
|
|
3141
3224
|
type: "object"
|
|
3142
|
-
},
|
|
3143
|
-
{
|
|
3144
|
-
properties: {
|
|
3145
|
-
created_at: { format: "date-time", type: "string" },
|
|
3146
|
-
message: { type: "string" },
|
|
3147
|
-
warning_code: {
|
|
3148
|
-
enum: ["salto_site_user_suspended"],
|
|
3149
|
-
type: "string"
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
required: ["created_at", "message", "warning_code"],
|
|
3153
|
-
type: "object"
|
|
3154
3225
|
}
|
|
3155
3226
|
]
|
|
3156
3227
|
},
|
|
@@ -5449,13 +5520,16 @@ var openapi_default = {
|
|
|
5449
5520
|
type: "string"
|
|
5450
5521
|
},
|
|
5451
5522
|
manual_override_allowed: { type: "boolean" },
|
|
5452
|
-
name: {
|
|
5523
|
+
name: {
|
|
5524
|
+
default: null,
|
|
5525
|
+
nullable: true,
|
|
5526
|
+
type: "string"
|
|
5527
|
+
}
|
|
5453
5528
|
},
|
|
5454
5529
|
required: [
|
|
5455
5530
|
"climate_preset_key",
|
|
5456
5531
|
"can_edit",
|
|
5457
5532
|
"can_delete",
|
|
5458
|
-
"name",
|
|
5459
5533
|
"display_name",
|
|
5460
5534
|
"manual_override_allowed"
|
|
5461
5535
|
],
|
|
@@ -5501,7 +5575,11 @@ var openapi_default = {
|
|
|
5501
5575
|
type: "string"
|
|
5502
5576
|
},
|
|
5503
5577
|
manual_override_allowed: { type: "boolean" },
|
|
5504
|
-
name: {
|
|
5578
|
+
name: {
|
|
5579
|
+
default: null,
|
|
5580
|
+
nullable: true,
|
|
5581
|
+
type: "string"
|
|
5582
|
+
}
|
|
5505
5583
|
},
|
|
5506
5584
|
type: "object"
|
|
5507
5585
|
},
|
|
@@ -5537,7 +5615,11 @@ var openapi_default = {
|
|
|
5537
5615
|
type: "string"
|
|
5538
5616
|
},
|
|
5539
5617
|
manual_override_allowed: { type: "boolean" },
|
|
5540
|
-
name: {
|
|
5618
|
+
name: {
|
|
5619
|
+
default: null,
|
|
5620
|
+
nullable: true,
|
|
5621
|
+
type: "string"
|
|
5622
|
+
}
|
|
5541
5623
|
},
|
|
5542
5624
|
type: "object",
|
|
5543
5625
|
"x-deprecated": "use fallback_climate_preset_key to specify a fallback climate preset instead."
|
|
@@ -10117,7 +10199,7 @@ var openapi_default = {
|
|
|
10117
10199
|
description: "Error associated with the `acs_user`.",
|
|
10118
10200
|
oneOf: [
|
|
10119
10201
|
{
|
|
10120
|
-
description: "Indicates that the user was deleted from the ACS system outside of Seam.",
|
|
10202
|
+
description: "Indicates that the ACS user was deleted from the ACS system outside of Seam.",
|
|
10121
10203
|
properties: {
|
|
10122
10204
|
created_at: {
|
|
10123
10205
|
description: "Date and time at which Seam created the error.",
|
|
@@ -10125,7 +10207,7 @@ var openapi_default = {
|
|
|
10125
10207
|
type: "string"
|
|
10126
10208
|
},
|
|
10127
10209
|
error_code: {
|
|
10128
|
-
enum: ["
|
|
10210
|
+
enum: ["deleted_externally"],
|
|
10129
10211
|
type: "string"
|
|
10130
10212
|
},
|
|
10131
10213
|
message: {
|
|
@@ -10167,25 +10249,74 @@ var openapi_default = {
|
|
|
10167
10249
|
type: "object"
|
|
10168
10250
|
},
|
|
10169
10251
|
{
|
|
10252
|
+
description: "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10170
10253
|
properties: {
|
|
10171
10254
|
created_at: {
|
|
10172
10255
|
description: "Date and time at which Seam created the error.",
|
|
10173
10256
|
format: "date-time",
|
|
10174
10257
|
type: "string"
|
|
10175
10258
|
},
|
|
10176
|
-
|
|
10177
|
-
|
|
10259
|
+
message: {
|
|
10260
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10261
|
+
type: "string"
|
|
10262
|
+
},
|
|
10263
|
+
warning_code: {
|
|
10264
|
+
enum: ["failed_to_create_on_acs_system"],
|
|
10265
|
+
type: "string"
|
|
10266
|
+
}
|
|
10267
|
+
},
|
|
10268
|
+
required: [
|
|
10269
|
+
"created_at",
|
|
10270
|
+
"message",
|
|
10271
|
+
"warning_code"
|
|
10272
|
+
],
|
|
10273
|
+
type: "object"
|
|
10274
|
+
},
|
|
10275
|
+
{
|
|
10276
|
+
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10277
|
+
properties: {
|
|
10278
|
+
created_at: {
|
|
10279
|
+
description: "Date and time at which Seam created the error.",
|
|
10280
|
+
format: "date-time",
|
|
10178
10281
|
type: "string"
|
|
10179
10282
|
},
|
|
10180
10283
|
message: {
|
|
10181
10284
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10182
10285
|
type: "string"
|
|
10286
|
+
},
|
|
10287
|
+
warning_code: {
|
|
10288
|
+
enum: ["failed_to_update_on_acs_system"],
|
|
10289
|
+
type: "string"
|
|
10183
10290
|
}
|
|
10184
10291
|
},
|
|
10185
10292
|
required: [
|
|
10186
10293
|
"created_at",
|
|
10187
10294
|
"message",
|
|
10188
|
-
"
|
|
10295
|
+
"warning_code"
|
|
10296
|
+
],
|
|
10297
|
+
type: "object"
|
|
10298
|
+
},
|
|
10299
|
+
{
|
|
10300
|
+
description: "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10301
|
+
properties: {
|
|
10302
|
+
created_at: {
|
|
10303
|
+
description: "Date and time at which Seam created the error.",
|
|
10304
|
+
format: "date-time",
|
|
10305
|
+
type: "string"
|
|
10306
|
+
},
|
|
10307
|
+
message: {
|
|
10308
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10309
|
+
type: "string"
|
|
10310
|
+
},
|
|
10311
|
+
warning_code: {
|
|
10312
|
+
enum: ["failed_to_delete_on_acs_system"],
|
|
10313
|
+
type: "string"
|
|
10314
|
+
}
|
|
10315
|
+
},
|
|
10316
|
+
required: [
|
|
10317
|
+
"created_at",
|
|
10318
|
+
"message",
|
|
10319
|
+
"warning_code"
|
|
10189
10320
|
],
|
|
10190
10321
|
type: "object"
|
|
10191
10322
|
}
|
|
@@ -10257,10 +10388,14 @@ var openapi_default = {
|
|
|
10257
10388
|
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10258
10389
|
properties: {
|
|
10259
10390
|
created_at: {
|
|
10391
|
+
description: "Date and time at which Seam created the error.",
|
|
10260
10392
|
format: "date-time",
|
|
10261
10393
|
type: "string"
|
|
10262
10394
|
},
|
|
10263
|
-
message: {
|
|
10395
|
+
message: {
|
|
10396
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10397
|
+
type: "string"
|
|
10398
|
+
},
|
|
10264
10399
|
warning_code: {
|
|
10265
10400
|
enum: ["failed_to_update_on_acs_system"],
|
|
10266
10401
|
type: "string"
|
|
@@ -10292,25 +10427,6 @@ var openapi_default = {
|
|
|
10292
10427
|
"warning_code"
|
|
10293
10428
|
],
|
|
10294
10429
|
type: "object"
|
|
10295
|
-
},
|
|
10296
|
-
{
|
|
10297
|
-
properties: {
|
|
10298
|
-
created_at: {
|
|
10299
|
-
format: "date-time",
|
|
10300
|
-
type: "string"
|
|
10301
|
-
},
|
|
10302
|
-
message: { type: "string" },
|
|
10303
|
-
warning_code: {
|
|
10304
|
-
enum: ["salto_site_user_suspended"],
|
|
10305
|
-
type: "string"
|
|
10306
|
-
}
|
|
10307
|
-
},
|
|
10308
|
-
required: [
|
|
10309
|
-
"created_at",
|
|
10310
|
-
"message",
|
|
10311
|
-
"warning_code"
|
|
10312
|
-
],
|
|
10313
|
-
type: "object"
|
|
10314
10430
|
}
|
|
10315
10431
|
]
|
|
10316
10432
|
},
|
|
@@ -10402,7 +10518,7 @@ var openapi_default = {
|
|
|
10402
10518
|
description: "Error associated with the `acs_user`.",
|
|
10403
10519
|
oneOf: [
|
|
10404
10520
|
{
|
|
10405
|
-
description: "Indicates that the user was deleted from the ACS system outside of Seam.",
|
|
10521
|
+
description: "Indicates that the ACS user was deleted from the ACS system outside of Seam.",
|
|
10406
10522
|
properties: {
|
|
10407
10523
|
created_at: {
|
|
10408
10524
|
description: "Date and time at which Seam created the error.",
|
|
@@ -10410,7 +10526,7 @@ var openapi_default = {
|
|
|
10410
10526
|
type: "string"
|
|
10411
10527
|
},
|
|
10412
10528
|
error_code: {
|
|
10413
|
-
enum: ["
|
|
10529
|
+
enum: ["deleted_externally"],
|
|
10414
10530
|
type: "string"
|
|
10415
10531
|
},
|
|
10416
10532
|
message: {
|
|
@@ -10452,25 +10568,74 @@ var openapi_default = {
|
|
|
10452
10568
|
type: "object"
|
|
10453
10569
|
},
|
|
10454
10570
|
{
|
|
10571
|
+
description: "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10455
10572
|
properties: {
|
|
10456
10573
|
created_at: {
|
|
10457
10574
|
description: "Date and time at which Seam created the error.",
|
|
10458
10575
|
format: "date-time",
|
|
10459
10576
|
type: "string"
|
|
10460
10577
|
},
|
|
10461
|
-
|
|
10462
|
-
|
|
10578
|
+
message: {
|
|
10579
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10580
|
+
type: "string"
|
|
10581
|
+
},
|
|
10582
|
+
warning_code: {
|
|
10583
|
+
enum: ["failed_to_create_on_acs_system"],
|
|
10584
|
+
type: "string"
|
|
10585
|
+
}
|
|
10586
|
+
},
|
|
10587
|
+
required: [
|
|
10588
|
+
"created_at",
|
|
10589
|
+
"message",
|
|
10590
|
+
"warning_code"
|
|
10591
|
+
],
|
|
10592
|
+
type: "object"
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10596
|
+
properties: {
|
|
10597
|
+
created_at: {
|
|
10598
|
+
description: "Date and time at which Seam created the error.",
|
|
10599
|
+
format: "date-time",
|
|
10463
10600
|
type: "string"
|
|
10464
10601
|
},
|
|
10465
10602
|
message: {
|
|
10466
10603
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10467
10604
|
type: "string"
|
|
10605
|
+
},
|
|
10606
|
+
warning_code: {
|
|
10607
|
+
enum: ["failed_to_update_on_acs_system"],
|
|
10608
|
+
type: "string"
|
|
10468
10609
|
}
|
|
10469
10610
|
},
|
|
10470
10611
|
required: [
|
|
10471
10612
|
"created_at",
|
|
10472
10613
|
"message",
|
|
10473
|
-
"
|
|
10614
|
+
"warning_code"
|
|
10615
|
+
],
|
|
10616
|
+
type: "object"
|
|
10617
|
+
},
|
|
10618
|
+
{
|
|
10619
|
+
description: "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10620
|
+
properties: {
|
|
10621
|
+
created_at: {
|
|
10622
|
+
description: "Date and time at which Seam created the error.",
|
|
10623
|
+
format: "date-time",
|
|
10624
|
+
type: "string"
|
|
10625
|
+
},
|
|
10626
|
+
message: {
|
|
10627
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10628
|
+
type: "string"
|
|
10629
|
+
},
|
|
10630
|
+
warning_code: {
|
|
10631
|
+
enum: ["failed_to_delete_on_acs_system"],
|
|
10632
|
+
type: "string"
|
|
10633
|
+
}
|
|
10634
|
+
},
|
|
10635
|
+
required: [
|
|
10636
|
+
"created_at",
|
|
10637
|
+
"message",
|
|
10638
|
+
"warning_code"
|
|
10474
10639
|
],
|
|
10475
10640
|
type: "object"
|
|
10476
10641
|
}
|
|
@@ -10542,10 +10707,14 @@ var openapi_default = {
|
|
|
10542
10707
|
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10543
10708
|
properties: {
|
|
10544
10709
|
created_at: {
|
|
10710
|
+
description: "Date and time at which Seam created the error.",
|
|
10545
10711
|
format: "date-time",
|
|
10546
10712
|
type: "string"
|
|
10547
10713
|
},
|
|
10548
|
-
message: {
|
|
10714
|
+
message: {
|
|
10715
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10716
|
+
type: "string"
|
|
10717
|
+
},
|
|
10549
10718
|
warning_code: {
|
|
10550
10719
|
enum: ["failed_to_update_on_acs_system"],
|
|
10551
10720
|
type: "string"
|
|
@@ -10577,25 +10746,6 @@ var openapi_default = {
|
|
|
10577
10746
|
"warning_code"
|
|
10578
10747
|
],
|
|
10579
10748
|
type: "object"
|
|
10580
|
-
},
|
|
10581
|
-
{
|
|
10582
|
-
properties: {
|
|
10583
|
-
created_at: {
|
|
10584
|
-
format: "date-time",
|
|
10585
|
-
type: "string"
|
|
10586
|
-
},
|
|
10587
|
-
message: { type: "string" },
|
|
10588
|
-
warning_code: {
|
|
10589
|
-
enum: ["salto_site_user_suspended"],
|
|
10590
|
-
type: "string"
|
|
10591
|
-
}
|
|
10592
|
-
},
|
|
10593
|
-
required: [
|
|
10594
|
-
"created_at",
|
|
10595
|
-
"message",
|
|
10596
|
-
"warning_code"
|
|
10597
|
-
],
|
|
10598
|
-
type: "object"
|
|
10599
10749
|
}
|
|
10600
10750
|
]
|
|
10601
10751
|
},
|
|
@@ -14688,12 +14838,11 @@ var openapi_default = {
|
|
|
14688
14838
|
type: "string"
|
|
14689
14839
|
},
|
|
14690
14840
|
manual_override_allowed: { type: "boolean" },
|
|
14691
|
-
name: { nullable: true, type: "string" }
|
|
14841
|
+
name: { default: null, nullable: true, type: "string" }
|
|
14692
14842
|
},
|
|
14693
14843
|
required: [
|
|
14694
14844
|
"device_id",
|
|
14695
14845
|
"climate_preset_key",
|
|
14696
|
-
"name",
|
|
14697
14846
|
"manual_override_allowed"
|
|
14698
14847
|
],
|
|
14699
14848
|
type: "object"
|
|
@@ -14738,13 +14887,12 @@ var openapi_default = {
|
|
|
14738
14887
|
type: "string"
|
|
14739
14888
|
},
|
|
14740
14889
|
manual_override_allowed: { type: "boolean" },
|
|
14741
|
-
name: { nullable: true, type: "string" }
|
|
14890
|
+
name: { default: null, nullable: true, type: "string" }
|
|
14742
14891
|
},
|
|
14743
14892
|
required: [
|
|
14744
14893
|
"climate_preset_key",
|
|
14745
14894
|
"can_edit",
|
|
14746
14895
|
"can_delete",
|
|
14747
|
-
"name",
|
|
14748
14896
|
"display_name",
|
|
14749
14897
|
"manual_override_allowed"
|
|
14750
14898
|
],
|
|
@@ -15745,12 +15893,11 @@ var openapi_default = {
|
|
|
15745
15893
|
type: "string"
|
|
15746
15894
|
},
|
|
15747
15895
|
manual_override_allowed: { type: "boolean" },
|
|
15748
|
-
name: { nullable: true, type: "string" }
|
|
15896
|
+
name: { default: null, nullable: true, type: "string" }
|
|
15749
15897
|
},
|
|
15750
15898
|
required: [
|
|
15751
15899
|
"device_id",
|
|
15752
15900
|
"climate_preset_key",
|
|
15753
|
-
"name",
|
|
15754
15901
|
"manual_override_allowed"
|
|
15755
15902
|
],
|
|
15756
15903
|
type: "object"
|
|
@@ -15795,13 +15942,12 @@ var openapi_default = {
|
|
|
15795
15942
|
type: "string"
|
|
15796
15943
|
},
|
|
15797
15944
|
manual_override_allowed: { type: "boolean" },
|
|
15798
|
-
name: { nullable: true, type: "string" }
|
|
15945
|
+
name: { default: null, nullable: true, type: "string" }
|
|
15799
15946
|
},
|
|
15800
15947
|
required: [
|
|
15801
15948
|
"climate_preset_key",
|
|
15802
15949
|
"can_edit",
|
|
15803
15950
|
"can_delete",
|
|
15804
|
-
"name",
|
|
15805
15951
|
"display_name",
|
|
15806
15952
|
"manual_override_allowed"
|
|
15807
15953
|
],
|
|
@@ -15859,12 +16005,11 @@ var openapi_default = {
|
|
|
15859
16005
|
type: "string"
|
|
15860
16006
|
},
|
|
15861
16007
|
manual_override_allowed: { type: "boolean" },
|
|
15862
|
-
name: { nullable: true, type: "string" }
|
|
16008
|
+
name: { default: null, nullable: true, type: "string" }
|
|
15863
16009
|
},
|
|
15864
16010
|
required: [
|
|
15865
16011
|
"device_id",
|
|
15866
16012
|
"climate_preset_key",
|
|
15867
|
-
"name",
|
|
15868
16013
|
"manual_override_allowed"
|
|
15869
16014
|
],
|
|
15870
16015
|
type: "object"
|
|
@@ -15909,13 +16054,12 @@ var openapi_default = {
|
|
|
15909
16054
|
type: "string"
|
|
15910
16055
|
},
|
|
15911
16056
|
manual_override_allowed: { type: "boolean" },
|
|
15912
|
-
name: { nullable: true, type: "string" }
|
|
16057
|
+
name: { default: null, nullable: true, type: "string" }
|
|
15913
16058
|
},
|
|
15914
16059
|
required: [
|
|
15915
16060
|
"climate_preset_key",
|
|
15916
16061
|
"can_edit",
|
|
15917
16062
|
"can_delete",
|
|
15918
|
-
"name",
|
|
15919
16063
|
"display_name",
|
|
15920
16064
|
"manual_override_allowed"
|
|
15921
16065
|
],
|