@seamapi/types 1.286.0 → 1.286.2
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 +197 -56
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +454 -211
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +14 -14
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +13 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +5 -3
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +22 -3
- package/lib/seam/connect/models/devices/phone.d.ts +14 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
- package/lib/seam/connect/models/events/acs/credentials.js +9 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +177 -0
- package/lib/seam/connect/models/events/action-attempts.js +16 -0
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +147 -1
- package/lib/seam/connect/models/events/seam-event.js +2 -0
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +20 -2
- package/lib/seam/connect/openapi.js +129 -37
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +217 -170
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
- package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
- package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
- package/src/lib/seam/connect/models/devices/device-metadata.ts +3 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/events/acs/credentials.ts +10 -1
- package/src/lib/seam/connect/models/events/action-attempts.ts +19 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +136 -37
- package/src/lib/seam/connect/route-types.ts +245 -170
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
|
@@ -220,7 +220,7 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
220
220
|
}>;
|
|
221
221
|
export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
222
222
|
device_id: z.ZodString;
|
|
223
|
-
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder"]>]>;
|
|
223
|
+
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder" | "assa_abloy_vostio_encoder"]>]>;
|
|
224
224
|
nickname: z.ZodOptional<z.ZodString>;
|
|
225
225
|
display_name: z.ZodString;
|
|
226
226
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
@@ -1126,6 +1126,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1126
1126
|
gadget_id: string;
|
|
1127
1127
|
_member_group_id?: string | undefined;
|
|
1128
1128
|
}>>;
|
|
1129
|
+
assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
|
|
1130
|
+
encoder_id: z.ZodString;
|
|
1131
|
+
}, "strip", z.ZodTypeAny, {
|
|
1132
|
+
encoder_id: string;
|
|
1133
|
+
}, {
|
|
1134
|
+
encoder_id: string;
|
|
1135
|
+
}>>;
|
|
1129
1136
|
}, "strip", z.ZodTypeAny, {
|
|
1130
1137
|
august_metadata?: {
|
|
1131
1138
|
lock_id: string;
|
|
@@ -1345,6 +1352,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1345
1352
|
gadget_id: string;
|
|
1346
1353
|
_member_group_id?: string | undefined;
|
|
1347
1354
|
} | undefined;
|
|
1355
|
+
assa_abloy_vostio_metadata?: {
|
|
1356
|
+
encoder_id: string;
|
|
1357
|
+
} | undefined;
|
|
1348
1358
|
}, {
|
|
1349
1359
|
august_metadata?: {
|
|
1350
1360
|
lock_id: string;
|
|
@@ -1564,6 +1574,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1564
1574
|
gadget_id: string;
|
|
1565
1575
|
_member_group_id?: string | undefined;
|
|
1566
1576
|
} | undefined;
|
|
1577
|
+
assa_abloy_vostio_metadata?: {
|
|
1578
|
+
encoder_id: string;
|
|
1579
|
+
} | undefined;
|
|
1567
1580
|
}>>, z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
|
|
1568
1581
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1569
1582
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2076,7 +2089,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2076
2089
|
custom_metadata: Record<string, string | boolean>;
|
|
2077
2090
|
display_name: string;
|
|
2078
2091
|
device_id: string;
|
|
2079
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | "visionline_encoder";
|
|
2092
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
|
|
2080
2093
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2081
2094
|
properties: {
|
|
2082
2095
|
name: string;
|
|
@@ -2342,6 +2355,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2342
2355
|
gadget_id: string;
|
|
2343
2356
|
_member_group_id?: string | undefined;
|
|
2344
2357
|
} | undefined;
|
|
2358
|
+
assa_abloy_vostio_metadata?: {
|
|
2359
|
+
encoder_id: string;
|
|
2360
|
+
} | undefined;
|
|
2345
2361
|
} & {
|
|
2346
2362
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2347
2363
|
code_constraints?: ({
|
|
@@ -2479,7 +2495,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2479
2495
|
custom_metadata: Record<string, string | boolean>;
|
|
2480
2496
|
display_name: string;
|
|
2481
2497
|
device_id: string;
|
|
2482
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | "visionline_encoder";
|
|
2498
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
|
|
2483
2499
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2484
2500
|
properties: {
|
|
2485
2501
|
name: string;
|
|
@@ -2745,6 +2761,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2745
2761
|
gadget_id: string;
|
|
2746
2762
|
_member_group_id?: string | undefined;
|
|
2747
2763
|
} | undefined;
|
|
2764
|
+
assa_abloy_vostio_metadata?: {
|
|
2765
|
+
encoder_id: string;
|
|
2766
|
+
} | undefined;
|
|
2748
2767
|
} & {
|
|
2749
2768
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2750
2769
|
code_constraints?: ({
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export { phone_specific_properties } from './phone-properties.js';
|
|
3
3
|
export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
|
|
4
4
|
device_id: z.ZodString;
|
|
5
|
-
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder"]>]>;
|
|
5
|
+
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder" | "assa_abloy_vostio_encoder"]>]>;
|
|
6
6
|
nickname: z.ZodOptional<z.ZodString>;
|
|
7
7
|
display_name: z.ZodString;
|
|
8
8
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
@@ -908,6 +908,13 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
908
908
|
gadget_id: string;
|
|
909
909
|
_member_group_id?: string | undefined;
|
|
910
910
|
}>>;
|
|
911
|
+
assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
encoder_id: z.ZodString;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
encoder_id: string;
|
|
915
|
+
}, {
|
|
916
|
+
encoder_id: string;
|
|
917
|
+
}>>;
|
|
911
918
|
}, "strip", z.ZodTypeAny, {
|
|
912
919
|
august_metadata?: {
|
|
913
920
|
lock_id: string;
|
|
@@ -1127,6 +1134,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1127
1134
|
gadget_id: string;
|
|
1128
1135
|
_member_group_id?: string | undefined;
|
|
1129
1136
|
} | undefined;
|
|
1137
|
+
assa_abloy_vostio_metadata?: {
|
|
1138
|
+
encoder_id: string;
|
|
1139
|
+
} | undefined;
|
|
1130
1140
|
}, {
|
|
1131
1141
|
august_metadata?: {
|
|
1132
1142
|
lock_id: string;
|
|
@@ -1346,6 +1356,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1346
1356
|
gadget_id: string;
|
|
1347
1357
|
_member_group_id?: string | undefined;
|
|
1348
1358
|
} | undefined;
|
|
1359
|
+
assa_abloy_vostio_metadata?: {
|
|
1360
|
+
encoder_id: string;
|
|
1361
|
+
} | undefined;
|
|
1349
1362
|
}>>, z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
|
|
1350
1363
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1351
1364
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<{
|
|
3
3
|
device_id: z.ZodString;
|
|
4
|
-
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder"]>]>;
|
|
4
|
+
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder" | "assa_abloy_vostio_encoder"]>]>;
|
|
5
5
|
nickname: z.ZodOptional<z.ZodString>;
|
|
6
6
|
display_name: z.ZodString;
|
|
7
7
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
@@ -907,6 +907,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
907
907
|
gadget_id: string;
|
|
908
908
|
_member_group_id?: string | undefined;
|
|
909
909
|
}>>;
|
|
910
|
+
assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
|
|
911
|
+
encoder_id: z.ZodString;
|
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
encoder_id: string;
|
|
914
|
+
}, {
|
|
915
|
+
encoder_id: string;
|
|
916
|
+
}>>;
|
|
910
917
|
}, "strip", z.ZodTypeAny, {
|
|
911
918
|
august_metadata?: {
|
|
912
919
|
lock_id: string;
|
|
@@ -1126,6 +1133,9 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1126
1133
|
gadget_id: string;
|
|
1127
1134
|
_member_group_id?: string | undefined;
|
|
1128
1135
|
} | undefined;
|
|
1136
|
+
assa_abloy_vostio_metadata?: {
|
|
1137
|
+
encoder_id: string;
|
|
1138
|
+
} | undefined;
|
|
1129
1139
|
}, {
|
|
1130
1140
|
august_metadata?: {
|
|
1131
1141
|
lock_id: string;
|
|
@@ -1345,6 +1355,9 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1345
1355
|
gadget_id: string;
|
|
1346
1356
|
_member_group_id?: string | undefined;
|
|
1347
1357
|
} | undefined;
|
|
1358
|
+
assa_abloy_vostio_metadata?: {
|
|
1359
|
+
encoder_id: string;
|
|
1360
|
+
} | undefined;
|
|
1348
1361
|
}>>, z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
|
|
1349
1362
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1350
1363
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2004,7 +2017,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2004
2017
|
warning_code: string;
|
|
2005
2018
|
}[];
|
|
2006
2019
|
device_id: string;
|
|
2007
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | "visionline_encoder";
|
|
2020
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
|
|
2008
2021
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2009
2022
|
properties: {
|
|
2010
2023
|
name: string;
|
|
@@ -2069,7 +2082,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2069
2082
|
warning_code: string;
|
|
2070
2083
|
}[];
|
|
2071
2084
|
device_id: string;
|
|
2072
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | "visionline_encoder";
|
|
2085
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
|
|
2073
2086
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2074
2087
|
properties: {
|
|
2075
2088
|
name: string;
|
|
@@ -31,6 +31,37 @@ export declare const acs_credential_deleted_event: z.ZodObject<z.objectUtil.exte
|
|
|
31
31
|
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type AcsCredentialDeletedEvent = z.infer<typeof acs_credential_deleted_event>;
|
|
34
|
+
export declare const acs_credential_issued: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
35
|
+
event_id: z.ZodString;
|
|
36
|
+
workspace_id: z.ZodString;
|
|
37
|
+
created_at: z.ZodString;
|
|
38
|
+
occurred_at: z.ZodString;
|
|
39
|
+
}, {
|
|
40
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
|
+
acs_system_id: z.ZodString;
|
|
42
|
+
}>, {
|
|
43
|
+
acs_credential_id: z.ZodString;
|
|
44
|
+
}>, {
|
|
45
|
+
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
46
|
+
}>, "strip", z.ZodTypeAny, {
|
|
47
|
+
created_at: string;
|
|
48
|
+
workspace_id: string;
|
|
49
|
+
acs_system_id: string;
|
|
50
|
+
acs_credential_id: string;
|
|
51
|
+
event_id: string;
|
|
52
|
+
occurred_at: string;
|
|
53
|
+
event_type: "acs_credential.issued";
|
|
54
|
+
connected_account_id?: string | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
created_at: string;
|
|
57
|
+
workspace_id: string;
|
|
58
|
+
acs_system_id: string;
|
|
59
|
+
acs_credential_id: string;
|
|
60
|
+
event_id: string;
|
|
61
|
+
occurred_at: string;
|
|
62
|
+
event_type: "acs_credential.issued";
|
|
63
|
+
connected_account_id?: string | undefined;
|
|
64
|
+
}>;
|
|
34
65
|
export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
35
66
|
event_id: z.ZodString;
|
|
36
67
|
workspace_id: z.ZodString;
|
|
@@ -61,4 +92,34 @@ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.e
|
|
|
61
92
|
occurred_at: string;
|
|
62
93
|
event_type: "acs_credential.deleted";
|
|
63
94
|
connected_account_id?: string | undefined;
|
|
95
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
96
|
+
event_id: z.ZodString;
|
|
97
|
+
workspace_id: z.ZodString;
|
|
98
|
+
created_at: z.ZodString;
|
|
99
|
+
occurred_at: z.ZodString;
|
|
100
|
+
}, {
|
|
101
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
102
|
+
acs_system_id: z.ZodString;
|
|
103
|
+
}>, {
|
|
104
|
+
acs_credential_id: z.ZodString;
|
|
105
|
+
}>, {
|
|
106
|
+
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
107
|
+
}>, "strip", z.ZodTypeAny, {
|
|
108
|
+
created_at: string;
|
|
109
|
+
workspace_id: string;
|
|
110
|
+
acs_system_id: string;
|
|
111
|
+
acs_credential_id: string;
|
|
112
|
+
event_id: string;
|
|
113
|
+
occurred_at: string;
|
|
114
|
+
event_type: "acs_credential.issued";
|
|
115
|
+
connected_account_id?: string | undefined;
|
|
116
|
+
}, {
|
|
117
|
+
created_at: string;
|
|
118
|
+
workspace_id: string;
|
|
119
|
+
acs_system_id: string;
|
|
120
|
+
acs_credential_id: string;
|
|
121
|
+
event_id: string;
|
|
122
|
+
occurred_at: string;
|
|
123
|
+
event_type: "acs_credential.issued";
|
|
124
|
+
connected_account_id?: string | undefined;
|
|
64
125
|
}>];
|
|
@@ -8,5 +8,13 @@ export const acs_credential_deleted_event = acs_credential_event
|
|
|
8
8
|
event_type: z.literal('acs_credential.deleted'),
|
|
9
9
|
})
|
|
10
10
|
.describe('An ACS credential was deleted.');
|
|
11
|
-
export const
|
|
11
|
+
export const acs_credential_issued = acs_credential_event
|
|
12
|
+
.extend({
|
|
13
|
+
event_type: z.literal('acs_credential.issued'),
|
|
14
|
+
})
|
|
15
|
+
.describe('An ACS credential was issued.');
|
|
16
|
+
export const acs_credential_events = [
|
|
17
|
+
acs_credential_deleted_event,
|
|
18
|
+
acs_credential_issued,
|
|
19
|
+
];
|
|
12
20
|
//# sourceMappingURL=credentials.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACrC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,oBAAoB;KAC7D,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC;KACD,QAAQ,CAAC,gCAAgC,CAAC,CAAA;AAM7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,4BAA4B,
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACrC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,oBAAoB;KAC7D,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC;KACD,QAAQ,CAAC,gCAAgC,CAAC,CAAA;AAM7C,MAAM,CAAC,MAAM,qBAAqB,GAAG,oBAAoB;KACtD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC;KACD,QAAQ,CAAC,+BAA+B,CAAC,CAAA;AAE5C,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,4BAA4B;IAC5B,qBAAqB;CACb,CAAA"}
|
|
@@ -88,6 +88,36 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
|
|
|
88
88
|
}, {
|
|
89
89
|
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
90
90
|
acs_system_id: import("zod").ZodString;
|
|
91
|
+
}>, {
|
|
92
|
+
acs_credential_id: import("zod").ZodString;
|
|
93
|
+
}>, {
|
|
94
|
+
event_type: import("zod").ZodLiteral<"acs_credential.issued">;
|
|
95
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
|
96
|
+
created_at: string;
|
|
97
|
+
workspace_id: string;
|
|
98
|
+
acs_system_id: string;
|
|
99
|
+
acs_credential_id: string;
|
|
100
|
+
event_id: string;
|
|
101
|
+
occurred_at: string;
|
|
102
|
+
event_type: "acs_credential.issued";
|
|
103
|
+
connected_account_id?: string | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
created_at: string;
|
|
106
|
+
workspace_id: string;
|
|
107
|
+
acs_system_id: string;
|
|
108
|
+
acs_credential_id: string;
|
|
109
|
+
event_id: string;
|
|
110
|
+
occurred_at: string;
|
|
111
|
+
event_type: "acs_credential.issued";
|
|
112
|
+
connected_account_id?: string | undefined;
|
|
113
|
+
}>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
114
|
+
event_id: import("zod").ZodString;
|
|
115
|
+
workspace_id: import("zod").ZodString;
|
|
116
|
+
created_at: import("zod").ZodString;
|
|
117
|
+
occurred_at: import("zod").ZodString;
|
|
118
|
+
}, {
|
|
119
|
+
connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
120
|
+
acs_system_id: import("zod").ZodString;
|
|
91
121
|
}>, {
|
|
92
122
|
acs_user_id: import("zod").ZodString;
|
|
93
123
|
}>, {
|
|
@@ -59,3 +59,180 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<z.object
|
|
|
59
59
|
occurred_at: string;
|
|
60
60
|
event_type: "action_attempt.lock_door.failed";
|
|
61
61
|
}>;
|
|
62
|
+
export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
63
|
+
event_id: z.ZodString;
|
|
64
|
+
workspace_id: z.ZodString;
|
|
65
|
+
created_at: z.ZodString;
|
|
66
|
+
occurred_at: z.ZodString;
|
|
67
|
+
}, {
|
|
68
|
+
action_attempt_id: z.ZodString;
|
|
69
|
+
action_type: z.ZodString;
|
|
70
|
+
status: z.ZodString;
|
|
71
|
+
}>, {
|
|
72
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
73
|
+
}>, "strip", z.ZodTypeAny, {
|
|
74
|
+
status: string;
|
|
75
|
+
created_at: string;
|
|
76
|
+
workspace_id: string;
|
|
77
|
+
action_attempt_id: string;
|
|
78
|
+
action_type: string;
|
|
79
|
+
event_id: string;
|
|
80
|
+
occurred_at: string;
|
|
81
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
82
|
+
}, {
|
|
83
|
+
status: string;
|
|
84
|
+
created_at: string;
|
|
85
|
+
workspace_id: string;
|
|
86
|
+
action_attempt_id: string;
|
|
87
|
+
action_type: string;
|
|
88
|
+
event_id: string;
|
|
89
|
+
occurred_at: string;
|
|
90
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
91
|
+
}>;
|
|
92
|
+
export declare const action_attempt_unlock_door_failed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
93
|
+
event_id: z.ZodString;
|
|
94
|
+
workspace_id: z.ZodString;
|
|
95
|
+
created_at: z.ZodString;
|
|
96
|
+
occurred_at: z.ZodString;
|
|
97
|
+
}, {
|
|
98
|
+
action_attempt_id: z.ZodString;
|
|
99
|
+
action_type: z.ZodString;
|
|
100
|
+
status: z.ZodString;
|
|
101
|
+
}>, {
|
|
102
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
103
|
+
}>, "strip", z.ZodTypeAny, {
|
|
104
|
+
status: string;
|
|
105
|
+
created_at: string;
|
|
106
|
+
workspace_id: string;
|
|
107
|
+
action_attempt_id: string;
|
|
108
|
+
action_type: string;
|
|
109
|
+
event_id: string;
|
|
110
|
+
occurred_at: string;
|
|
111
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
112
|
+
}, {
|
|
113
|
+
status: string;
|
|
114
|
+
created_at: string;
|
|
115
|
+
workspace_id: string;
|
|
116
|
+
action_attempt_id: string;
|
|
117
|
+
action_type: string;
|
|
118
|
+
event_id: string;
|
|
119
|
+
occurred_at: string;
|
|
120
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
121
|
+
}>;
|
|
122
|
+
export declare const action_attempt_events: (z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
123
|
+
event_id: z.ZodString;
|
|
124
|
+
workspace_id: z.ZodString;
|
|
125
|
+
created_at: z.ZodString;
|
|
126
|
+
occurred_at: z.ZodString;
|
|
127
|
+
}, {
|
|
128
|
+
action_attempt_id: z.ZodString;
|
|
129
|
+
action_type: z.ZodString;
|
|
130
|
+
status: z.ZodString;
|
|
131
|
+
}>, {
|
|
132
|
+
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
133
|
+
}>, "strip", z.ZodTypeAny, {
|
|
134
|
+
status: string;
|
|
135
|
+
created_at: string;
|
|
136
|
+
workspace_id: string;
|
|
137
|
+
action_attempt_id: string;
|
|
138
|
+
action_type: string;
|
|
139
|
+
event_id: string;
|
|
140
|
+
occurred_at: string;
|
|
141
|
+
event_type: "action_attempt.lock_door.succeeded";
|
|
142
|
+
}, {
|
|
143
|
+
status: string;
|
|
144
|
+
created_at: string;
|
|
145
|
+
workspace_id: string;
|
|
146
|
+
action_attempt_id: string;
|
|
147
|
+
action_type: string;
|
|
148
|
+
event_id: string;
|
|
149
|
+
occurred_at: string;
|
|
150
|
+
event_type: "action_attempt.lock_door.succeeded";
|
|
151
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
152
|
+
event_id: z.ZodString;
|
|
153
|
+
workspace_id: z.ZodString;
|
|
154
|
+
created_at: z.ZodString;
|
|
155
|
+
occurred_at: z.ZodString;
|
|
156
|
+
}, {
|
|
157
|
+
action_attempt_id: z.ZodString;
|
|
158
|
+
action_type: z.ZodString;
|
|
159
|
+
status: z.ZodString;
|
|
160
|
+
}>, {
|
|
161
|
+
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
162
|
+
}>, "strip", z.ZodTypeAny, {
|
|
163
|
+
status: string;
|
|
164
|
+
created_at: string;
|
|
165
|
+
workspace_id: string;
|
|
166
|
+
action_attempt_id: string;
|
|
167
|
+
action_type: string;
|
|
168
|
+
event_id: string;
|
|
169
|
+
occurred_at: string;
|
|
170
|
+
event_type: "action_attempt.lock_door.failed";
|
|
171
|
+
}, {
|
|
172
|
+
status: string;
|
|
173
|
+
created_at: string;
|
|
174
|
+
workspace_id: string;
|
|
175
|
+
action_attempt_id: string;
|
|
176
|
+
action_type: string;
|
|
177
|
+
event_id: string;
|
|
178
|
+
occurred_at: string;
|
|
179
|
+
event_type: "action_attempt.lock_door.failed";
|
|
180
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
181
|
+
event_id: z.ZodString;
|
|
182
|
+
workspace_id: z.ZodString;
|
|
183
|
+
created_at: z.ZodString;
|
|
184
|
+
occurred_at: z.ZodString;
|
|
185
|
+
}, {
|
|
186
|
+
action_attempt_id: z.ZodString;
|
|
187
|
+
action_type: z.ZodString;
|
|
188
|
+
status: z.ZodString;
|
|
189
|
+
}>, {
|
|
190
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
191
|
+
}>, "strip", z.ZodTypeAny, {
|
|
192
|
+
status: string;
|
|
193
|
+
created_at: string;
|
|
194
|
+
workspace_id: string;
|
|
195
|
+
action_attempt_id: string;
|
|
196
|
+
action_type: string;
|
|
197
|
+
event_id: string;
|
|
198
|
+
occurred_at: string;
|
|
199
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
200
|
+
}, {
|
|
201
|
+
status: string;
|
|
202
|
+
created_at: string;
|
|
203
|
+
workspace_id: string;
|
|
204
|
+
action_attempt_id: string;
|
|
205
|
+
action_type: string;
|
|
206
|
+
event_id: string;
|
|
207
|
+
occurred_at: string;
|
|
208
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
209
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
210
|
+
event_id: z.ZodString;
|
|
211
|
+
workspace_id: z.ZodString;
|
|
212
|
+
created_at: z.ZodString;
|
|
213
|
+
occurred_at: z.ZodString;
|
|
214
|
+
}, {
|
|
215
|
+
action_attempt_id: z.ZodString;
|
|
216
|
+
action_type: z.ZodString;
|
|
217
|
+
status: z.ZodString;
|
|
218
|
+
}>, {
|
|
219
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
220
|
+
}>, "strip", z.ZodTypeAny, {
|
|
221
|
+
status: string;
|
|
222
|
+
created_at: string;
|
|
223
|
+
workspace_id: string;
|
|
224
|
+
action_attempt_id: string;
|
|
225
|
+
action_type: string;
|
|
226
|
+
event_id: string;
|
|
227
|
+
occurred_at: string;
|
|
228
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
229
|
+
}, {
|
|
230
|
+
status: string;
|
|
231
|
+
created_at: string;
|
|
232
|
+
workspace_id: string;
|
|
233
|
+
action_attempt_id: string;
|
|
234
|
+
action_type: string;
|
|
235
|
+
event_id: string;
|
|
236
|
+
occurred_at: string;
|
|
237
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
238
|
+
}>)[];
|
|
@@ -30,4 +30,20 @@ export const action_attempt_lock_door_failed_event = action_attempt_event
|
|
|
30
30
|
event_type: z.literal('action_attempt.lock_door.failed'),
|
|
31
31
|
})
|
|
32
32
|
.describe('A lock door action attempt failed.');
|
|
33
|
+
export const action_attempt_unlock_door_succeeded_event = action_attempt_event
|
|
34
|
+
.extend({
|
|
35
|
+
event_type: z.literal('action_attempt.unlock_door.succeeded'),
|
|
36
|
+
})
|
|
37
|
+
.describe('An unlock door action attempt succeeded.');
|
|
38
|
+
export const action_attempt_unlock_door_failed_event = action_attempt_event
|
|
39
|
+
.extend({
|
|
40
|
+
event_type: z.literal('action_attempt.unlock_door.failed'),
|
|
41
|
+
})
|
|
42
|
+
.describe('An unlock door action attempt failed.');
|
|
43
|
+
export const action_attempt_events = [
|
|
44
|
+
action_attempt_lock_door_succeeded_event,
|
|
45
|
+
action_attempt_lock_door_failed_event,
|
|
46
|
+
action_attempt_unlock_door_succeeded_event,
|
|
47
|
+
action_attempt_unlock_door_failed_event,
|
|
48
|
+
];
|
|
33
49
|
//# sourceMappingURL=action-attempts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-attempts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/action-attempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAK7C,CAAC;IACF,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;;GAK3B,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,oBAAoB;KACzE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC;CAC5D,CAAC;KACD,QAAQ,CAAC,uCAAuC,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,qCAAqC,GAAG,oBAAoB;KACtE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC;CACzD,CAAC;KACD,QAAQ,CAAC,oCAAoC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"action-attempts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/action-attempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAK7C,CAAC;IACF,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;;GAK3B,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,oBAAoB;KACzE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC;CAC5D,CAAC;KACD,QAAQ,CAAC,uCAAuC,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,qCAAqC,GAAG,oBAAoB;KACtE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC;CACzD,CAAC;KACD,QAAQ,CAAC,oCAAoC,CAAC,CAAA;AAEjD,MAAM,CAAC,MAAM,0CAA0C,GAAG,oBAAoB;KAC3E,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC;KACD,QAAQ,CAAC,0CAA0C,CAAC,CAAA;AAEvD,MAAM,CAAC,MAAM,uCAAuC,GAAG,oBAAoB;KACxE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,mCAAmC,CAAC;CAC3D,CAAC;KACD,QAAQ,CAAC,uCAAuC,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,wCAAwC;IACxC,qCAAqC;IACrC,0CAA0C;IAC1C,uCAAuC;CACxC,CAAA"}
|