@seamapi/types 1.132.1 → 1.134.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 +62 -48
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +233 -182
- package/dist/devicedb.cjs +3 -0
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +21 -0
- package/lib/seam/connect/openapi.d.ts +231 -180
- package/lib/seam/connect/openapi.js +59 -45
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -2
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +3 -0
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +3 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +3 -0
- package/lib/seam/devicedb/models/device-capability.d.ts +6 -0
- package/lib/seam/devicedb/models/device-capability.js +2 -0
- package/lib/seam/devicedb/models/device-capability.js.map +1 -1
- package/lib/seam/devicedb/models/device-model.d.ts +6 -0
- package/lib/seam/devicedb/models/device-model.js +1 -0
- package/lib/seam/devicedb/models/device-model.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +10 -0
- package/lib/seam/devicedb/route-types.d.ts +2 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +59 -45
- package/src/lib/seam/connect/route-types.ts +2 -0
- package/src/lib/seam/devicedb/models/device-capability.ts +2 -0
- package/src/lib/seam/devicedb/models/device-model.ts +1 -0
- package/src/lib/seam/devicedb/route-types.ts +2 -0
|
@@ -3152,8 +3152,8 @@ export interface Routes {
|
|
|
3152
3152
|
device_ids?: string[] | undefined;
|
|
3153
3153
|
access_code_id?: string | undefined;
|
|
3154
3154
|
access_code_ids?: string[] | undefined;
|
|
3155
|
-
event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted') | undefined;
|
|
3156
|
-
event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted'> | undefined;
|
|
3155
|
+
event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted') | undefined;
|
|
3156
|
+
event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted'> | undefined;
|
|
3157
3157
|
connected_account_id?: string | undefined;
|
|
3158
3158
|
limit?: number;
|
|
3159
3159
|
};
|
|
@@ -2052,6 +2052,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2052
2052
|
nickname: z.ZodOptional<z.ZodString>;
|
|
2053
2053
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
2054
2054
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
2055
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2055
2056
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2056
2057
|
}, "strip", z.ZodTypeAny, {
|
|
2057
2058
|
location: {
|
|
@@ -2901,6 +2902,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2901
2902
|
nickname?: string | undefined;
|
|
2902
2903
|
can_remotely_unlock?: boolean | undefined;
|
|
2903
2904
|
can_remotely_lock?: boolean | undefined;
|
|
2905
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
2904
2906
|
can_program_online_access_codes?: boolean | undefined;
|
|
2905
2907
|
}, {
|
|
2906
2908
|
location: {
|
|
@@ -3750,6 +3752,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3750
3752
|
nickname?: string | undefined;
|
|
3751
3753
|
can_remotely_unlock?: boolean | undefined;
|
|
3752
3754
|
can_remotely_lock?: boolean | undefined;
|
|
3755
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
3753
3756
|
can_program_online_access_codes?: boolean | undefined;
|
|
3754
3757
|
}>;
|
|
3755
3758
|
export type ManagedDevice = z.infer<typeof managed_device>;
|
|
@@ -41,6 +41,7 @@ export declare const phone: z.ZodObject<{
|
|
|
41
41
|
}>, "many">;
|
|
42
42
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
44
45
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
45
46
|
nickname: z.ZodOptional<z.ZodString>;
|
|
46
47
|
properties: z.ZodObject<{
|
|
@@ -118,6 +119,7 @@ export declare const phone: z.ZodObject<{
|
|
|
118
119
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
119
120
|
can_remotely_unlock?: boolean | undefined;
|
|
120
121
|
can_remotely_lock?: boolean | undefined;
|
|
122
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
121
123
|
can_program_online_access_codes?: boolean | undefined;
|
|
122
124
|
nickname?: string | undefined;
|
|
123
125
|
}, {
|
|
@@ -152,6 +154,7 @@ export declare const phone: z.ZodObject<{
|
|
|
152
154
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
153
155
|
can_remotely_unlock?: boolean | undefined;
|
|
154
156
|
can_remotely_lock?: boolean | undefined;
|
|
157
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
155
158
|
can_program_online_access_codes?: boolean | undefined;
|
|
156
159
|
nickname?: string | undefined;
|
|
157
160
|
}>;
|
|
@@ -119,6 +119,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
119
119
|
}>, "many">;
|
|
120
120
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
121
121
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
122
123
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
123
124
|
}, "strip", z.ZodTypeAny, {
|
|
124
125
|
connected_account_id: string;
|
|
@@ -159,6 +160,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
159
160
|
}[];
|
|
160
161
|
can_remotely_unlock?: boolean | undefined;
|
|
161
162
|
can_remotely_lock?: boolean | undefined;
|
|
163
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
162
164
|
can_program_online_access_codes?: boolean | undefined;
|
|
163
165
|
}, {
|
|
164
166
|
connected_account_id: string;
|
|
@@ -199,6 +201,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
199
201
|
}[];
|
|
200
202
|
can_remotely_unlock?: boolean | undefined;
|
|
201
203
|
can_remotely_lock?: boolean | undefined;
|
|
204
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
202
205
|
can_program_online_access_codes?: boolean | undefined;
|
|
203
206
|
}>;
|
|
204
207
|
export type UnmanagedDevice = z.infer<typeof unmanaged_device>;
|
|
@@ -2,26 +2,32 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const device_capability_flags: z.ZodObject<{
|
|
3
3
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
4
4
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
5
6
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
6
7
|
}, "strip", z.ZodTypeAny, {
|
|
7
8
|
can_remotely_unlock?: boolean | undefined;
|
|
8
9
|
can_remotely_lock?: boolean | undefined;
|
|
10
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
9
11
|
can_program_online_access_codes?: boolean | undefined;
|
|
10
12
|
}, {
|
|
11
13
|
can_remotely_unlock?: boolean | undefined;
|
|
12
14
|
can_remotely_lock?: boolean | undefined;
|
|
15
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
13
16
|
can_program_online_access_codes?: boolean | undefined;
|
|
14
17
|
}>;
|
|
15
18
|
export declare const device_model_capability_flags: z.ZodObject<{
|
|
16
19
|
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17
20
|
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
21
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
18
22
|
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
19
23
|
}, "strip", z.ZodTypeAny, {
|
|
20
24
|
can_remotely_unlock?: true | undefined;
|
|
21
25
|
can_remotely_lock?: true | undefined;
|
|
26
|
+
can_program_offline_access_codes?: true | undefined;
|
|
22
27
|
can_program_online_access_codes?: true | undefined;
|
|
23
28
|
}, {
|
|
24
29
|
can_remotely_unlock?: true | undefined;
|
|
25
30
|
can_remotely_lock?: true | undefined;
|
|
31
|
+
can_program_offline_access_codes?: true | undefined;
|
|
26
32
|
can_program_online_access_codes?: true | undefined;
|
|
27
33
|
}>;
|
|
@@ -3,12 +3,14 @@ export const device_capability_flags = z
|
|
|
3
3
|
.object({
|
|
4
4
|
can_remotely_unlock: z.boolean(),
|
|
5
5
|
can_remotely_lock: z.boolean(),
|
|
6
|
+
can_program_offline_access_codes: z.boolean(),
|
|
6
7
|
can_program_online_access_codes: z.boolean(),
|
|
7
8
|
})
|
|
8
9
|
.partial();
|
|
9
10
|
const device_model_capability_flags_map = {
|
|
10
11
|
can_remotely_lock: z.literal(true),
|
|
11
12
|
can_remotely_unlock: z.literal(true),
|
|
13
|
+
can_program_offline_access_codes: z.literal(true),
|
|
12
14
|
can_program_online_access_codes: z.literal(true),
|
|
13
15
|
};
|
|
14
16
|
export const device_model_capability_flags = z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAA;AAExC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,+BAA+B,EAAE,CAAC,CAAC,OAAO,EAAE;CAC7C,CAAC;KACD,OAAO,EAAE,CAAA;AAEZ,MAAM,iCAAiC,GAGnC;IACF,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAClC,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACpC,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACjD,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC,iCAAiC,CAAC;KACzC,OAAO,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"device-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAA;AAExC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,+BAA+B,EAAE,CAAC,CAAC,OAAO,EAAE;CAC7C,CAAC;KACD,OAAO,EAAE,CAAA;AAEZ,MAAM,iCAAiC,GAGnC;IACF,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAClC,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACpC,gCAAgC,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACjD,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACjD,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC,iCAAiC,CAAC;KACzC,OAAO,EAAE,CAAA"}
|
|
@@ -100,6 +100,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
|
|
|
100
100
|
}>;
|
|
101
101
|
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
102
102
|
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
103
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
103
104
|
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
104
105
|
}, "strip", z.ZodTypeAny, {
|
|
105
106
|
main_category: "smartlock";
|
|
@@ -116,6 +117,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
|
|
|
116
117
|
};
|
|
117
118
|
can_remotely_unlock?: true | undefined;
|
|
118
119
|
can_remotely_lock?: true | undefined;
|
|
120
|
+
can_program_offline_access_codes?: true | undefined;
|
|
119
121
|
can_program_online_access_codes?: true | undefined;
|
|
120
122
|
}, {
|
|
121
123
|
main_category: "smartlock";
|
|
@@ -132,6 +134,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
|
|
|
132
134
|
};
|
|
133
135
|
can_remotely_unlock?: true | undefined;
|
|
134
136
|
can_remotely_lock?: true | undefined;
|
|
137
|
+
can_program_offline_access_codes?: true | undefined;
|
|
135
138
|
can_program_online_access_codes?: true | undefined;
|
|
136
139
|
}>, z.ZodObject<{
|
|
137
140
|
main_category: z.ZodLiteral<"sensor">;
|
|
@@ -863,6 +866,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
863
866
|
}>;
|
|
864
867
|
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
865
868
|
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
869
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
866
870
|
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
867
871
|
}, "strip", z.ZodTypeAny, {
|
|
868
872
|
main_category: "smartlock";
|
|
@@ -879,6 +883,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
879
883
|
};
|
|
880
884
|
can_remotely_unlock?: true | undefined;
|
|
881
885
|
can_remotely_lock?: true | undefined;
|
|
886
|
+
can_program_offline_access_codes?: true | undefined;
|
|
882
887
|
can_program_online_access_codes?: true | undefined;
|
|
883
888
|
}, {
|
|
884
889
|
main_category: "smartlock";
|
|
@@ -895,6 +900,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
895
900
|
};
|
|
896
901
|
can_remotely_unlock?: true | undefined;
|
|
897
902
|
can_remotely_lock?: true | undefined;
|
|
903
|
+
can_program_offline_access_codes?: true | undefined;
|
|
898
904
|
can_program_online_access_codes?: true | undefined;
|
|
899
905
|
}>, z.ZodObject<{
|
|
900
906
|
main_category: z.ZodLiteral<"sensor">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-model.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,UAAU;IACV,WAAW;CACZ,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;CACV,CAAC,CAAA;AAIF,MAAM,SAAS,GAAG,CAAC;KAChB,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC;IACxD,mBAAmB,EAAE,CAAC,CAAC,MAAM,CAAC;QAC5B,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC;YAChB,UAAU;YACV,OAAO;YACP,SAAS;YACT,SAAS;YACT,UAAU;YACV,SAAS;YACT,QAAQ;YACR,SAAS;SACV,CAAC;QACF,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;QAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;KACxB,CAAC;IACF,iBAAiB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AAM,eAAe,GAAG,oBAAoB,CAAC,GAAG,CACrD,yCAAyC,CAC1C,CAAA"}
|
|
1
|
+
{"version":3,"file":"device-model.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,UAAU;IACV,WAAW;CACZ,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;CACV,CAAC,CAAA;AAIF,MAAM,SAAS,GAAG,CAAC;KAChB,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC;IACxD,mBAAmB,EAAE,CAAC,CAAC,MAAM,CAAC;QAC5B,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC;YAChB,UAAU;YACV,OAAO;YACP,SAAS;YACT,SAAS;YACT,UAAU;YACV,SAAS;YACT,QAAQ;YACR,SAAS;SACV,CAAC;QACF,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;QAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;KACxB,CAAC;IACF,iBAAiB,EAAE,CAAC,CAAC,MAAM,CAAC;QAC1B,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;QAChC,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE;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const routes: {
|
|
|
306
306
|
}>;
|
|
307
307
|
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
308
308
|
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
309
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
309
310
|
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
310
311
|
}, "strip", z.ZodTypeAny, {
|
|
311
312
|
main_category: "smartlock";
|
|
@@ -322,6 +323,7 @@ export declare const routes: {
|
|
|
322
323
|
};
|
|
323
324
|
can_remotely_unlock?: true | undefined;
|
|
324
325
|
can_remotely_lock?: true | undefined;
|
|
326
|
+
can_program_offline_access_codes?: true | undefined;
|
|
325
327
|
can_program_online_access_codes?: true | undefined;
|
|
326
328
|
}, {
|
|
327
329
|
main_category: "smartlock";
|
|
@@ -338,6 +340,7 @@ export declare const routes: {
|
|
|
338
340
|
};
|
|
339
341
|
can_remotely_unlock?: true | undefined;
|
|
340
342
|
can_remotely_lock?: true | undefined;
|
|
343
|
+
can_program_offline_access_codes?: true | undefined;
|
|
341
344
|
can_program_online_access_codes?: true | undefined;
|
|
342
345
|
}>, z.ZodObject<{
|
|
343
346
|
main_category: z.ZodLiteral<"sensor">;
|
|
@@ -575,6 +578,7 @@ export declare const routes: {
|
|
|
575
578
|
};
|
|
576
579
|
can_remotely_unlock?: true | undefined;
|
|
577
580
|
can_remotely_lock?: true | undefined;
|
|
581
|
+
can_program_offline_access_codes?: true | undefined;
|
|
578
582
|
can_program_online_access_codes?: true | undefined;
|
|
579
583
|
}) | ({
|
|
580
584
|
description: string;
|
|
@@ -927,6 +931,7 @@ export declare const routes: {
|
|
|
927
931
|
};
|
|
928
932
|
can_remotely_unlock?: true | undefined;
|
|
929
933
|
can_remotely_lock?: true | undefined;
|
|
934
|
+
can_program_offline_access_codes?: true | undefined;
|
|
930
935
|
can_program_online_access_codes?: true | undefined;
|
|
931
936
|
}) | ({
|
|
932
937
|
description: string;
|
|
@@ -1544,6 +1549,7 @@ export declare const routes: {
|
|
|
1544
1549
|
}>;
|
|
1545
1550
|
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1546
1551
|
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1552
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1547
1553
|
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1548
1554
|
}, "strip", z.ZodTypeAny, {
|
|
1549
1555
|
main_category: "smartlock";
|
|
@@ -1560,6 +1566,7 @@ export declare const routes: {
|
|
|
1560
1566
|
};
|
|
1561
1567
|
can_remotely_unlock?: true | undefined;
|
|
1562
1568
|
can_remotely_lock?: true | undefined;
|
|
1569
|
+
can_program_offline_access_codes?: true | undefined;
|
|
1563
1570
|
can_program_online_access_codes?: true | undefined;
|
|
1564
1571
|
}, {
|
|
1565
1572
|
main_category: "smartlock";
|
|
@@ -1576,6 +1583,7 @@ export declare const routes: {
|
|
|
1576
1583
|
};
|
|
1577
1584
|
can_remotely_unlock?: true | undefined;
|
|
1578
1585
|
can_remotely_lock?: true | undefined;
|
|
1586
|
+
can_program_offline_access_codes?: true | undefined;
|
|
1579
1587
|
can_program_online_access_codes?: true | undefined;
|
|
1580
1588
|
}>, z.ZodObject<{
|
|
1581
1589
|
main_category: z.ZodLiteral<"sensor">;
|
|
@@ -1813,6 +1821,7 @@ export declare const routes: {
|
|
|
1813
1821
|
};
|
|
1814
1822
|
can_remotely_unlock?: true | undefined;
|
|
1815
1823
|
can_remotely_lock?: true | undefined;
|
|
1824
|
+
can_program_offline_access_codes?: true | undefined;
|
|
1816
1825
|
can_program_online_access_codes?: true | undefined;
|
|
1817
1826
|
} | {
|
|
1818
1827
|
main_category: "sensor";
|
|
@@ -1920,6 +1929,7 @@ export declare const routes: {
|
|
|
1920
1929
|
};
|
|
1921
1930
|
can_remotely_unlock?: true | undefined;
|
|
1922
1931
|
can_remotely_lock?: true | undefined;
|
|
1932
|
+
can_program_offline_access_codes?: true | undefined;
|
|
1923
1933
|
can_program_online_access_codes?: true | undefined;
|
|
1924
1934
|
} | {
|
|
1925
1935
|
main_category: "sensor";
|
|
@@ -73,6 +73,7 @@ export interface Routes {
|
|
|
73
73
|
};
|
|
74
74
|
can_remotely_lock?: true | undefined;
|
|
75
75
|
can_remotely_unlock?: true | undefined;
|
|
76
|
+
can_program_offline_access_codes?: true | undefined;
|
|
76
77
|
can_program_online_access_codes?: true | undefined;
|
|
77
78
|
} | {
|
|
78
79
|
main_category: 'sensor';
|
|
@@ -198,6 +199,7 @@ export interface Routes {
|
|
|
198
199
|
};
|
|
199
200
|
can_remotely_lock?: true | undefined;
|
|
200
201
|
can_remotely_unlock?: true | undefined;
|
|
202
|
+
can_program_offline_access_codes?: true | undefined;
|
|
201
203
|
can_program_online_access_codes?: true | undefined;
|
|
202
204
|
} | {
|
|
203
205
|
main_category: 'sensor';
|
package/package.json
CHANGED
|
@@ -8506,6 +8506,7 @@ export default {
|
|
|
8506
8506
|
'device.converted_to_unmanaged',
|
|
8507
8507
|
'device.unmanaged.converted_to_managed',
|
|
8508
8508
|
'device.removed',
|
|
8509
|
+
'device.deleted',
|
|
8509
8510
|
'device.tampered',
|
|
8510
8511
|
'device.low_battery',
|
|
8511
8512
|
'device.battery_status_changed',
|
|
@@ -8562,6 +8563,7 @@ export default {
|
|
|
8562
8563
|
'device.converted_to_unmanaged',
|
|
8563
8564
|
'device.unmanaged.converted_to_managed',
|
|
8564
8565
|
'device.removed',
|
|
8566
|
+
'device.deleted',
|
|
8565
8567
|
'device.tampered',
|
|
8566
8568
|
'device.low_battery',
|
|
8567
8569
|
'device.battery_status_changed',
|
|
@@ -9144,9 +9146,10 @@ export default {
|
|
|
9144
9146
|
401: { description: 'Unauthorized' },
|
|
9145
9147
|
},
|
|
9146
9148
|
security: [
|
|
9147
|
-
{
|
|
9148
|
-
{
|
|
9149
|
-
{
|
|
9149
|
+
{ client_session: [] },
|
|
9150
|
+
{ pat_with_workspace: [] },
|
|
9151
|
+
{ console_session: [] },
|
|
9152
|
+
{ api_key: [] },
|
|
9150
9153
|
],
|
|
9151
9154
|
summary: '/locks/list',
|
|
9152
9155
|
tags: ['/locks'],
|
|
@@ -10011,9 +10014,10 @@ export default {
|
|
|
10011
10014
|
401: { description: 'Unauthorized' },
|
|
10012
10015
|
},
|
|
10013
10016
|
security: [
|
|
10014
|
-
{
|
|
10015
|
-
{
|
|
10016
|
-
{
|
|
10017
|
+
{ client_session: [] },
|
|
10018
|
+
{ pat_with_workspace: [] },
|
|
10019
|
+
{ console_session: [] },
|
|
10020
|
+
{ api_key: [] },
|
|
10017
10021
|
],
|
|
10018
10022
|
summary: '/thermostats/climate_setting_schedules/create',
|
|
10019
10023
|
tags: ['/thermostats'],
|
|
@@ -10058,9 +10062,10 @@ export default {
|
|
|
10058
10062
|
401: { description: 'Unauthorized' },
|
|
10059
10063
|
},
|
|
10060
10064
|
security: [
|
|
10061
|
-
{
|
|
10062
|
-
{
|
|
10063
|
-
{
|
|
10065
|
+
{ client_session: [] },
|
|
10066
|
+
{ pat_with_workspace: [] },
|
|
10067
|
+
{ console_session: [] },
|
|
10068
|
+
{ api_key: [] },
|
|
10064
10069
|
],
|
|
10065
10070
|
summary: '/thermostats/climate_setting_schedules/delete',
|
|
10066
10071
|
tags: ['/thermostats'],
|
|
@@ -10102,9 +10107,10 @@ export default {
|
|
|
10102
10107
|
401: { description: 'Unauthorized' },
|
|
10103
10108
|
},
|
|
10104
10109
|
security: [
|
|
10105
|
-
{
|
|
10106
|
-
{
|
|
10107
|
-
{
|
|
10110
|
+
{ client_session: [] },
|
|
10111
|
+
{ pat_with_workspace: [] },
|
|
10112
|
+
{ console_session: [] },
|
|
10113
|
+
{ api_key: [] },
|
|
10108
10114
|
],
|
|
10109
10115
|
summary: '/thermostats/climate_setting_schedules/delete',
|
|
10110
10116
|
tags: ['/thermostats'],
|
|
@@ -10152,9 +10158,10 @@ export default {
|
|
|
10152
10158
|
401: { description: 'Unauthorized' },
|
|
10153
10159
|
},
|
|
10154
10160
|
security: [
|
|
10155
|
-
{
|
|
10156
|
-
{
|
|
10157
|
-
{
|
|
10161
|
+
{ client_session: [] },
|
|
10162
|
+
{ pat_with_workspace: [] },
|
|
10163
|
+
{ console_session: [] },
|
|
10164
|
+
{ api_key: [] },
|
|
10158
10165
|
],
|
|
10159
10166
|
summary: '/thermostats/climate_setting_schedules/get',
|
|
10160
10167
|
tags: ['/thermostats'],
|
|
@@ -10205,9 +10212,10 @@ export default {
|
|
|
10205
10212
|
401: { description: 'Unauthorized' },
|
|
10206
10213
|
},
|
|
10207
10214
|
security: [
|
|
10208
|
-
{
|
|
10209
|
-
{
|
|
10210
|
-
{
|
|
10215
|
+
{ api_key: [] },
|
|
10216
|
+
{ client_session: [] },
|
|
10217
|
+
{ pat_with_workspace: [] },
|
|
10218
|
+
{ console_session: [] },
|
|
10211
10219
|
],
|
|
10212
10220
|
summary: '/thermostats/climate_setting_schedules/list',
|
|
10213
10221
|
tags: ['/thermostats'],
|
|
@@ -10276,9 +10284,10 @@ export default {
|
|
|
10276
10284
|
401: { description: 'Unauthorized' },
|
|
10277
10285
|
},
|
|
10278
10286
|
security: [
|
|
10279
|
-
{
|
|
10280
|
-
{
|
|
10281
|
-
{
|
|
10287
|
+
{ client_session: [] },
|
|
10288
|
+
{ pat_with_workspace: [] },
|
|
10289
|
+
{ console_session: [] },
|
|
10290
|
+
{ api_key: [] },
|
|
10282
10291
|
],
|
|
10283
10292
|
summary: '/thermostats/climate_setting_schedules/update',
|
|
10284
10293
|
tags: ['/thermostats'],
|
|
@@ -10343,9 +10352,10 @@ export default {
|
|
|
10343
10352
|
401: { description: 'Unauthorized' },
|
|
10344
10353
|
},
|
|
10345
10354
|
security: [
|
|
10346
|
-
{
|
|
10347
|
-
{
|
|
10348
|
-
{
|
|
10355
|
+
{ client_session: [] },
|
|
10356
|
+
{ pat_with_workspace: [] },
|
|
10357
|
+
{ console_session: [] },
|
|
10358
|
+
{ api_key: [] },
|
|
10349
10359
|
],
|
|
10350
10360
|
summary: '/thermostats/climate_setting_schedules/update',
|
|
10351
10361
|
tags: ['/thermostats'],
|
|
@@ -10412,9 +10422,10 @@ export default {
|
|
|
10412
10422
|
401: { description: 'Unauthorized' },
|
|
10413
10423
|
},
|
|
10414
10424
|
security: [
|
|
10415
|
-
{
|
|
10416
|
-
{
|
|
10417
|
-
{
|
|
10425
|
+
{ client_session: [] },
|
|
10426
|
+
{ pat_with_workspace: [] },
|
|
10427
|
+
{ console_session: [] },
|
|
10428
|
+
{ api_key: [] },
|
|
10418
10429
|
],
|
|
10419
10430
|
summary: '/thermostats/climate_setting_schedules/update',
|
|
10420
10431
|
tags: ['/thermostats'],
|
|
@@ -10462,9 +10473,9 @@ export default {
|
|
|
10462
10473
|
401: { description: 'Unauthorized' },
|
|
10463
10474
|
},
|
|
10464
10475
|
security: [
|
|
10465
|
-
{
|
|
10466
|
-
{
|
|
10467
|
-
{
|
|
10476
|
+
{ api_key: [] },
|
|
10477
|
+
{ client_session: [] },
|
|
10478
|
+
{ pat_with_workspace: [] },
|
|
10468
10479
|
],
|
|
10469
10480
|
summary: '/thermostats/cool',
|
|
10470
10481
|
tags: ['/thermostats'],
|
|
@@ -10509,9 +10520,9 @@ export default {
|
|
|
10509
10520
|
401: { description: 'Unauthorized' },
|
|
10510
10521
|
},
|
|
10511
10522
|
security: [
|
|
10512
|
-
{
|
|
10513
|
-
{
|
|
10514
|
-
{
|
|
10523
|
+
{ api_key: [] },
|
|
10524
|
+
{ client_session: [] },
|
|
10525
|
+
{ pat_with_workspace: [] },
|
|
10515
10526
|
],
|
|
10516
10527
|
summary: '/thermostats/get',
|
|
10517
10528
|
tags: ['/thermostats'],
|
|
@@ -10561,9 +10572,9 @@ export default {
|
|
|
10561
10572
|
401: { description: 'Unauthorized' },
|
|
10562
10573
|
},
|
|
10563
10574
|
security: [
|
|
10564
|
-
{
|
|
10565
|
-
{
|
|
10566
|
-
{
|
|
10575
|
+
{ api_key: [] },
|
|
10576
|
+
{ client_session: [] },
|
|
10577
|
+
{ pat_with_workspace: [] },
|
|
10567
10578
|
],
|
|
10568
10579
|
summary: '/thermostats/heat',
|
|
10569
10580
|
tags: ['/thermostats'],
|
|
@@ -10615,9 +10626,9 @@ export default {
|
|
|
10615
10626
|
401: { description: 'Unauthorized' },
|
|
10616
10627
|
},
|
|
10617
10628
|
security: [
|
|
10618
|
-
{
|
|
10619
|
-
{
|
|
10620
|
-
{
|
|
10629
|
+
{ api_key: [] },
|
|
10630
|
+
{ client_session: [] },
|
|
10631
|
+
{ pat_with_workspace: [] },
|
|
10621
10632
|
],
|
|
10622
10633
|
summary: '/thermostats/heat_cool',
|
|
10623
10634
|
tags: ['/thermostats'],
|
|
@@ -10840,6 +10851,7 @@ export default {
|
|
|
10840
10851
|
{ api_key: [] },
|
|
10841
10852
|
{ pat_with_workspace: [] },
|
|
10842
10853
|
{ console_session: [] },
|
|
10854
|
+
{ client_session: [] },
|
|
10843
10855
|
],
|
|
10844
10856
|
summary: '/thermostats/list',
|
|
10845
10857
|
tags: ['/thermostats'],
|
|
@@ -10887,9 +10899,9 @@ export default {
|
|
|
10887
10899
|
401: { description: 'Unauthorized' },
|
|
10888
10900
|
},
|
|
10889
10901
|
security: [
|
|
10890
|
-
{
|
|
10891
|
-
{
|
|
10892
|
-
{
|
|
10902
|
+
{ api_key: [] },
|
|
10903
|
+
{ client_session: [] },
|
|
10904
|
+
{ pat_with_workspace: [] },
|
|
10893
10905
|
],
|
|
10894
10906
|
summary: '/thermostats/off',
|
|
10895
10907
|
tags: ['/thermostats'],
|
|
@@ -10939,9 +10951,9 @@ export default {
|
|
|
10939
10951
|
401: { description: 'Unauthorized' },
|
|
10940
10952
|
},
|
|
10941
10953
|
security: [
|
|
10942
|
-
{
|
|
10943
|
-
{
|
|
10944
|
-
{
|
|
10954
|
+
{ api_key: [] },
|
|
10955
|
+
{ client_session: [] },
|
|
10956
|
+
{ pat_with_workspace: [] },
|
|
10945
10957
|
],
|
|
10946
10958
|
summary: '/thermostats/set_fan_mode',
|
|
10947
10959
|
tags: ['/thermostats'],
|
|
@@ -11002,6 +11014,7 @@ export default {
|
|
|
11002
11014
|
{ api_key: [] },
|
|
11003
11015
|
{ pat_with_workspace: [] },
|
|
11004
11016
|
{ console_session: [] },
|
|
11017
|
+
{ client_session: [] },
|
|
11005
11018
|
],
|
|
11006
11019
|
summary: '/thermostats/update',
|
|
11007
11020
|
tags: ['/thermostats'],
|
|
@@ -11058,6 +11071,7 @@ export default {
|
|
|
11058
11071
|
{ api_key: [] },
|
|
11059
11072
|
{ pat_with_workspace: [] },
|
|
11060
11073
|
{ console_session: [] },
|
|
11074
|
+
{ client_session: [] },
|
|
11061
11075
|
],
|
|
11062
11076
|
summary: '/thermostats/update',
|
|
11063
11077
|
tags: ['/thermostats'],
|
|
@@ -4214,6 +4214,7 @@ export interface Routes {
|
|
|
4214
4214
|
| 'device.converted_to_unmanaged'
|
|
4215
4215
|
| 'device.unmanaged.converted_to_managed'
|
|
4216
4216
|
| 'device.removed'
|
|
4217
|
+
| 'device.deleted'
|
|
4217
4218
|
| 'device.tampered'
|
|
4218
4219
|
| 'device.low_battery'
|
|
4219
4220
|
| 'device.battery_status_changed'
|
|
@@ -4268,6 +4269,7 @@ export interface Routes {
|
|
|
4268
4269
|
| 'device.converted_to_unmanaged'
|
|
4269
4270
|
| 'device.unmanaged.converted_to_managed'
|
|
4270
4271
|
| 'device.removed'
|
|
4272
|
+
| 'device.deleted'
|
|
4271
4273
|
| 'device.tampered'
|
|
4272
4274
|
| 'device.low_battery'
|
|
4273
4275
|
| 'device.battery_status_changed'
|
|
@@ -4,6 +4,7 @@ export const device_capability_flags = z
|
|
|
4
4
|
.object({
|
|
5
5
|
can_remotely_unlock: z.boolean(),
|
|
6
6
|
can_remotely_lock: z.boolean(),
|
|
7
|
+
can_program_offline_access_codes: z.boolean(),
|
|
7
8
|
can_program_online_access_codes: z.boolean(),
|
|
8
9
|
})
|
|
9
10
|
.partial()
|
|
@@ -14,6 +15,7 @@ const device_model_capability_flags_map: Record<
|
|
|
14
15
|
> = {
|
|
15
16
|
can_remotely_lock: z.literal(true),
|
|
16
17
|
can_remotely_unlock: z.literal(true),
|
|
18
|
+
can_program_offline_access_codes: z.literal(true),
|
|
17
19
|
can_program_online_access_codes: z.literal(true),
|
|
18
20
|
}
|
|
19
21
|
|
|
@@ -99,6 +99,7 @@ export interface Routes {
|
|
|
99
99
|
}
|
|
100
100
|
can_remotely_lock?: true | undefined
|
|
101
101
|
can_remotely_unlock?: true | undefined
|
|
102
|
+
can_program_offline_access_codes?: true | undefined
|
|
102
103
|
can_program_online_access_codes?: true | undefined
|
|
103
104
|
}
|
|
104
105
|
| {
|
|
@@ -275,6 +276,7 @@ export interface Routes {
|
|
|
275
276
|
}
|
|
276
277
|
can_remotely_lock?: true | undefined
|
|
277
278
|
can_remotely_unlock?: true | undefined
|
|
279
|
+
can_program_offline_access_codes?: true | undefined
|
|
278
280
|
can_program_online_access_codes?: true | undefined
|
|
279
281
|
}
|
|
280
282
|
| {
|