@seamapi/types 1.345.1 → 1.346.0
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 +327 -687
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +269 -484
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/bridges/bridge.d.ts +15 -0
- package/lib/seam/connect/models/bridges/bridge.js +12 -0
- package/lib/seam/connect/models/bridges/bridge.js.map +1 -0
- package/lib/seam/connect/models/bridges/index.d.ts +1 -0
- package/lib/seam/connect/models/bridges/index.js +2 -0
- package/lib/seam/connect/models/bridges/index.js.map +1 -0
- package/lib/seam/connect/models/devices/device-type.js +3 -1
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/phone-properties.js +7 -3
- package/lib/seam/connect/models/devices/phone-properties.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +29 -2450
- package/lib/seam/connect/models/devices/phone.js +36 -15
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +188 -141
- package/lib/seam/connect/openapi.js +273 -642
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +63 -341
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +2 -2
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/bridges/bridge.ts +13 -0
- package/src/lib/seam/connect/models/bridges/index.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +3 -3
- package/src/lib/seam/connect/models/devices/phone-properties.ts +36 -32
- package/src/lib/seam/connect/models/devices/phone.ts +53 -15
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +269 -676
- package/src/lib/seam/connect/route-types.ts +63 -419
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -15083,6 +15083,24 @@ export interface Routes {
|
|
|
15083
15083
|
>
|
|
15084
15084
|
}
|
|
15085
15085
|
}
|
|
15086
|
+
'/bridges/get': {
|
|
15087
|
+
route: '/bridges/get'
|
|
15088
|
+
method: 'GET' | 'POST'
|
|
15089
|
+
queryParams: {}
|
|
15090
|
+
jsonBody: {}
|
|
15091
|
+
commonParams: {
|
|
15092
|
+
bridge_id: string
|
|
15093
|
+
}
|
|
15094
|
+
formData: {}
|
|
15095
|
+
jsonResponse: {
|
|
15096
|
+
/** */
|
|
15097
|
+
bridge: {
|
|
15098
|
+
bridge_id: string
|
|
15099
|
+
workspace_id: string
|
|
15100
|
+
created_at: string
|
|
15101
|
+
}
|
|
15102
|
+
}
|
|
15103
|
+
}
|
|
15086
15104
|
'/client_sessions/create': {
|
|
15087
15105
|
route: '/client_sessions/create'
|
|
15088
15106
|
method: 'POST' | 'PUT'
|
|
@@ -32222,23 +32240,31 @@ export interface Routes {
|
|
|
32222
32240
|
formData: {}
|
|
32223
32241
|
jsonResponse: {
|
|
32224
32242
|
phones: Array<{
|
|
32225
|
-
/**
|
|
32243
|
+
/** ID of the `phone`. */
|
|
32226
32244
|
device_id: string
|
|
32227
|
-
/**
|
|
32228
|
-
device_type: 'android_phone' | 'ios_phone'
|
|
32229
|
-
/** Optional nickname to describe the device, settable through Seam */
|
|
32245
|
+
/** Optional nickname to describe the phone, settable through Seam. */
|
|
32230
32246
|
nickname?: string | undefined
|
|
32231
|
-
/** Display name of the
|
|
32247
|
+
/** Display name of the phone. Defaults to `nickname` (if it is set) or `properties.appearance.name` otherwise. Enables administrators and users to identify the phone easily, especially when there are numerous phones. */
|
|
32232
32248
|
display_name: string
|
|
32233
|
-
/**
|
|
32234
|
-
|
|
32235
|
-
|
|
32236
|
-
|
|
32237
|
-
|
|
32238
|
-
|
|
32239
|
-
|
|
32240
|
-
|
|
32241
|
-
|
|
32249
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `phone`. */
|
|
32250
|
+
workspace_id: string
|
|
32251
|
+
/** Date and time at which the `phone` was created. */
|
|
32252
|
+
created_at: string
|
|
32253
|
+
/** Optional [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) for the phone. */
|
|
32254
|
+
custom_metadata: Record<string, string | boolean>
|
|
32255
|
+
/** Errors associated with the `phone`. */
|
|
32256
|
+
errors: Array<{
|
|
32257
|
+
error_code: string
|
|
32258
|
+
message: string
|
|
32259
|
+
}>
|
|
32260
|
+
/** Warnings associated with the `phone`. */
|
|
32261
|
+
warnings: Array<{
|
|
32262
|
+
warning_code: string
|
|
32263
|
+
message: string
|
|
32264
|
+
}>
|
|
32265
|
+
/** Type of phone. */
|
|
32266
|
+
device_type: 'ios_phone' | 'android_phone'
|
|
32267
|
+
/** Properties of the phone. */
|
|
32242
32268
|
properties: {
|
|
32243
32269
|
/** ASSA ABLOY Credential Service metadata for the phone. */
|
|
32244
32270
|
assa_abloy_credential_service_metadata?:
|
|
@@ -32262,201 +32288,6 @@ export interface Routes {
|
|
|
32262
32288
|
}
|
|
32263
32289
|
| undefined
|
|
32264
32290
|
}
|
|
32265
|
-
/** Location information for the device. */
|
|
32266
|
-
location: {
|
|
32267
|
-
/** Name of the device location. */
|
|
32268
|
-
location_name?: string | undefined
|
|
32269
|
-
/** Time zone of the device location. */
|
|
32270
|
-
timezone?: string | undefined
|
|
32271
|
-
} | null
|
|
32272
|
-
/** Unique identifier for the Seam workspace associated with the device. */
|
|
32273
|
-
workspace_id: string
|
|
32274
|
-
/** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
|
|
32275
|
-
errors: Array<
|
|
32276
|
-
| {
|
|
32277
|
-
message: string
|
|
32278
|
-
is_device_error: true
|
|
32279
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32280
|
-
error_code: 'device_offline'
|
|
32281
|
-
}
|
|
32282
|
-
| {
|
|
32283
|
-
message: string
|
|
32284
|
-
is_device_error: true
|
|
32285
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32286
|
-
error_code: 'device_removed'
|
|
32287
|
-
}
|
|
32288
|
-
| {
|
|
32289
|
-
message: string
|
|
32290
|
-
is_device_error: true
|
|
32291
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32292
|
-
error_code: 'hub_disconnected'
|
|
32293
|
-
}
|
|
32294
|
-
| {
|
|
32295
|
-
message: string
|
|
32296
|
-
is_device_error: true
|
|
32297
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32298
|
-
error_code: 'device_disconnected'
|
|
32299
|
-
}
|
|
32300
|
-
| {
|
|
32301
|
-
message: string
|
|
32302
|
-
is_device_error: true
|
|
32303
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32304
|
-
error_code: 'empty_backup_access_code_pool'
|
|
32305
|
-
}
|
|
32306
|
-
| {
|
|
32307
|
-
message: string
|
|
32308
|
-
is_device_error: true
|
|
32309
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32310
|
-
error_code: 'august_lock_not_authorized'
|
|
32311
|
-
}
|
|
32312
|
-
| {
|
|
32313
|
-
message: string
|
|
32314
|
-
is_device_error: true
|
|
32315
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32316
|
-
error_code: 'august_lock_missing_bridge'
|
|
32317
|
-
}
|
|
32318
|
-
| {
|
|
32319
|
-
message: string
|
|
32320
|
-
is_device_error: true
|
|
32321
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32322
|
-
error_code: 'salto_site_user_limit_reached'
|
|
32323
|
-
}
|
|
32324
|
-
| {
|
|
32325
|
-
message: string
|
|
32326
|
-
is_device_error: true
|
|
32327
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32328
|
-
error_code: 'ttlock_lock_not_paired_to_gateway'
|
|
32329
|
-
}
|
|
32330
|
-
| {
|
|
32331
|
-
message: string
|
|
32332
|
-
is_device_error: true
|
|
32333
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32334
|
-
error_code: 'missing_device_credentials'
|
|
32335
|
-
}
|
|
32336
|
-
| {
|
|
32337
|
-
message: string
|
|
32338
|
-
is_device_error: true
|
|
32339
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32340
|
-
error_code: 'auxiliary_heat_running'
|
|
32341
|
-
}
|
|
32342
|
-
| {
|
|
32343
|
-
message: string
|
|
32344
|
-
is_device_error: true
|
|
32345
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32346
|
-
error_code: 'subscription_required'
|
|
32347
|
-
}
|
|
32348
|
-
| {
|
|
32349
|
-
message: string
|
|
32350
|
-
is_connected_account_error: true
|
|
32351
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32352
|
-
error_code: 'account_disconnected'
|
|
32353
|
-
}
|
|
32354
|
-
| {
|
|
32355
|
-
message: string
|
|
32356
|
-
is_connected_account_error: true
|
|
32357
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32358
|
-
error_code: 'invalid_credentials'
|
|
32359
|
-
}
|
|
32360
|
-
>
|
|
32361
|
-
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
32362
|
-
warnings: Array<
|
|
32363
|
-
| {
|
|
32364
|
-
message: string
|
|
32365
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32366
|
-
warning_code: 'partial_backup_access_code_pool'
|
|
32367
|
-
}
|
|
32368
|
-
| {
|
|
32369
|
-
message: string
|
|
32370
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32371
|
-
warning_code: 'many_active_backup_codes'
|
|
32372
|
-
}
|
|
32373
|
-
| {
|
|
32374
|
-
message: string
|
|
32375
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32376
|
-
warning_code: 'salto_unknown_device_type'
|
|
32377
|
-
}
|
|
32378
|
-
| {
|
|
32379
|
-
message: string
|
|
32380
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32381
|
-
warning_code: 'wyze_device_missing_gateway'
|
|
32382
|
-
}
|
|
32383
|
-
| {
|
|
32384
|
-
message: string
|
|
32385
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32386
|
-
warning_code: 'functional_offline_device'
|
|
32387
|
-
}
|
|
32388
|
-
| {
|
|
32389
|
-
message: string
|
|
32390
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32391
|
-
warning_code: 'third_party_integration_detected'
|
|
32392
|
-
}
|
|
32393
|
-
| {
|
|
32394
|
-
message: string
|
|
32395
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32396
|
-
warning_code: 'nest_thermostat_in_manual_eco_mode'
|
|
32397
|
-
}
|
|
32398
|
-
| {
|
|
32399
|
-
message: string
|
|
32400
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32401
|
-
warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
|
|
32402
|
-
}
|
|
32403
|
-
| {
|
|
32404
|
-
message: string
|
|
32405
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32406
|
-
warning_code: 'ttlock_weak_gateway_signal'
|
|
32407
|
-
}
|
|
32408
|
-
| {
|
|
32409
|
-
message: string
|
|
32410
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32411
|
-
warning_code: 'temperature_threshold_exceeded'
|
|
32412
|
-
}
|
|
32413
|
-
| {
|
|
32414
|
-
message: string
|
|
32415
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32416
|
-
warning_code: 'device_communication_degraded'
|
|
32417
|
-
}
|
|
32418
|
-
| {
|
|
32419
|
-
message: string
|
|
32420
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32421
|
-
warning_code: 'scheduled_maintenance_window'
|
|
32422
|
-
}
|
|
32423
|
-
| {
|
|
32424
|
-
message: string
|
|
32425
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32426
|
-
warning_code: 'device_has_flaky_connection'
|
|
32427
|
-
}
|
|
32428
|
-
| {
|
|
32429
|
-
message: string
|
|
32430
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32431
|
-
warning_code: 'salto_office_mode'
|
|
32432
|
-
}
|
|
32433
|
-
| {
|
|
32434
|
-
message: string
|
|
32435
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32436
|
-
warning_code: 'salto_privacy_mode'
|
|
32437
|
-
}
|
|
32438
|
-
| {
|
|
32439
|
-
message: string
|
|
32440
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32441
|
-
warning_code: 'unknown_issue_with_phone'
|
|
32442
|
-
}
|
|
32443
|
-
>
|
|
32444
|
-
/** Date and time at which the device object was created. */
|
|
32445
|
-
created_at: string
|
|
32446
|
-
/** Indicates whether Seam manages the device. */
|
|
32447
|
-
is_managed: true
|
|
32448
|
-
custom_metadata: Record<string, string | boolean>
|
|
32449
|
-
can_remotely_unlock?: boolean | undefined
|
|
32450
|
-
can_remotely_lock?: boolean | undefined
|
|
32451
|
-
can_program_offline_access_codes?: boolean | undefined
|
|
32452
|
-
can_program_online_access_codes?: boolean | undefined
|
|
32453
|
-
can_hvac_heat?: boolean | undefined
|
|
32454
|
-
can_hvac_cool?: boolean | undefined
|
|
32455
|
-
can_hvac_heat_cool?: boolean | undefined
|
|
32456
|
-
can_turn_off_hvac?: boolean | undefined
|
|
32457
|
-
can_simulate_removal?: boolean | undefined
|
|
32458
|
-
can_simulate_connection?: boolean | undefined
|
|
32459
|
-
can_simulate_disconnection?: boolean | undefined
|
|
32460
32291
|
}>
|
|
32461
32292
|
}
|
|
32462
32293
|
}
|
|
@@ -32499,25 +32330,33 @@ export interface Routes {
|
|
|
32499
32330
|
commonParams: {}
|
|
32500
32331
|
formData: {}
|
|
32501
32332
|
jsonResponse: {
|
|
32502
|
-
/**
|
|
32333
|
+
/** Represents an app user's mobile phone. */
|
|
32503
32334
|
phone: {
|
|
32504
|
-
/**
|
|
32335
|
+
/** ID of the `phone`. */
|
|
32505
32336
|
device_id: string
|
|
32506
|
-
/**
|
|
32507
|
-
device_type: 'android_phone' | 'ios_phone'
|
|
32508
|
-
/** Optional nickname to describe the device, settable through Seam */
|
|
32337
|
+
/** Optional nickname to describe the phone, settable through Seam. */
|
|
32509
32338
|
nickname?: string | undefined
|
|
32510
|
-
/** Display name of the
|
|
32339
|
+
/** Display name of the phone. Defaults to `nickname` (if it is set) or `properties.appearance.name` otherwise. Enables administrators and users to identify the phone easily, especially when there are numerous phones. */
|
|
32511
32340
|
display_name: string
|
|
32512
|
-
/**
|
|
32513
|
-
|
|
32514
|
-
|
|
32515
|
-
|
|
32516
|
-
|
|
32517
|
-
|
|
32518
|
-
|
|
32519
|
-
|
|
32520
|
-
|
|
32341
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `phone`. */
|
|
32342
|
+
workspace_id: string
|
|
32343
|
+
/** Date and time at which the `phone` was created. */
|
|
32344
|
+
created_at: string
|
|
32345
|
+
/** Optional [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) for the phone. */
|
|
32346
|
+
custom_metadata: Record<string, string | boolean>
|
|
32347
|
+
/** Errors associated with the `phone`. */
|
|
32348
|
+
errors: Array<{
|
|
32349
|
+
error_code: string
|
|
32350
|
+
message: string
|
|
32351
|
+
}>
|
|
32352
|
+
/** Warnings associated with the `phone`. */
|
|
32353
|
+
warnings: Array<{
|
|
32354
|
+
warning_code: string
|
|
32355
|
+
message: string
|
|
32356
|
+
}>
|
|
32357
|
+
/** Type of phone. */
|
|
32358
|
+
device_type: 'ios_phone' | 'android_phone'
|
|
32359
|
+
/** Properties of the phone. */
|
|
32521
32360
|
properties: {
|
|
32522
32361
|
/** ASSA ABLOY Credential Service metadata for the phone. */
|
|
32523
32362
|
assa_abloy_credential_service_metadata?:
|
|
@@ -32541,201 +32380,6 @@ export interface Routes {
|
|
|
32541
32380
|
}
|
|
32542
32381
|
| undefined
|
|
32543
32382
|
}
|
|
32544
|
-
/** Location information for the device. */
|
|
32545
|
-
location: {
|
|
32546
|
-
/** Name of the device location. */
|
|
32547
|
-
location_name?: string | undefined
|
|
32548
|
-
/** Time zone of the device location. */
|
|
32549
|
-
timezone?: string | undefined
|
|
32550
|
-
} | null
|
|
32551
|
-
/** Unique identifier for the Seam workspace associated with the device. */
|
|
32552
|
-
workspace_id: string
|
|
32553
|
-
/** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
|
|
32554
|
-
errors: Array<
|
|
32555
|
-
| {
|
|
32556
|
-
message: string
|
|
32557
|
-
is_device_error: true
|
|
32558
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32559
|
-
error_code: 'device_offline'
|
|
32560
|
-
}
|
|
32561
|
-
| {
|
|
32562
|
-
message: string
|
|
32563
|
-
is_device_error: true
|
|
32564
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32565
|
-
error_code: 'device_removed'
|
|
32566
|
-
}
|
|
32567
|
-
| {
|
|
32568
|
-
message: string
|
|
32569
|
-
is_device_error: true
|
|
32570
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32571
|
-
error_code: 'hub_disconnected'
|
|
32572
|
-
}
|
|
32573
|
-
| {
|
|
32574
|
-
message: string
|
|
32575
|
-
is_device_error: true
|
|
32576
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32577
|
-
error_code: 'device_disconnected'
|
|
32578
|
-
}
|
|
32579
|
-
| {
|
|
32580
|
-
message: string
|
|
32581
|
-
is_device_error: true
|
|
32582
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32583
|
-
error_code: 'empty_backup_access_code_pool'
|
|
32584
|
-
}
|
|
32585
|
-
| {
|
|
32586
|
-
message: string
|
|
32587
|
-
is_device_error: true
|
|
32588
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32589
|
-
error_code: 'august_lock_not_authorized'
|
|
32590
|
-
}
|
|
32591
|
-
| {
|
|
32592
|
-
message: string
|
|
32593
|
-
is_device_error: true
|
|
32594
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32595
|
-
error_code: 'august_lock_missing_bridge'
|
|
32596
|
-
}
|
|
32597
|
-
| {
|
|
32598
|
-
message: string
|
|
32599
|
-
is_device_error: true
|
|
32600
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32601
|
-
error_code: 'salto_site_user_limit_reached'
|
|
32602
|
-
}
|
|
32603
|
-
| {
|
|
32604
|
-
message: string
|
|
32605
|
-
is_device_error: true
|
|
32606
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32607
|
-
error_code: 'ttlock_lock_not_paired_to_gateway'
|
|
32608
|
-
}
|
|
32609
|
-
| {
|
|
32610
|
-
message: string
|
|
32611
|
-
is_device_error: true
|
|
32612
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32613
|
-
error_code: 'missing_device_credentials'
|
|
32614
|
-
}
|
|
32615
|
-
| {
|
|
32616
|
-
message: string
|
|
32617
|
-
is_device_error: true
|
|
32618
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32619
|
-
error_code: 'auxiliary_heat_running'
|
|
32620
|
-
}
|
|
32621
|
-
| {
|
|
32622
|
-
message: string
|
|
32623
|
-
is_device_error: true
|
|
32624
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32625
|
-
error_code: 'subscription_required'
|
|
32626
|
-
}
|
|
32627
|
-
| {
|
|
32628
|
-
message: string
|
|
32629
|
-
is_connected_account_error: true
|
|
32630
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32631
|
-
error_code: 'account_disconnected'
|
|
32632
|
-
}
|
|
32633
|
-
| {
|
|
32634
|
-
message: string
|
|
32635
|
-
is_connected_account_error: true
|
|
32636
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32637
|
-
error_code: 'invalid_credentials'
|
|
32638
|
-
}
|
|
32639
|
-
>
|
|
32640
|
-
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
32641
|
-
warnings: Array<
|
|
32642
|
-
| {
|
|
32643
|
-
message: string
|
|
32644
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32645
|
-
warning_code: 'partial_backup_access_code_pool'
|
|
32646
|
-
}
|
|
32647
|
-
| {
|
|
32648
|
-
message: string
|
|
32649
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32650
|
-
warning_code: 'many_active_backup_codes'
|
|
32651
|
-
}
|
|
32652
|
-
| {
|
|
32653
|
-
message: string
|
|
32654
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32655
|
-
warning_code: 'salto_unknown_device_type'
|
|
32656
|
-
}
|
|
32657
|
-
| {
|
|
32658
|
-
message: string
|
|
32659
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32660
|
-
warning_code: 'wyze_device_missing_gateway'
|
|
32661
|
-
}
|
|
32662
|
-
| {
|
|
32663
|
-
message: string
|
|
32664
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32665
|
-
warning_code: 'functional_offline_device'
|
|
32666
|
-
}
|
|
32667
|
-
| {
|
|
32668
|
-
message: string
|
|
32669
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32670
|
-
warning_code: 'third_party_integration_detected'
|
|
32671
|
-
}
|
|
32672
|
-
| {
|
|
32673
|
-
message: string
|
|
32674
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32675
|
-
warning_code: 'nest_thermostat_in_manual_eco_mode'
|
|
32676
|
-
}
|
|
32677
|
-
| {
|
|
32678
|
-
message: string
|
|
32679
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32680
|
-
warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
|
|
32681
|
-
}
|
|
32682
|
-
| {
|
|
32683
|
-
message: string
|
|
32684
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32685
|
-
warning_code: 'ttlock_weak_gateway_signal'
|
|
32686
|
-
}
|
|
32687
|
-
| {
|
|
32688
|
-
message: string
|
|
32689
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32690
|
-
warning_code: 'temperature_threshold_exceeded'
|
|
32691
|
-
}
|
|
32692
|
-
| {
|
|
32693
|
-
message: string
|
|
32694
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32695
|
-
warning_code: 'device_communication_degraded'
|
|
32696
|
-
}
|
|
32697
|
-
| {
|
|
32698
|
-
message: string
|
|
32699
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32700
|
-
warning_code: 'scheduled_maintenance_window'
|
|
32701
|
-
}
|
|
32702
|
-
| {
|
|
32703
|
-
message: string
|
|
32704
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32705
|
-
warning_code: 'device_has_flaky_connection'
|
|
32706
|
-
}
|
|
32707
|
-
| {
|
|
32708
|
-
message: string
|
|
32709
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32710
|
-
warning_code: 'salto_office_mode'
|
|
32711
|
-
}
|
|
32712
|
-
| {
|
|
32713
|
-
message: string
|
|
32714
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32715
|
-
warning_code: 'salto_privacy_mode'
|
|
32716
|
-
}
|
|
32717
|
-
| {
|
|
32718
|
-
message: string
|
|
32719
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32720
|
-
warning_code: 'unknown_issue_with_phone'
|
|
32721
|
-
}
|
|
32722
|
-
>
|
|
32723
|
-
/** Date and time at which the device object was created. */
|
|
32724
|
-
created_at: string
|
|
32725
|
-
/** Indicates whether Seam manages the device. */
|
|
32726
|
-
is_managed: true
|
|
32727
|
-
custom_metadata: Record<string, string | boolean>
|
|
32728
|
-
can_remotely_unlock?: boolean | undefined
|
|
32729
|
-
can_remotely_lock?: boolean | undefined
|
|
32730
|
-
can_program_offline_access_codes?: boolean | undefined
|
|
32731
|
-
can_program_online_access_codes?: boolean | undefined
|
|
32732
|
-
can_hvac_heat?: boolean | undefined
|
|
32733
|
-
can_hvac_cool?: boolean | undefined
|
|
32734
|
-
can_hvac_heat_cool?: boolean | undefined
|
|
32735
|
-
can_turn_off_hvac?: boolean | undefined
|
|
32736
|
-
can_simulate_removal?: boolean | undefined
|
|
32737
|
-
can_simulate_connection?: boolean | undefined
|
|
32738
|
-
can_simulate_disconnection?: boolean | undefined
|
|
32739
32383
|
}
|
|
32740
32384
|
}
|
|
32741
32385
|
}
|