@seamapi/types 1.140.0 → 1.142.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 +113 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +137 -36
- package/dist/devicedb.d.cts +16 -16
- package/lib/seam/connect/index.d.ts +2 -2
- package/lib/seam/connect/index.js +2 -2
- package/lib/seam/connect/index.js.map +1 -1
- package/lib/seam/connect/model-types.js.map +1 -0
- package/lib/seam/connect/models/connect-webview.js.map +1 -0
- package/lib/seam/connect/models/custom-metadata.js.map +1 -0
- package/lib/seam/connect/models/index.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +116 -36
- package/lib/seam/connect/openapi.js +111 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -0
- package/lib/seam/connect/schemas.js.map +1 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +25 -3
- package/lib/seam/connect/unstable/models/devices/managed-device.js +5 -2
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +6 -3
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +6 -3
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +2 -3
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/devicedb/models/device-capability.d.ts +3 -3
- package/lib/seam/devicedb/models/device-model.d.ts +6 -6
- package/lib/seam/devicedb/route-specs.d.ts +10 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/index.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +111 -9
- package/src/lib/seam/connect/route-types.ts +77 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +7 -2
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +6 -4
- package/lib/seam/connect/stable/model-types.js.map +0 -1
- package/lib/seam/connect/stable/models/connect-webview.js.map +0 -1
- package/lib/seam/connect/stable/models/custom-metadata.js.map +0 -1
- package/lib/seam/connect/stable/models/index.js.map +0 -1
- package/lib/seam/connect/stable/schemas.js.map +0 -1
- /package/lib/seam/connect/{stable/model-types.d.ts → model-types.d.ts} +0 -0
- /package/lib/seam/connect/{stable/model-types.js → model-types.js} +0 -0
- /package/lib/seam/connect/{stable/models → models}/connect-webview.d.ts +0 -0
- /package/lib/seam/connect/{stable/models → models}/connect-webview.js +0 -0
- /package/lib/seam/connect/{stable/models → models}/custom-metadata.d.ts +0 -0
- /package/lib/seam/connect/{stable/models → models}/custom-metadata.js +0 -0
- /package/lib/seam/connect/{stable/models → models}/index.d.ts +0 -0
- /package/lib/seam/connect/{stable/models → models}/index.js +0 -0
- /package/lib/seam/connect/{stable/schemas.d.ts → schemas.d.ts} +0 -0
- /package/lib/seam/connect/{stable/schemas.js → schemas.js} +0 -0
- /package/src/lib/seam/connect/{stable/model-types.ts → model-types.ts} +0 -0
- /package/src/lib/seam/connect/{stable/models → models}/connect-webview.ts +0 -0
- /package/src/lib/seam/connect/{stable/models → models}/custom-metadata.ts +0 -0
- /package/src/lib/seam/connect/{stable/models → models}/index.ts +0 -0
- /package/src/lib/seam/connect/{stable/schemas.ts → schemas.ts} +0 -0
|
@@ -525,6 +525,7 @@ export default {
|
|
|
525
525
|
can_program_online_access_codes: { type: 'boolean' },
|
|
526
526
|
can_remotely_lock: { type: 'boolean' },
|
|
527
527
|
can_remotely_unlock: { type: 'boolean' },
|
|
528
|
+
can_simulate_removal: { type: 'boolean' },
|
|
528
529
|
capabilities_supported: {
|
|
529
530
|
description:
|
|
530
531
|
'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
@@ -1900,6 +1901,7 @@ export default {
|
|
|
1900
1901
|
can_program_online_access_codes: { type: 'boolean' },
|
|
1901
1902
|
can_remotely_lock: { type: 'boolean' },
|
|
1902
1903
|
can_remotely_unlock: { type: 'boolean' },
|
|
1904
|
+
can_simulate_removal: { type: 'boolean' },
|
|
1903
1905
|
capabilities_supported: {
|
|
1904
1906
|
description:
|
|
1905
1907
|
'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
@@ -2129,6 +2131,7 @@ export default {
|
|
|
2129
2131
|
can_program_online_access_codes: { type: 'boolean' },
|
|
2130
2132
|
can_remotely_lock: { type: 'boolean' },
|
|
2131
2133
|
can_remotely_unlock: { type: 'boolean' },
|
|
2134
|
+
can_simulate_removal: { type: 'boolean' },
|
|
2132
2135
|
capabilities_supported: {
|
|
2133
2136
|
description:
|
|
2134
2137
|
'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
@@ -6534,9 +6537,10 @@ export default {
|
|
|
6534
6537
|
401: { description: 'Unauthorized' },
|
|
6535
6538
|
},
|
|
6536
6539
|
security: [
|
|
6537
|
-
{
|
|
6538
|
-
{
|
|
6539
|
-
{
|
|
6540
|
+
{ client_session: [] },
|
|
6541
|
+
{ pat_with_workspace: [] },
|
|
6542
|
+
{ console_session: [] },
|
|
6543
|
+
{ api_key: [] },
|
|
6540
6544
|
],
|
|
6541
6545
|
summary: '/action_attempts/get',
|
|
6542
6546
|
tags: ['/action_attempts'],
|
|
@@ -7744,9 +7748,10 @@ export default {
|
|
|
7744
7748
|
401: { description: 'Unauthorized' },
|
|
7745
7749
|
},
|
|
7746
7750
|
security: [
|
|
7747
|
-
{
|
|
7748
|
-
{
|
|
7749
|
-
{
|
|
7751
|
+
{ client_session: [] },
|
|
7752
|
+
{ pat_with_workspace: [] },
|
|
7753
|
+
{ console_session: [] },
|
|
7754
|
+
{ api_key: [] },
|
|
7750
7755
|
],
|
|
7751
7756
|
summary: '/devices/get',
|
|
7752
7757
|
tags: ['/devices'],
|
|
@@ -7896,6 +7901,30 @@ export default {
|
|
|
7896
7901
|
},
|
|
7897
7902
|
type: 'array',
|
|
7898
7903
|
},
|
|
7904
|
+
exclude_if: {
|
|
7905
|
+
items: {
|
|
7906
|
+
enum: [
|
|
7907
|
+
'can_remotely_unlock',
|
|
7908
|
+
'can_remotely_lock',
|
|
7909
|
+
'can_program_online_access_codes',
|
|
7910
|
+
'can_simulate_removal',
|
|
7911
|
+
],
|
|
7912
|
+
type: 'string',
|
|
7913
|
+
},
|
|
7914
|
+
type: 'array',
|
|
7915
|
+
},
|
|
7916
|
+
include_if: {
|
|
7917
|
+
items: {
|
|
7918
|
+
enum: [
|
|
7919
|
+
'can_remotely_unlock',
|
|
7920
|
+
'can_remotely_lock',
|
|
7921
|
+
'can_program_online_access_codes',
|
|
7922
|
+
'can_simulate_removal',
|
|
7923
|
+
],
|
|
7924
|
+
type: 'string',
|
|
7925
|
+
},
|
|
7926
|
+
type: 'array',
|
|
7927
|
+
},
|
|
7899
7928
|
limit: { default: 500, nullable: true, type: 'number' },
|
|
7900
7929
|
manufacturer: {
|
|
7901
7930
|
enum: [
|
|
@@ -8264,6 +8293,30 @@ export default {
|
|
|
8264
8293
|
},
|
|
8265
8294
|
type: 'array',
|
|
8266
8295
|
},
|
|
8296
|
+
exclude_if: {
|
|
8297
|
+
items: {
|
|
8298
|
+
enum: [
|
|
8299
|
+
'can_remotely_unlock',
|
|
8300
|
+
'can_remotely_lock',
|
|
8301
|
+
'can_program_online_access_codes',
|
|
8302
|
+
'can_simulate_removal',
|
|
8303
|
+
],
|
|
8304
|
+
type: 'string',
|
|
8305
|
+
},
|
|
8306
|
+
type: 'array',
|
|
8307
|
+
},
|
|
8308
|
+
include_if: {
|
|
8309
|
+
items: {
|
|
8310
|
+
enum: [
|
|
8311
|
+
'can_remotely_unlock',
|
|
8312
|
+
'can_remotely_lock',
|
|
8313
|
+
'can_program_online_access_codes',
|
|
8314
|
+
'can_simulate_removal',
|
|
8315
|
+
],
|
|
8316
|
+
type: 'string',
|
|
8317
|
+
},
|
|
8318
|
+
type: 'array',
|
|
8319
|
+
},
|
|
8267
8320
|
limit: { default: 500, nullable: true, type: 'number' },
|
|
8268
8321
|
manufacturer: {
|
|
8269
8322
|
enum: [
|
|
@@ -9049,9 +9102,10 @@ export default {
|
|
|
9049
9102
|
401: { description: 'Unauthorized' },
|
|
9050
9103
|
},
|
|
9051
9104
|
security: [
|
|
9052
|
-
{
|
|
9053
|
-
{
|
|
9054
|
-
{
|
|
9105
|
+
{ client_session: [] },
|
|
9106
|
+
{ pat_with_workspace: [] },
|
|
9107
|
+
{ console_session: [] },
|
|
9108
|
+
{ api_key: [] },
|
|
9055
9109
|
],
|
|
9056
9110
|
summary: '/locks/get',
|
|
9057
9111
|
tags: ['/locks'],
|
|
@@ -9201,6 +9255,30 @@ export default {
|
|
|
9201
9255
|
},
|
|
9202
9256
|
type: 'array',
|
|
9203
9257
|
},
|
|
9258
|
+
exclude_if: {
|
|
9259
|
+
items: {
|
|
9260
|
+
enum: [
|
|
9261
|
+
'can_remotely_unlock',
|
|
9262
|
+
'can_remotely_lock',
|
|
9263
|
+
'can_program_online_access_codes',
|
|
9264
|
+
'can_simulate_removal',
|
|
9265
|
+
],
|
|
9266
|
+
type: 'string',
|
|
9267
|
+
},
|
|
9268
|
+
type: 'array',
|
|
9269
|
+
},
|
|
9270
|
+
include_if: {
|
|
9271
|
+
items: {
|
|
9272
|
+
enum: [
|
|
9273
|
+
'can_remotely_unlock',
|
|
9274
|
+
'can_remotely_lock',
|
|
9275
|
+
'can_program_online_access_codes',
|
|
9276
|
+
'can_simulate_removal',
|
|
9277
|
+
],
|
|
9278
|
+
type: 'string',
|
|
9279
|
+
},
|
|
9280
|
+
type: 'array',
|
|
9281
|
+
},
|
|
9204
9282
|
limit: { default: 500, nullable: true, type: 'number' },
|
|
9205
9283
|
manufacturer: {
|
|
9206
9284
|
enum: [
|
|
@@ -10912,6 +10990,30 @@ export default {
|
|
|
10912
10990
|
},
|
|
10913
10991
|
type: 'array',
|
|
10914
10992
|
},
|
|
10993
|
+
exclude_if: {
|
|
10994
|
+
items: {
|
|
10995
|
+
enum: [
|
|
10996
|
+
'can_remotely_unlock',
|
|
10997
|
+
'can_remotely_lock',
|
|
10998
|
+
'can_program_online_access_codes',
|
|
10999
|
+
'can_simulate_removal',
|
|
11000
|
+
],
|
|
11001
|
+
type: 'string',
|
|
11002
|
+
},
|
|
11003
|
+
type: 'array',
|
|
11004
|
+
},
|
|
11005
|
+
include_if: {
|
|
11006
|
+
items: {
|
|
11007
|
+
enum: [
|
|
11008
|
+
'can_remotely_unlock',
|
|
11009
|
+
'can_remotely_lock',
|
|
11010
|
+
'can_program_online_access_codes',
|
|
11011
|
+
'can_simulate_removal',
|
|
11012
|
+
],
|
|
11013
|
+
type: 'string',
|
|
11014
|
+
},
|
|
11015
|
+
type: 'array',
|
|
11016
|
+
},
|
|
10915
11017
|
limit: { default: 500, nullable: true, type: 'number' },
|
|
10916
11018
|
manufacturer: {
|
|
10917
11019
|
enum: [
|
|
@@ -2910,6 +2910,7 @@ export interface Routes {
|
|
|
2910
2910
|
can_remotely_unlock?: boolean | undefined
|
|
2911
2911
|
can_remotely_lock?: boolean | undefined
|
|
2912
2912
|
can_program_online_access_codes?: boolean | undefined
|
|
2913
|
+
can_simulate_removal?: boolean | undefined
|
|
2913
2914
|
}
|
|
2914
2915
|
}
|
|
2915
2916
|
}
|
|
@@ -3044,6 +3045,22 @@ export interface Routes {
|
|
|
3044
3045
|
created_before?: Date | undefined
|
|
3045
3046
|
user_identifier_key?: string | undefined
|
|
3046
3047
|
custom_metadata_has?: Record<string, string | boolean | null> | undefined
|
|
3048
|
+
include_if?:
|
|
3049
|
+
| Array<
|
|
3050
|
+
| 'can_remotely_unlock'
|
|
3051
|
+
| 'can_remotely_lock'
|
|
3052
|
+
| 'can_program_online_access_codes'
|
|
3053
|
+
| 'can_simulate_removal'
|
|
3054
|
+
>
|
|
3055
|
+
| undefined
|
|
3056
|
+
exclude_if?:
|
|
3057
|
+
| Array<
|
|
3058
|
+
| 'can_remotely_unlock'
|
|
3059
|
+
| 'can_remotely_lock'
|
|
3060
|
+
| 'can_program_online_access_codes'
|
|
3061
|
+
| 'can_simulate_removal'
|
|
3062
|
+
>
|
|
3063
|
+
| undefined
|
|
3047
3064
|
}
|
|
3048
3065
|
formData: {}
|
|
3049
3066
|
jsonResponse: {
|
|
@@ -3748,6 +3765,7 @@ export interface Routes {
|
|
|
3748
3765
|
can_remotely_unlock?: boolean | undefined
|
|
3749
3766
|
can_remotely_lock?: boolean | undefined
|
|
3750
3767
|
can_program_online_access_codes?: boolean | undefined
|
|
3768
|
+
can_simulate_removal?: boolean | undefined
|
|
3751
3769
|
}>
|
|
3752
3770
|
}
|
|
3753
3771
|
}
|
|
@@ -3952,6 +3970,7 @@ export interface Routes {
|
|
|
3952
3970
|
can_remotely_unlock?: boolean | undefined
|
|
3953
3971
|
can_remotely_lock?: boolean | undefined
|
|
3954
3972
|
can_program_online_access_codes?: boolean | undefined
|
|
3973
|
+
can_simulate_removal?: boolean | undefined
|
|
3955
3974
|
}
|
|
3956
3975
|
}
|
|
3957
3976
|
}
|
|
@@ -4086,6 +4105,22 @@ export interface Routes {
|
|
|
4086
4105
|
created_before?: Date | undefined
|
|
4087
4106
|
user_identifier_key?: string | undefined
|
|
4088
4107
|
custom_metadata_has?: Record<string, string | boolean | null> | undefined
|
|
4108
|
+
include_if?:
|
|
4109
|
+
| Array<
|
|
4110
|
+
| 'can_remotely_unlock'
|
|
4111
|
+
| 'can_remotely_lock'
|
|
4112
|
+
| 'can_program_online_access_codes'
|
|
4113
|
+
| 'can_simulate_removal'
|
|
4114
|
+
>
|
|
4115
|
+
| undefined
|
|
4116
|
+
exclude_if?:
|
|
4117
|
+
| Array<
|
|
4118
|
+
| 'can_remotely_unlock'
|
|
4119
|
+
| 'can_remotely_lock'
|
|
4120
|
+
| 'can_program_online_access_codes'
|
|
4121
|
+
| 'can_simulate_removal'
|
|
4122
|
+
>
|
|
4123
|
+
| undefined
|
|
4089
4124
|
}
|
|
4090
4125
|
formData: {}
|
|
4091
4126
|
jsonResponse: {
|
|
@@ -4199,6 +4234,7 @@ export interface Routes {
|
|
|
4199
4234
|
can_remotely_unlock?: boolean | undefined
|
|
4200
4235
|
can_remotely_lock?: boolean | undefined
|
|
4201
4236
|
can_program_online_access_codes?: boolean | undefined
|
|
4237
|
+
can_simulate_removal?: boolean | undefined
|
|
4202
4238
|
}>
|
|
4203
4239
|
}
|
|
4204
4240
|
}
|
|
@@ -5181,6 +5217,7 @@ export interface Routes {
|
|
|
5181
5217
|
can_remotely_unlock?: boolean | undefined
|
|
5182
5218
|
can_remotely_lock?: boolean | undefined
|
|
5183
5219
|
can_program_online_access_codes?: boolean | undefined
|
|
5220
|
+
can_simulate_removal?: boolean | undefined
|
|
5184
5221
|
}
|
|
5185
5222
|
device: {
|
|
5186
5223
|
/** Unique identifier for the device. */
|
|
@@ -5883,6 +5920,7 @@ export interface Routes {
|
|
|
5883
5920
|
can_remotely_unlock?: boolean | undefined
|
|
5884
5921
|
can_remotely_lock?: boolean | undefined
|
|
5885
5922
|
can_program_online_access_codes?: boolean | undefined
|
|
5923
|
+
can_simulate_removal?: boolean | undefined
|
|
5886
5924
|
}
|
|
5887
5925
|
}
|
|
5888
5926
|
}
|
|
@@ -6017,6 +6055,22 @@ export interface Routes {
|
|
|
6017
6055
|
created_before?: Date | undefined
|
|
6018
6056
|
user_identifier_key?: string | undefined
|
|
6019
6057
|
custom_metadata_has?: Record<string, string | boolean | null> | undefined
|
|
6058
|
+
include_if?:
|
|
6059
|
+
| Array<
|
|
6060
|
+
| 'can_remotely_unlock'
|
|
6061
|
+
| 'can_remotely_lock'
|
|
6062
|
+
| 'can_program_online_access_codes'
|
|
6063
|
+
| 'can_simulate_removal'
|
|
6064
|
+
>
|
|
6065
|
+
| undefined
|
|
6066
|
+
exclude_if?:
|
|
6067
|
+
| Array<
|
|
6068
|
+
| 'can_remotely_unlock'
|
|
6069
|
+
| 'can_remotely_lock'
|
|
6070
|
+
| 'can_program_online_access_codes'
|
|
6071
|
+
| 'can_simulate_removal'
|
|
6072
|
+
>
|
|
6073
|
+
| undefined
|
|
6020
6074
|
}
|
|
6021
6075
|
formData: {}
|
|
6022
6076
|
jsonResponse: {
|
|
@@ -6721,6 +6775,7 @@ export interface Routes {
|
|
|
6721
6775
|
can_remotely_unlock?: boolean | undefined
|
|
6722
6776
|
can_remotely_lock?: boolean | undefined
|
|
6723
6777
|
can_program_online_access_codes?: boolean | undefined
|
|
6778
|
+
can_simulate_removal?: boolean | undefined
|
|
6724
6779
|
}>
|
|
6725
6780
|
devices: Array<{
|
|
6726
6781
|
/** Unique identifier for the device. */
|
|
@@ -7423,6 +7478,7 @@ export interface Routes {
|
|
|
7423
7478
|
can_remotely_unlock?: boolean | undefined
|
|
7424
7479
|
can_remotely_lock?: boolean | undefined
|
|
7425
7480
|
can_program_online_access_codes?: boolean | undefined
|
|
7481
|
+
can_simulate_removal?: boolean | undefined
|
|
7426
7482
|
}>
|
|
7427
7483
|
}
|
|
7428
7484
|
}
|
|
@@ -7801,6 +7857,7 @@ export interface Routes {
|
|
|
7801
7857
|
can_remotely_unlock?: boolean | undefined
|
|
7802
7858
|
can_remotely_lock?: boolean | undefined
|
|
7803
7859
|
can_program_online_access_codes?: boolean | undefined
|
|
7860
|
+
can_simulate_removal?: boolean | undefined
|
|
7804
7861
|
}>
|
|
7805
7862
|
}
|
|
7806
7863
|
}
|
|
@@ -7884,6 +7941,7 @@ export interface Routes {
|
|
|
7884
7941
|
can_remotely_unlock?: boolean | undefined
|
|
7885
7942
|
can_remotely_lock?: boolean | undefined
|
|
7886
7943
|
can_program_online_access_codes?: boolean | undefined
|
|
7944
|
+
can_simulate_removal?: boolean | undefined
|
|
7887
7945
|
}
|
|
7888
7946
|
}
|
|
7889
7947
|
}
|
|
@@ -8800,6 +8858,7 @@ export interface Routes {
|
|
|
8800
8858
|
can_remotely_unlock?: boolean | undefined
|
|
8801
8859
|
can_remotely_lock?: boolean | undefined
|
|
8802
8860
|
can_program_online_access_codes?: boolean | undefined
|
|
8861
|
+
can_simulate_removal?: boolean | undefined
|
|
8803
8862
|
}
|
|
8804
8863
|
}
|
|
8805
8864
|
}
|
|
@@ -9016,6 +9075,22 @@ export interface Routes {
|
|
|
9016
9075
|
created_before?: Date | undefined
|
|
9017
9076
|
user_identifier_key?: string | undefined
|
|
9018
9077
|
custom_metadata_has?: Record<string, string | boolean | null> | undefined
|
|
9078
|
+
include_if?:
|
|
9079
|
+
| Array<
|
|
9080
|
+
| 'can_remotely_unlock'
|
|
9081
|
+
| 'can_remotely_lock'
|
|
9082
|
+
| 'can_program_online_access_codes'
|
|
9083
|
+
| 'can_simulate_removal'
|
|
9084
|
+
>
|
|
9085
|
+
| undefined
|
|
9086
|
+
exclude_if?:
|
|
9087
|
+
| Array<
|
|
9088
|
+
| 'can_remotely_unlock'
|
|
9089
|
+
| 'can_remotely_lock'
|
|
9090
|
+
| 'can_program_online_access_codes'
|
|
9091
|
+
| 'can_simulate_removal'
|
|
9092
|
+
>
|
|
9093
|
+
| undefined
|
|
9019
9094
|
}
|
|
9020
9095
|
formData: {}
|
|
9021
9096
|
jsonResponse: {
|
|
@@ -9720,6 +9795,7 @@ export interface Routes {
|
|
|
9720
9795
|
can_remotely_unlock?: boolean | undefined
|
|
9721
9796
|
can_remotely_lock?: boolean | undefined
|
|
9722
9797
|
can_program_online_access_codes?: boolean | undefined
|
|
9798
|
+
can_simulate_removal?: boolean | undefined
|
|
9723
9799
|
}>
|
|
9724
9800
|
}
|
|
9725
9801
|
}
|
|
@@ -10714,6 +10790,7 @@ export interface Routes {
|
|
|
10714
10790
|
can_remotely_unlock?: boolean | undefined
|
|
10715
10791
|
can_remotely_lock?: boolean | undefined
|
|
10716
10792
|
can_program_online_access_codes?: boolean | undefined
|
|
10793
|
+
can_simulate_removal?: boolean | undefined
|
|
10717
10794
|
}>
|
|
10718
10795
|
}
|
|
10719
10796
|
}
|
|
@@ -3,13 +3,18 @@ import { z } from 'zod'
|
|
|
3
3
|
|
|
4
4
|
import { schemas as devicedb_schemas } from '@seamapi/types/devicedb'
|
|
5
5
|
|
|
6
|
-
import { custom_metadata } from '../../../
|
|
6
|
+
import { custom_metadata } from '../../../models/custom-metadata.js'
|
|
7
7
|
import { capability_properties } from '../capability-properties/index.js'
|
|
8
8
|
import { capabilities } from './capabilities-supported.js'
|
|
9
9
|
import { device_metadata } from './device-metadata.js'
|
|
10
10
|
import { any_device_type } from './device-type.js'
|
|
11
11
|
import { phone_specific_properties } from './phone-properties.js'
|
|
12
12
|
|
|
13
|
+
export const device_capability_flags =
|
|
14
|
+
devicedb_schemas.device_capability_flags.extend({
|
|
15
|
+
can_simulate_removal: z.boolean().optional(),
|
|
16
|
+
})
|
|
17
|
+
|
|
13
18
|
export const battery_status = z.enum(['critical', 'low', 'good', 'full'])
|
|
14
19
|
|
|
15
20
|
export type BatteryStatus = z.infer<typeof battery_status>
|
|
@@ -202,7 +207,7 @@ export const managed_device = z
|
|
|
202
207
|
.describe('Indicates whether Seam manages the device.'),
|
|
203
208
|
custom_metadata: custom_metadata.optional(),
|
|
204
209
|
})
|
|
205
|
-
.merge(
|
|
210
|
+
.merge(device_capability_flags)
|
|
206
211
|
|
|
207
212
|
export type ManagedDevice = z.infer<typeof managed_device>
|
|
208
213
|
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import {
|
|
4
|
+
common_device_properties,
|
|
5
|
+
device_capability_flags,
|
|
6
|
+
managed_device,
|
|
7
|
+
} from './managed-device.js'
|
|
6
8
|
|
|
7
9
|
export const unmanaged_device = managed_device
|
|
8
10
|
.pick({
|
|
@@ -30,6 +32,6 @@ export const unmanaged_device = managed_device
|
|
|
30
32
|
model: true,
|
|
31
33
|
}),
|
|
32
34
|
})
|
|
33
|
-
.merge(
|
|
35
|
+
.merge(device_capability_flags)
|
|
34
36
|
|
|
35
37
|
export type UnmanagedDevice = z.infer<typeof unmanaged_device>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"model-types.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/stable/model-types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connect-webview.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/stable/models/connect-webview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAClD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;IAC7D,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACvC,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACrC,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE;IACjC,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;IACnD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAChD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxD,eAAe;IACf,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/stable/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CACL,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAClB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CACtD;KACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/stable/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/stable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|