@seamapi/types 1.55.0 → 1.56.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 +28 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +49 -19
- package/lib/seam/connect/openapi.d.ts +26 -13
- package/lib/seam/connect/openapi.js +23 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -6
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +2 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +10 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +10 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +25 -5
- package/src/lib/seam/connect/route-types.ts +27 -1
- package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -0
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +14 -0
|
@@ -984,10 +984,10 @@ export interface Routes {
|
|
|
984
984
|
jsonResponse: {
|
|
985
985
|
acs_system: {
|
|
986
986
|
acs_system_id: string;
|
|
987
|
-
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
987
|
+
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
|
|
988
988
|
external_type_display_name: string;
|
|
989
989
|
/** deprecated: use external_type */
|
|
990
|
-
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
990
|
+
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
|
|
991
991
|
/** deprecated: use external_type_display_name */
|
|
992
992
|
system_type_display_name: string;
|
|
993
993
|
name: string;
|
|
@@ -1009,10 +1009,10 @@ export interface Routes {
|
|
|
1009
1009
|
jsonResponse: {
|
|
1010
1010
|
acs_systems: Array<{
|
|
1011
1011
|
acs_system_id: string;
|
|
1012
|
-
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
1012
|
+
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
|
|
1013
1013
|
external_type_display_name: string;
|
|
1014
1014
|
/** deprecated: use external_type */
|
|
1015
|
-
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
1015
|
+
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_cs_system_user';
|
|
1016
1016
|
/** deprecated: use external_type_display_name */
|
|
1017
1017
|
system_type_display_name: string;
|
|
1018
1018
|
name: string;
|
|
@@ -1406,7 +1406,7 @@ export interface Routes {
|
|
|
1406
1406
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
1407
1407
|
custom_redirect_url?: string | undefined;
|
|
1408
1408
|
custom_redirect_failure_url?: string | undefined;
|
|
1409
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'yale_access' | 'hid_cm'> | undefined;
|
|
1409
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assaabloy_credential_service' | 'yale_access' | 'hid_cm'> | undefined;
|
|
1410
1410
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
1411
1411
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
1412
1412
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -2552,6 +2552,10 @@ export interface Routes {
|
|
|
2552
2552
|
display_name: string;
|
|
2553
2553
|
manufacturer_display_name: string;
|
|
2554
2554
|
};
|
|
2555
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
2556
|
+
battery_level?: number | undefined;
|
|
2557
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
2558
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
2555
2559
|
};
|
|
2556
2560
|
};
|
|
2557
2561
|
};
|
|
@@ -2610,6 +2614,10 @@ export interface Routes {
|
|
|
2610
2614
|
display_name: string;
|
|
2611
2615
|
manufacturer_display_name: string;
|
|
2612
2616
|
};
|
|
2617
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
2618
|
+
battery_level?: number | undefined;
|
|
2619
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
2620
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
2613
2621
|
};
|
|
2614
2622
|
}>;
|
|
2615
2623
|
};
|
|
@@ -4608,6 +4616,15 @@ export interface Routes {
|
|
|
4608
4616
|
message: string;
|
|
4609
4617
|
};
|
|
4610
4618
|
};
|
|
4619
|
+
noise_threshold: {
|
|
4620
|
+
noise_threshold_id: string;
|
|
4621
|
+
device_id: string;
|
|
4622
|
+
name: string;
|
|
4623
|
+
noise_threshold_nrs?: number | undefined;
|
|
4624
|
+
starts_daily_at: string;
|
|
4625
|
+
ends_daily_at: string;
|
|
4626
|
+
noise_threshold_decibels: number;
|
|
4627
|
+
};
|
|
4611
4628
|
};
|
|
4612
4629
|
};
|
|
4613
4630
|
'/noise_sensors/noise_thresholds/delete': {
|
|
@@ -6515,7 +6532,7 @@ export interface Routes {
|
|
|
6515
6532
|
method: 'POST';
|
|
6516
6533
|
queryParams: {};
|
|
6517
6534
|
jsonBody: {
|
|
6518
|
-
|
|
6535
|
+
name: string;
|
|
6519
6536
|
/** The name shown inside the connect webview */
|
|
6520
6537
|
connect_partner_name: string;
|
|
6521
6538
|
is_sandbox?: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
|
|
2
|
+
export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org", "visionline_system", "assa_abloy_cs_system_user"]>;
|
|
3
3
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
|
|
4
4
|
export declare const acs_system: z.ZodObject<{
|
|
5
5
|
acs_system_id: z.ZodString;
|
|
6
|
-
external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
|
|
6
|
+
external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org", "visionline_system", "assa_abloy_cs_system_user"]>;
|
|
7
7
|
external_type_display_name: z.ZodString;
|
|
8
|
-
system_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
|
|
8
|
+
system_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org", "visionline_system", "assa_abloy_cs_system_user"]>;
|
|
9
9
|
system_type_display_name: z.ZodString;
|
|
10
10
|
name: z.ZodString;
|
|
11
11
|
created_at: z.ZodString;
|
|
@@ -16,9 +16,9 @@ export declare const acs_system: z.ZodObject<{
|
|
|
16
16
|
workspace_id: string;
|
|
17
17
|
created_at: string;
|
|
18
18
|
acs_system_id: string;
|
|
19
|
-
external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
|
|
19
|
+
external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
|
|
20
20
|
external_type_display_name: string;
|
|
21
|
-
system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
|
|
21
|
+
system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
|
|
22
22
|
system_type_display_name: string;
|
|
23
23
|
connected_account_ids: string[];
|
|
24
24
|
}, {
|
|
@@ -26,9 +26,9 @@ export declare const acs_system: z.ZodObject<{
|
|
|
26
26
|
workspace_id: string;
|
|
27
27
|
created_at: string;
|
|
28
28
|
acs_system_id: string;
|
|
29
|
-
external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
|
|
29
|
+
external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
|
|
30
30
|
external_type_display_name: string;
|
|
31
|
-
system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
|
|
31
|
+
system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org" | "visionline_system" | "assa_abloy_cs_system_user";
|
|
32
32
|
system_type_display_name: string;
|
|
33
33
|
connected_account_ids: string[];
|
|
34
34
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,mBAAmB;IACnB,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
|
|
@@ -43,6 +43,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
43
43
|
display_name: string;
|
|
44
44
|
manufacturer_display_name: string;
|
|
45
45
|
}>;
|
|
46
|
+
battery_level: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
online_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
46
48
|
}, "strip", z.ZodTypeAny, {
|
|
47
49
|
name: string;
|
|
48
50
|
online: boolean;
|
|
@@ -53,6 +55,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
53
55
|
manufacturer?: string | undefined;
|
|
54
56
|
image_url?: string | undefined;
|
|
55
57
|
image_alt_text?: string | undefined;
|
|
58
|
+
battery_level?: number | undefined;
|
|
59
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
56
60
|
}, {
|
|
57
61
|
name: string;
|
|
58
62
|
online: boolean;
|
|
@@ -63,6 +67,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
63
67
|
manufacturer?: string | undefined;
|
|
64
68
|
image_url?: string | undefined;
|
|
65
69
|
image_alt_text?: string | undefined;
|
|
70
|
+
battery_level?: number | undefined;
|
|
71
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
66
72
|
}>;
|
|
67
73
|
}, "strip", z.ZodTypeAny, {
|
|
68
74
|
connected_account_id: string;
|
|
@@ -80,6 +86,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
80
86
|
manufacturer?: string | undefined;
|
|
81
87
|
image_url?: string | undefined;
|
|
82
88
|
image_alt_text?: string | undefined;
|
|
89
|
+
battery_level?: number | undefined;
|
|
90
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
83
91
|
};
|
|
84
92
|
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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
85
93
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
@@ -107,6 +115,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
107
115
|
manufacturer?: string | undefined;
|
|
108
116
|
image_url?: string | undefined;
|
|
109
117
|
image_alt_text?: string | undefined;
|
|
118
|
+
battery_level?: number | undefined;
|
|
119
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
110
120
|
};
|
|
111
121
|
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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
112
122
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
@@ -24,6 +24,16 @@ export const unmanaged_device = managed_device
|
|
|
24
24
|
display_name: z.string(),
|
|
25
25
|
manufacturer_display_name: z.string(),
|
|
26
26
|
}),
|
|
27
|
+
battery_level: z
|
|
28
|
+
.number()
|
|
29
|
+
.min(0)
|
|
30
|
+
.max(1)
|
|
31
|
+
.optional()
|
|
32
|
+
.describe('Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.'),
|
|
33
|
+
online_access_codes_enabled: z
|
|
34
|
+
.boolean()
|
|
35
|
+
.describe('Indicates whether it is currently possible to use online access codes for the device.')
|
|
36
|
+
.optional(),
|
|
27
37
|
}),
|
|
28
38
|
});
|
|
29
39
|
//# sourceMappingURL=unmanaged-device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;YACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;SACtC,CAAC;
|
|
1
|
+
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;YACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;SACtC,CAAC;QACF,aAAa,EAAE,CAAC;aACb,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,0FAA0F,CAC3F;QACH,2BAA2B,EAAE,CAAC;aAC3B,OAAO,EAAE;aACT,QAAQ,CACP,uFAAuF,CACxF;aACA,QAAQ,EAAE;KACd,CAAC;CACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -194,6 +194,8 @@ export default {
|
|
|
194
194
|
'salto_site',
|
|
195
195
|
'brivo_system',
|
|
196
196
|
'hid_cm_org',
|
|
197
|
+
'visionline_system',
|
|
198
|
+
'assa_abloy_cs_system_user',
|
|
197
199
|
],
|
|
198
200
|
type: 'string',
|
|
199
201
|
},
|
|
@@ -207,6 +209,8 @@ export default {
|
|
|
207
209
|
'salto_site',
|
|
208
210
|
'brivo_system',
|
|
209
211
|
'hid_cm_org',
|
|
212
|
+
'visionline_system',
|
|
213
|
+
'assa_abloy_cs_system_user',
|
|
210
214
|
],
|
|
211
215
|
type: 'string',
|
|
212
216
|
},
|
|
@@ -1787,6 +1791,13 @@ export default {
|
|
|
1787
1791
|
is_managed: { enum: [false], type: 'boolean' },
|
|
1788
1792
|
properties: {
|
|
1789
1793
|
properties: {
|
|
1794
|
+
battery_level: {
|
|
1795
|
+
description:
|
|
1796
|
+
'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
|
|
1797
|
+
maximum: 1,
|
|
1798
|
+
minimum: 0,
|
|
1799
|
+
type: 'number',
|
|
1800
|
+
},
|
|
1790
1801
|
image_alt_text: { type: 'string' },
|
|
1791
1802
|
image_url: { type: 'string' },
|
|
1792
1803
|
manufacturer: { type: 'string' },
|
|
@@ -1800,6 +1811,11 @@ export default {
|
|
|
1800
1811
|
},
|
|
1801
1812
|
name: { type: 'string' },
|
|
1802
1813
|
online: { type: 'boolean' },
|
|
1814
|
+
online_access_codes_enabled: {
|
|
1815
|
+
description:
|
|
1816
|
+
'Indicates whether it is currently possible to use online access codes for the device.',
|
|
1817
|
+
type: 'boolean',
|
|
1818
|
+
},
|
|
1803
1819
|
},
|
|
1804
1820
|
required: ['name', 'online', 'model'],
|
|
1805
1821
|
type: 'object',
|
|
@@ -4262,9 +4278,9 @@ export default {
|
|
|
4262
4278
|
},
|
|
4263
4279
|
security: [
|
|
4264
4280
|
{ api_key: [] },
|
|
4265
|
-
{ access_token: [] },
|
|
4266
|
-
{ user_session: [] },
|
|
4267
4281
|
{ client_session: [] },
|
|
4282
|
+
{ pat_with_workspace: [] },
|
|
4283
|
+
{ console_session: [] },
|
|
4268
4284
|
],
|
|
4269
4285
|
summary: '/acs/entrances/list',
|
|
4270
4286
|
tags: [],
|
|
@@ -5520,6 +5536,7 @@ export default {
|
|
|
5520
5536
|
'wyze',
|
|
5521
5537
|
'seam_passport',
|
|
5522
5538
|
'visionline',
|
|
5539
|
+
'assaabloy_credential_service',
|
|
5523
5540
|
'yale_access',
|
|
5524
5541
|
'hid_cm',
|
|
5525
5542
|
],
|
|
@@ -7448,9 +7465,12 @@ export default {
|
|
|
7448
7465
|
action_attempt: {
|
|
7449
7466
|
$ref: '#/components/schemas/action_attempt',
|
|
7450
7467
|
},
|
|
7468
|
+
noise_threshold: {
|
|
7469
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
7470
|
+
},
|
|
7451
7471
|
ok: { type: 'boolean' },
|
|
7452
7472
|
},
|
|
7453
|
-
required: ['action_attempt', 'ok'],
|
|
7473
|
+
required: ['action_attempt', 'noise_threshold', 'ok'],
|
|
7454
7474
|
type: 'object',
|
|
7455
7475
|
},
|
|
7456
7476
|
},
|
|
@@ -9717,14 +9737,14 @@ export default {
|
|
|
9717
9737
|
type: 'string',
|
|
9718
9738
|
},
|
|
9719
9739
|
is_sandbox: { default: false, type: 'boolean' },
|
|
9740
|
+
name: { type: 'string' },
|
|
9720
9741
|
webview_logo_shape: {
|
|
9721
9742
|
enum: ['circle', 'square'],
|
|
9722
9743
|
type: 'string',
|
|
9723
9744
|
},
|
|
9724
9745
|
webview_primary_button_color: { type: 'string' },
|
|
9725
|
-
workspace_name: { type: 'string' },
|
|
9726
9746
|
},
|
|
9727
|
-
required: ['
|
|
9747
|
+
required: ['name', 'connect_partner_name'],
|
|
9728
9748
|
type: 'object',
|
|
9729
9749
|
},
|
|
9730
9750
|
},
|
|
@@ -1021,6 +1021,8 @@ export interface Routes {
|
|
|
1021
1021
|
| 'salto_site'
|
|
1022
1022
|
| 'brivo_system'
|
|
1023
1023
|
| 'hid_cm_org'
|
|
1024
|
+
| 'visionline_system'
|
|
1025
|
+
| 'assa_abloy_cs_system_user'
|
|
1024
1026
|
external_type_display_name: string
|
|
1025
1027
|
/** deprecated: use external_type */
|
|
1026
1028
|
system_type:
|
|
@@ -1029,6 +1031,8 @@ export interface Routes {
|
|
|
1029
1031
|
| 'salto_site'
|
|
1030
1032
|
| 'brivo_system'
|
|
1031
1033
|
| 'hid_cm_org'
|
|
1034
|
+
| 'visionline_system'
|
|
1035
|
+
| 'assa_abloy_cs_system_user'
|
|
1032
1036
|
/** deprecated: use external_type_display_name */
|
|
1033
1037
|
system_type_display_name: string
|
|
1034
1038
|
name: string
|
|
@@ -1056,6 +1060,8 @@ export interface Routes {
|
|
|
1056
1060
|
| 'salto_site'
|
|
1057
1061
|
| 'brivo_system'
|
|
1058
1062
|
| 'hid_cm_org'
|
|
1063
|
+
| 'visionline_system'
|
|
1064
|
+
| 'assa_abloy_cs_system_user'
|
|
1059
1065
|
external_type_display_name: string
|
|
1060
1066
|
/** deprecated: use external_type */
|
|
1061
1067
|
system_type:
|
|
@@ -1064,6 +1070,8 @@ export interface Routes {
|
|
|
1064
1070
|
| 'salto_site'
|
|
1065
1071
|
| 'brivo_system'
|
|
1066
1072
|
| 'hid_cm_org'
|
|
1073
|
+
| 'visionline_system'
|
|
1074
|
+
| 'assa_abloy_cs_system_user'
|
|
1067
1075
|
/** deprecated: use external_type_display_name */
|
|
1068
1076
|
system_type_display_name: string
|
|
1069
1077
|
name: string
|
|
@@ -1498,6 +1506,7 @@ export interface Routes {
|
|
|
1498
1506
|
| 'wyze'
|
|
1499
1507
|
| 'seam_passport'
|
|
1500
1508
|
| 'visionline'
|
|
1509
|
+
| 'assaabloy_credential_service'
|
|
1501
1510
|
| 'yale_access'
|
|
1502
1511
|
| 'hid_cm'
|
|
1503
1512
|
>
|
|
@@ -3169,6 +3178,10 @@ export interface Routes {
|
|
|
3169
3178
|
display_name: string
|
|
3170
3179
|
manufacturer_display_name: string
|
|
3171
3180
|
}
|
|
3181
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
3182
|
+
battery_level?: number | undefined
|
|
3183
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
3184
|
+
online_access_codes_enabled?: boolean | undefined
|
|
3172
3185
|
}
|
|
3173
3186
|
}
|
|
3174
3187
|
}
|
|
@@ -3357,6 +3370,10 @@ export interface Routes {
|
|
|
3357
3370
|
display_name: string
|
|
3358
3371
|
manufacturer_display_name: string
|
|
3359
3372
|
}
|
|
3373
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
3374
|
+
battery_level?: number | undefined
|
|
3375
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
3376
|
+
online_access_codes_enabled?: boolean | undefined
|
|
3360
3377
|
}
|
|
3361
3378
|
}>
|
|
3362
3379
|
}
|
|
@@ -6319,6 +6336,15 @@ export interface Routes {
|
|
|
6319
6336
|
message: string
|
|
6320
6337
|
}
|
|
6321
6338
|
}
|
|
6339
|
+
noise_threshold: {
|
|
6340
|
+
noise_threshold_id: string
|
|
6341
|
+
device_id: string
|
|
6342
|
+
name: string
|
|
6343
|
+
noise_threshold_nrs?: number | undefined
|
|
6344
|
+
starts_daily_at: string
|
|
6345
|
+
ends_daily_at: string
|
|
6346
|
+
noise_threshold_decibels: number
|
|
6347
|
+
}
|
|
6322
6348
|
}
|
|
6323
6349
|
}
|
|
6324
6350
|
'/noise_sensors/noise_thresholds/delete': {
|
|
@@ -8900,7 +8926,7 @@ export interface Routes {
|
|
|
8900
8926
|
method: 'POST'
|
|
8901
8927
|
queryParams: {}
|
|
8902
8928
|
jsonBody: {
|
|
8903
|
-
|
|
8929
|
+
name: string
|
|
8904
8930
|
/** The name shown inside the connect webview */
|
|
8905
8931
|
connect_partner_name: string
|
|
8906
8932
|
is_sandbox?: boolean
|
|
@@ -26,6 +26,20 @@ export const unmanaged_device = managed_device
|
|
|
26
26
|
display_name: z.string(),
|
|
27
27
|
manufacturer_display_name: z.string(),
|
|
28
28
|
}),
|
|
29
|
+
battery_level: z
|
|
30
|
+
.number()
|
|
31
|
+
.min(0)
|
|
32
|
+
.max(1)
|
|
33
|
+
.optional()
|
|
34
|
+
.describe(
|
|
35
|
+
'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
|
|
36
|
+
),
|
|
37
|
+
online_access_codes_enabled: z
|
|
38
|
+
.boolean()
|
|
39
|
+
.describe(
|
|
40
|
+
'Indicates whether it is currently possible to use online access codes for the device.',
|
|
41
|
+
)
|
|
42
|
+
.optional(),
|
|
29
43
|
}),
|
|
30
44
|
})
|
|
31
45
|
|