@seamapi/types 1.138.1 → 1.139.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 +27 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +117 -0
- package/lib/seam/connect/openapi.d.ts +28 -0
- package/lib/seam/connect/openapi.js +27 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +89 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +66 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js +16 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +21 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +33 -0
- package/src/lib/seam/connect/route-types.ts +107 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +20 -1
|
@@ -1952,15 +1952,24 @@ export interface Routes {
|
|
|
1952
1952
|
online: boolean;
|
|
1953
1953
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
1954
1954
|
name: string;
|
|
1955
|
+
/** Represents the accessory keypad state. */
|
|
1956
|
+
accessory_keypad?: {
|
|
1957
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
1958
|
+
is_connected: boolean;
|
|
1959
|
+
} | undefined;
|
|
1955
1960
|
appearance: {
|
|
1956
1961
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
1957
1962
|
name: string;
|
|
1958
1963
|
};
|
|
1959
1964
|
model: {
|
|
1965
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
1966
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
1960
1967
|
/** Display name of the device model. */
|
|
1961
1968
|
display_name: string;
|
|
1962
1969
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
1963
1970
|
manufacturer_display_name: string;
|
|
1971
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
1972
|
+
has_built_in_keypad?: boolean | undefined;
|
|
1964
1973
|
/** Indicates whether the device supports offline access codes. */
|
|
1965
1974
|
offline_access_codes_supported?: boolean | undefined;
|
|
1966
1975
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -2451,15 +2460,24 @@ export interface Routes {
|
|
|
2451
2460
|
online: boolean;
|
|
2452
2461
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
2453
2462
|
name: string;
|
|
2463
|
+
/** Represents the accessory keypad state. */
|
|
2464
|
+
accessory_keypad?: {
|
|
2465
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
2466
|
+
is_connected: boolean;
|
|
2467
|
+
} | undefined;
|
|
2454
2468
|
appearance: {
|
|
2455
2469
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
2456
2470
|
name: string;
|
|
2457
2471
|
};
|
|
2458
2472
|
model: {
|
|
2473
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
2474
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
2459
2475
|
/** Display name of the device model. */
|
|
2460
2476
|
display_name: string;
|
|
2461
2477
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
2462
2478
|
manufacturer_display_name: string;
|
|
2479
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
2480
|
+
has_built_in_keypad?: boolean | undefined;
|
|
2463
2481
|
/** Indicates whether the device supports offline access codes. */
|
|
2464
2482
|
offline_access_codes_supported?: boolean | undefined;
|
|
2465
2483
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -2999,10 +3017,14 @@ export interface Routes {
|
|
|
2999
3017
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
3000
3018
|
offline_access_codes_enabled?: boolean | undefined;
|
|
3001
3019
|
model: {
|
|
3020
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
3021
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
3002
3022
|
/** Display name of the device model. */
|
|
3003
3023
|
display_name: string;
|
|
3004
3024
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
3005
3025
|
manufacturer_display_name: string;
|
|
3026
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
3027
|
+
has_built_in_keypad?: boolean | undefined;
|
|
3006
3028
|
/** Indicates whether the device supports offline access codes. */
|
|
3007
3029
|
offline_access_codes_supported?: boolean | undefined;
|
|
3008
3030
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -3085,10 +3107,14 @@ export interface Routes {
|
|
|
3085
3107
|
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
3086
3108
|
offline_access_codes_enabled?: boolean | undefined;
|
|
3087
3109
|
model: {
|
|
3110
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
3111
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
3088
3112
|
/** Display name of the device model. */
|
|
3089
3113
|
display_name: string;
|
|
3090
3114
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
3091
3115
|
manufacturer_display_name: string;
|
|
3116
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
3117
|
+
has_built_in_keypad?: boolean | undefined;
|
|
3092
3118
|
/** Indicates whether the device supports offline access codes. */
|
|
3093
3119
|
offline_access_codes_supported?: boolean | undefined;
|
|
3094
3120
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -3286,15 +3312,24 @@ export interface Routes {
|
|
|
3286
3312
|
online: boolean;
|
|
3287
3313
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
3288
3314
|
name: string;
|
|
3315
|
+
/** Represents the accessory keypad state. */
|
|
3316
|
+
accessory_keypad?: {
|
|
3317
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3318
|
+
is_connected: boolean;
|
|
3319
|
+
} | undefined;
|
|
3289
3320
|
appearance: {
|
|
3290
3321
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
3291
3322
|
name: string;
|
|
3292
3323
|
};
|
|
3293
3324
|
model: {
|
|
3325
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
3326
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
3294
3327
|
/** Display name of the device model. */
|
|
3295
3328
|
display_name: string;
|
|
3296
3329
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
3297
3330
|
manufacturer_display_name: string;
|
|
3331
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
3332
|
+
has_built_in_keypad?: boolean | undefined;
|
|
3298
3333
|
/** Indicates whether the device supports offline access codes. */
|
|
3299
3334
|
offline_access_codes_supported?: boolean | undefined;
|
|
3300
3335
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -3762,15 +3797,24 @@ export interface Routes {
|
|
|
3762
3797
|
online: boolean;
|
|
3763
3798
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
3764
3799
|
name: string;
|
|
3800
|
+
/** Represents the accessory keypad state. */
|
|
3801
|
+
accessory_keypad?: {
|
|
3802
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3803
|
+
is_connected: boolean;
|
|
3804
|
+
} | undefined;
|
|
3765
3805
|
appearance: {
|
|
3766
3806
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
3767
3807
|
name: string;
|
|
3768
3808
|
};
|
|
3769
3809
|
model: {
|
|
3810
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
3811
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
3770
3812
|
/** Display name of the device model. */
|
|
3771
3813
|
display_name: string;
|
|
3772
3814
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
3773
3815
|
manufacturer_display_name: string;
|
|
3816
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
3817
|
+
has_built_in_keypad?: boolean | undefined;
|
|
3774
3818
|
/** Indicates whether the device supports offline access codes. */
|
|
3775
3819
|
offline_access_codes_supported?: boolean | undefined;
|
|
3776
3820
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -4261,15 +4305,24 @@ export interface Routes {
|
|
|
4261
4305
|
online: boolean;
|
|
4262
4306
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
4263
4307
|
name: string;
|
|
4308
|
+
/** Represents the accessory keypad state. */
|
|
4309
|
+
accessory_keypad?: {
|
|
4310
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
4311
|
+
is_connected: boolean;
|
|
4312
|
+
} | undefined;
|
|
4264
4313
|
appearance: {
|
|
4265
4314
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
4266
4315
|
name: string;
|
|
4267
4316
|
};
|
|
4268
4317
|
model: {
|
|
4318
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
4319
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
4269
4320
|
/** Display name of the device model. */
|
|
4270
4321
|
display_name: string;
|
|
4271
4322
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
4272
4323
|
manufacturer_display_name: string;
|
|
4324
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
4325
|
+
has_built_in_keypad?: boolean | undefined;
|
|
4273
4326
|
/** Indicates whether the device supports offline access codes. */
|
|
4274
4327
|
offline_access_codes_supported?: boolean | undefined;
|
|
4275
4328
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -4737,15 +4790,24 @@ export interface Routes {
|
|
|
4737
4790
|
online: boolean;
|
|
4738
4791
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
4739
4792
|
name: string;
|
|
4793
|
+
/** Represents the accessory keypad state. */
|
|
4794
|
+
accessory_keypad?: {
|
|
4795
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
4796
|
+
is_connected: boolean;
|
|
4797
|
+
} | undefined;
|
|
4740
4798
|
appearance: {
|
|
4741
4799
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
4742
4800
|
name: string;
|
|
4743
4801
|
};
|
|
4744
4802
|
model: {
|
|
4803
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
4804
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
4745
4805
|
/** Display name of the device model. */
|
|
4746
4806
|
display_name: string;
|
|
4747
4807
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
4748
4808
|
manufacturer_display_name: string;
|
|
4809
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
4810
|
+
has_built_in_keypad?: boolean | undefined;
|
|
4749
4811
|
/** Indicates whether the device supports offline access codes. */
|
|
4750
4812
|
offline_access_codes_supported?: boolean | undefined;
|
|
4751
4813
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -5852,15 +5914,24 @@ export interface Routes {
|
|
|
5852
5914
|
online: boolean;
|
|
5853
5915
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
5854
5916
|
name: string;
|
|
5917
|
+
/** Represents the accessory keypad state. */
|
|
5918
|
+
accessory_keypad?: {
|
|
5919
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
5920
|
+
is_connected: boolean;
|
|
5921
|
+
} | undefined;
|
|
5855
5922
|
appearance: {
|
|
5856
5923
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
5857
5924
|
name: string;
|
|
5858
5925
|
};
|
|
5859
5926
|
model: {
|
|
5927
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
5928
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
5860
5929
|
/** Display name of the device model. */
|
|
5861
5930
|
display_name: string;
|
|
5862
5931
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
5863
5932
|
manufacturer_display_name: string;
|
|
5933
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
5934
|
+
has_built_in_keypad?: boolean | undefined;
|
|
5864
5935
|
/** Indicates whether the device supports offline access codes. */
|
|
5865
5936
|
offline_access_codes_supported?: boolean | undefined;
|
|
5866
5937
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -6427,15 +6498,24 @@ export interface Routes {
|
|
|
6427
6498
|
online: boolean;
|
|
6428
6499
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
6429
6500
|
name: string;
|
|
6501
|
+
/** Represents the accessory keypad state. */
|
|
6502
|
+
accessory_keypad?: {
|
|
6503
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
6504
|
+
is_connected: boolean;
|
|
6505
|
+
} | undefined;
|
|
6430
6506
|
appearance: {
|
|
6431
6507
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
6432
6508
|
name: string;
|
|
6433
6509
|
};
|
|
6434
6510
|
model: {
|
|
6511
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
6512
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
6435
6513
|
/** Display name of the device model. */
|
|
6436
6514
|
display_name: string;
|
|
6437
6515
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
6438
6516
|
manufacturer_display_name: string;
|
|
6517
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
6518
|
+
has_built_in_keypad?: boolean | undefined;
|
|
6439
6519
|
/** Indicates whether the device supports offline access codes. */
|
|
6440
6520
|
offline_access_codes_supported?: boolean | undefined;
|
|
6441
6521
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -7187,15 +7267,24 @@ export interface Routes {
|
|
|
7187
7267
|
online: boolean;
|
|
7188
7268
|
/** Name of the device. Deprecated - use device.display_name instead */
|
|
7189
7269
|
name: string;
|
|
7270
|
+
/** Represents the accessory keypad state. */
|
|
7271
|
+
accessory_keypad?: {
|
|
7272
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
7273
|
+
is_connected: boolean;
|
|
7274
|
+
} | undefined;
|
|
7190
7275
|
appearance: {
|
|
7191
7276
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
7192
7277
|
name: string;
|
|
7193
7278
|
};
|
|
7194
7279
|
model: {
|
|
7280
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
7281
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
7195
7282
|
/** Display name of the device model. */
|
|
7196
7283
|
display_name: string;
|
|
7197
7284
|
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
7198
7285
|
manufacturer_display_name: string;
|
|
7286
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
7287
|
+
has_built_in_keypad?: boolean | undefined;
|
|
7199
7288
|
/** Indicates whether the device supports offline access codes. */
|
|
7200
7289
|
offline_access_codes_supported?: boolean | undefined;
|
|
7201
7290
|
/** Indicates whether the device supports online access codes. */
|
|
@@ -6,6 +6,13 @@ export type BatteryStatus = z.infer<typeof battery_status>;
|
|
|
6
6
|
export declare const common_device_properties: z.ZodObject<{
|
|
7
7
|
online: z.ZodBoolean;
|
|
8
8
|
name: z.ZodString;
|
|
9
|
+
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
is_connected: z.ZodBoolean;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
is_connected: boolean;
|
|
13
|
+
}, {
|
|
14
|
+
is_connected: boolean;
|
|
15
|
+
}>>;
|
|
9
16
|
appearance: z.ZodObject<{
|
|
10
17
|
name: z.ZodString;
|
|
11
18
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14,20 +21,26 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
14
21
|
name: string;
|
|
15
22
|
}>;
|
|
16
23
|
model: z.ZodObject<{
|
|
24
|
+
can_connect_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
17
25
|
display_name: z.ZodString;
|
|
18
26
|
manufacturer_display_name: z.ZodString;
|
|
27
|
+
has_built_in_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
19
28
|
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
20
29
|
online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
21
30
|
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
22
31
|
}, "strip", z.ZodTypeAny, {
|
|
23
32
|
display_name: string;
|
|
24
33
|
manufacturer_display_name: string;
|
|
34
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
35
|
+
has_built_in_keypad?: boolean | undefined;
|
|
25
36
|
offline_access_codes_supported?: boolean | undefined;
|
|
26
37
|
online_access_codes_supported?: boolean | undefined;
|
|
27
38
|
accessory_keypad_supported?: boolean | undefined;
|
|
28
39
|
}, {
|
|
29
40
|
display_name: string;
|
|
30
41
|
manufacturer_display_name: string;
|
|
42
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
43
|
+
has_built_in_keypad?: boolean | undefined;
|
|
31
44
|
offline_access_codes_supported?: boolean | undefined;
|
|
32
45
|
online_access_codes_supported?: boolean | undefined;
|
|
33
46
|
accessory_keypad_supported?: boolean | undefined;
|
|
@@ -61,10 +74,15 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
61
74
|
model: {
|
|
62
75
|
display_name: string;
|
|
63
76
|
manufacturer_display_name: string;
|
|
77
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
78
|
+
has_built_in_keypad?: boolean | undefined;
|
|
64
79
|
offline_access_codes_supported?: boolean | undefined;
|
|
65
80
|
online_access_codes_supported?: boolean | undefined;
|
|
66
81
|
accessory_keypad_supported?: boolean | undefined;
|
|
67
82
|
};
|
|
83
|
+
accessory_keypad?: {
|
|
84
|
+
is_connected: boolean;
|
|
85
|
+
} | undefined;
|
|
68
86
|
has_direct_power?: boolean | undefined;
|
|
69
87
|
battery_level?: number | undefined;
|
|
70
88
|
battery?: {
|
|
@@ -88,10 +106,15 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
88
106
|
model: {
|
|
89
107
|
display_name: string;
|
|
90
108
|
manufacturer_display_name: string;
|
|
109
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
110
|
+
has_built_in_keypad?: boolean | undefined;
|
|
91
111
|
offline_access_codes_supported?: boolean | undefined;
|
|
92
112
|
online_access_codes_supported?: boolean | undefined;
|
|
93
113
|
accessory_keypad_supported?: boolean | undefined;
|
|
94
114
|
};
|
|
115
|
+
accessory_keypad?: {
|
|
116
|
+
is_connected: boolean;
|
|
117
|
+
} | undefined;
|
|
95
118
|
has_direct_power?: boolean | undefined;
|
|
96
119
|
battery_level?: number | undefined;
|
|
97
120
|
battery?: {
|
|
@@ -128,6 +151,13 @@ export declare const managed_device: z.ZodObject<{
|
|
|
128
151
|
properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
129
152
|
online: z.ZodBoolean;
|
|
130
153
|
name: z.ZodString;
|
|
154
|
+
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
is_connected: z.ZodBoolean;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
is_connected: boolean;
|
|
158
|
+
}, {
|
|
159
|
+
is_connected: boolean;
|
|
160
|
+
}>>;
|
|
131
161
|
appearance: z.ZodObject<{
|
|
132
162
|
name: z.ZodString;
|
|
133
163
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -136,20 +166,26 @@ export declare const managed_device: z.ZodObject<{
|
|
|
136
166
|
name: string;
|
|
137
167
|
}>;
|
|
138
168
|
model: z.ZodObject<{
|
|
169
|
+
can_connect_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
139
170
|
display_name: z.ZodString;
|
|
140
171
|
manufacturer_display_name: z.ZodString;
|
|
172
|
+
has_built_in_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
141
173
|
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
142
174
|
online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
143
175
|
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
144
176
|
}, "strip", z.ZodTypeAny, {
|
|
145
177
|
display_name: string;
|
|
146
178
|
manufacturer_display_name: string;
|
|
179
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
180
|
+
has_built_in_keypad?: boolean | undefined;
|
|
147
181
|
offline_access_codes_supported?: boolean | undefined;
|
|
148
182
|
online_access_codes_supported?: boolean | undefined;
|
|
149
183
|
accessory_keypad_supported?: boolean | undefined;
|
|
150
184
|
}, {
|
|
151
185
|
display_name: string;
|
|
152
186
|
manufacturer_display_name: string;
|
|
187
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
188
|
+
has_built_in_keypad?: boolean | undefined;
|
|
153
189
|
offline_access_codes_supported?: boolean | undefined;
|
|
154
190
|
online_access_codes_supported?: boolean | undefined;
|
|
155
191
|
accessory_keypad_supported?: boolean | undefined;
|
|
@@ -183,10 +219,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
183
219
|
model: {
|
|
184
220
|
display_name: string;
|
|
185
221
|
manufacturer_display_name: string;
|
|
222
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
223
|
+
has_built_in_keypad?: boolean | undefined;
|
|
186
224
|
offline_access_codes_supported?: boolean | undefined;
|
|
187
225
|
online_access_codes_supported?: boolean | undefined;
|
|
188
226
|
accessory_keypad_supported?: boolean | undefined;
|
|
189
227
|
};
|
|
228
|
+
accessory_keypad?: {
|
|
229
|
+
is_connected: boolean;
|
|
230
|
+
} | undefined;
|
|
190
231
|
has_direct_power?: boolean | undefined;
|
|
191
232
|
battery_level?: number | undefined;
|
|
192
233
|
battery?: {
|
|
@@ -210,10 +251,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
210
251
|
model: {
|
|
211
252
|
display_name: string;
|
|
212
253
|
manufacturer_display_name: string;
|
|
254
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
255
|
+
has_built_in_keypad?: boolean | undefined;
|
|
213
256
|
offline_access_codes_supported?: boolean | undefined;
|
|
214
257
|
online_access_codes_supported?: boolean | undefined;
|
|
215
258
|
accessory_keypad_supported?: boolean | undefined;
|
|
216
259
|
};
|
|
260
|
+
accessory_keypad?: {
|
|
261
|
+
is_connected: boolean;
|
|
262
|
+
} | undefined;
|
|
217
263
|
has_direct_power?: boolean | undefined;
|
|
218
264
|
battery_level?: number | undefined;
|
|
219
265
|
battery?: {
|
|
@@ -2074,10 +2120,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2074
2120
|
model: {
|
|
2075
2121
|
display_name: string;
|
|
2076
2122
|
manufacturer_display_name: string;
|
|
2123
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
2124
|
+
has_built_in_keypad?: boolean | undefined;
|
|
2077
2125
|
offline_access_codes_supported?: boolean | undefined;
|
|
2078
2126
|
online_access_codes_supported?: boolean | undefined;
|
|
2079
2127
|
accessory_keypad_supported?: boolean | undefined;
|
|
2080
2128
|
};
|
|
2129
|
+
accessory_keypad?: {
|
|
2130
|
+
is_connected: boolean;
|
|
2131
|
+
} | undefined;
|
|
2081
2132
|
has_direct_power?: boolean | undefined;
|
|
2082
2133
|
battery_level?: number | undefined;
|
|
2083
2134
|
battery?: {
|
|
@@ -2485,10 +2536,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2485
2536
|
model: {
|
|
2486
2537
|
display_name: string;
|
|
2487
2538
|
manufacturer_display_name: string;
|
|
2539
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
2540
|
+
has_built_in_keypad?: boolean | undefined;
|
|
2488
2541
|
offline_access_codes_supported?: boolean | undefined;
|
|
2489
2542
|
online_access_codes_supported?: boolean | undefined;
|
|
2490
2543
|
accessory_keypad_supported?: boolean | undefined;
|
|
2491
2544
|
};
|
|
2545
|
+
accessory_keypad?: {
|
|
2546
|
+
is_connected: boolean;
|
|
2547
|
+
} | undefined;
|
|
2492
2548
|
has_direct_power?: boolean | undefined;
|
|
2493
2549
|
battery_level?: number | undefined;
|
|
2494
2550
|
battery?: {
|
|
@@ -2924,10 +2980,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2924
2980
|
model: {
|
|
2925
2981
|
display_name: string;
|
|
2926
2982
|
manufacturer_display_name: string;
|
|
2983
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
2984
|
+
has_built_in_keypad?: boolean | undefined;
|
|
2927
2985
|
offline_access_codes_supported?: boolean | undefined;
|
|
2928
2986
|
online_access_codes_supported?: boolean | undefined;
|
|
2929
2987
|
accessory_keypad_supported?: boolean | undefined;
|
|
2930
2988
|
};
|
|
2989
|
+
accessory_keypad?: {
|
|
2990
|
+
is_connected: boolean;
|
|
2991
|
+
} | undefined;
|
|
2931
2992
|
has_direct_power?: boolean | undefined;
|
|
2932
2993
|
battery_level?: number | undefined;
|
|
2933
2994
|
battery?: {
|
|
@@ -3335,10 +3396,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3335
3396
|
model: {
|
|
3336
3397
|
display_name: string;
|
|
3337
3398
|
manufacturer_display_name: string;
|
|
3399
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
3400
|
+
has_built_in_keypad?: boolean | undefined;
|
|
3338
3401
|
offline_access_codes_supported?: boolean | undefined;
|
|
3339
3402
|
online_access_codes_supported?: boolean | undefined;
|
|
3340
3403
|
accessory_keypad_supported?: boolean | undefined;
|
|
3341
3404
|
};
|
|
3405
|
+
accessory_keypad?: {
|
|
3406
|
+
is_connected: boolean;
|
|
3407
|
+
} | undefined;
|
|
3342
3408
|
has_direct_power?: boolean | undefined;
|
|
3343
3409
|
battery_level?: number | undefined;
|
|
3344
3410
|
battery?: {
|
|
@@ -12,16 +12,32 @@ export const common_device_properties = z.object({
|
|
|
12
12
|
name: z
|
|
13
13
|
.string()
|
|
14
14
|
.describe('Name of the device. Deprecated - use device.display_name instead'),
|
|
15
|
+
accessory_keypad: z
|
|
16
|
+
.object({
|
|
17
|
+
is_connected: z
|
|
18
|
+
.boolean()
|
|
19
|
+
.describe('Indicates if the accessory_keypad is connected to the device.'),
|
|
20
|
+
})
|
|
21
|
+
.optional()
|
|
22
|
+
.describe('Represents the accessory keypad state.'),
|
|
15
23
|
appearance: z.object({
|
|
16
24
|
name: z
|
|
17
25
|
.string()
|
|
18
26
|
.describe('Name of the device as seen from the provider API and application, not settable through Seam.'),
|
|
19
27
|
}),
|
|
20
28
|
model: z.object({
|
|
29
|
+
can_connect_accessory_keypad: z
|
|
30
|
+
.boolean()
|
|
31
|
+
.optional()
|
|
32
|
+
.describe('Indicates whether the device can connect a accessory keypad.'),
|
|
21
33
|
display_name: z.string().describe('Display name of the device model.'),
|
|
22
34
|
manufacturer_display_name: z
|
|
23
35
|
.string()
|
|
24
36
|
.describe('Display name that corresponds to the manufacturer-specific terminology for the device.'),
|
|
37
|
+
has_built_in_keypad: z
|
|
38
|
+
.boolean()
|
|
39
|
+
.optional()
|
|
40
|
+
.describe('Indicates whether the device has a built in accessory keypad.'),
|
|
25
41
|
offline_access_codes_supported: z
|
|
26
42
|
.boolean()
|
|
27
43
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACP,kEAAkE,CACnE;IACH,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,CACP,8FAA8F,CAC/F;KACJ,CAAC;IACF,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;QACtE,yBAAyB,EAAE,CAAC;aACzB,MAAM,EAAE;aACR,QAAQ,CACP,wFAAwF,CACzF;
|
|
1
|
+
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE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MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,+YAA+Y,CAChZ;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;IACzD,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAA"}
|
|
@@ -8,6 +8,13 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
8
8
|
properties: z.ZodObject<Pick<{
|
|
9
9
|
online: z.ZodBoolean;
|
|
10
10
|
name: z.ZodString;
|
|
11
|
+
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
is_connected: z.ZodBoolean;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
is_connected: boolean;
|
|
15
|
+
}, {
|
|
16
|
+
is_connected: boolean;
|
|
17
|
+
}>>;
|
|
11
18
|
appearance: z.ZodObject<{
|
|
12
19
|
name: z.ZodString;
|
|
13
20
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16,20 +23,26 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
16
23
|
name: string;
|
|
17
24
|
}>;
|
|
18
25
|
model: z.ZodObject<{
|
|
26
|
+
can_connect_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
19
27
|
display_name: z.ZodString;
|
|
20
28
|
manufacturer_display_name: z.ZodString;
|
|
29
|
+
has_built_in_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
21
30
|
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
22
31
|
online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
23
32
|
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
24
33
|
}, "strip", z.ZodTypeAny, {
|
|
25
34
|
display_name: string;
|
|
26
35
|
manufacturer_display_name: string;
|
|
36
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
37
|
+
has_built_in_keypad?: boolean | undefined;
|
|
27
38
|
offline_access_codes_supported?: boolean | undefined;
|
|
28
39
|
online_access_codes_supported?: boolean | undefined;
|
|
29
40
|
accessory_keypad_supported?: boolean | undefined;
|
|
30
41
|
}, {
|
|
31
42
|
display_name: string;
|
|
32
43
|
manufacturer_display_name: string;
|
|
44
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
45
|
+
has_built_in_keypad?: boolean | undefined;
|
|
33
46
|
offline_access_codes_supported?: boolean | undefined;
|
|
34
47
|
online_access_codes_supported?: boolean | undefined;
|
|
35
48
|
accessory_keypad_supported?: boolean | undefined;
|
|
@@ -60,6 +73,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
60
73
|
model: {
|
|
61
74
|
display_name: string;
|
|
62
75
|
manufacturer_display_name: string;
|
|
76
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
77
|
+
has_built_in_keypad?: boolean | undefined;
|
|
63
78
|
offline_access_codes_supported?: boolean | undefined;
|
|
64
79
|
online_access_codes_supported?: boolean | undefined;
|
|
65
80
|
accessory_keypad_supported?: boolean | undefined;
|
|
@@ -80,6 +95,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
80
95
|
model: {
|
|
81
96
|
display_name: string;
|
|
82
97
|
manufacturer_display_name: string;
|
|
98
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
99
|
+
has_built_in_keypad?: boolean | undefined;
|
|
83
100
|
offline_access_codes_supported?: boolean | undefined;
|
|
84
101
|
online_access_codes_supported?: boolean | undefined;
|
|
85
102
|
accessory_keypad_supported?: boolean | undefined;
|
|
@@ -133,6 +150,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
133
150
|
model: {
|
|
134
151
|
display_name: string;
|
|
135
152
|
manufacturer_display_name: string;
|
|
153
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
154
|
+
has_built_in_keypad?: boolean | undefined;
|
|
136
155
|
offline_access_codes_supported?: boolean | undefined;
|
|
137
156
|
online_access_codes_supported?: boolean | undefined;
|
|
138
157
|
accessory_keypad_supported?: boolean | undefined;
|
|
@@ -174,6 +193,8 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
174
193
|
model: {
|
|
175
194
|
display_name: string;
|
|
176
195
|
manufacturer_display_name: string;
|
|
196
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
197
|
+
has_built_in_keypad?: boolean | undefined;
|
|
177
198
|
offline_access_codes_supported?: boolean | undefined;
|
|
178
199
|
online_access_codes_supported?: boolean | undefined;
|
|
179
200
|
accessory_keypad_supported?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -669,6 +669,19 @@ export default {
|
|
|
669
669
|
allOf: [
|
|
670
670
|
{
|
|
671
671
|
properties: {
|
|
672
|
+
accessory_keypad: {
|
|
673
|
+
description:
|
|
674
|
+
'Represents the accessory keypad state.',
|
|
675
|
+
properties: {
|
|
676
|
+
is_connected: {
|
|
677
|
+
description:
|
|
678
|
+
'Indicates if the accessory_keypad is connected to the device.',
|
|
679
|
+
type: 'boolean',
|
|
680
|
+
},
|
|
681
|
+
},
|
|
682
|
+
required: ['is_connected'],
|
|
683
|
+
type: 'object',
|
|
684
|
+
},
|
|
672
685
|
appearance: {
|
|
673
686
|
properties: {
|
|
674
687
|
name: {
|
|
@@ -725,11 +738,21 @@ export default {
|
|
|
725
738
|
'Indicates whether the device supports an accessory keypad.',
|
|
726
739
|
type: 'boolean',
|
|
727
740
|
},
|
|
741
|
+
can_connect_accessory_keypad: {
|
|
742
|
+
description:
|
|
743
|
+
'Indicates whether the device can connect a accessory keypad.',
|
|
744
|
+
type: 'boolean',
|
|
745
|
+
},
|
|
728
746
|
display_name: {
|
|
729
747
|
description:
|
|
730
748
|
'Display name of the device model.',
|
|
731
749
|
type: 'string',
|
|
732
750
|
},
|
|
751
|
+
has_built_in_keypad: {
|
|
752
|
+
description:
|
|
753
|
+
'Indicates whether the device has a built in accessory keypad.',
|
|
754
|
+
type: 'boolean',
|
|
755
|
+
},
|
|
733
756
|
manufacturer_display_name: {
|
|
734
757
|
description:
|
|
735
758
|
'Display name that corresponds to the manufacturer-specific terminology for the device.',
|
|
@@ -2244,10 +2267,20 @@ export default {
|
|
|
2244
2267
|
'Indicates whether the device supports an accessory keypad.',
|
|
2245
2268
|
type: 'boolean',
|
|
2246
2269
|
},
|
|
2270
|
+
can_connect_accessory_keypad: {
|
|
2271
|
+
description:
|
|
2272
|
+
'Indicates whether the device can connect a accessory keypad.',
|
|
2273
|
+
type: 'boolean',
|
|
2274
|
+
},
|
|
2247
2275
|
display_name: {
|
|
2248
2276
|
description: 'Display name of the device model.',
|
|
2249
2277
|
type: 'string',
|
|
2250
2278
|
},
|
|
2279
|
+
has_built_in_keypad: {
|
|
2280
|
+
description:
|
|
2281
|
+
'Indicates whether the device has a built in accessory keypad.',
|
|
2282
|
+
type: 'boolean',
|
|
2283
|
+
},
|
|
2251
2284
|
manufacturer_display_name: {
|
|
2252
2285
|
description:
|
|
2253
2286
|
'Display name that corresponds to the manufacturer-specific terminology for the device.',
|