@seamapi/types 1.146.0 → 1.147.1
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 +31 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +69 -188
- package/lib/seam/connect/internal/model-types.d.ts +2 -1
- package/lib/seam/connect/internal/model-types.js +1 -1
- package/lib/seam/connect/internal/model-types.js.map +1 -1
- package/lib/seam/connect/internal/schemas.d.ts +2 -1
- package/lib/seam/connect/internal/schemas.js +2 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/custom-metadata.d.ts +4 -2
- package/lib/seam/connect/models/custom-metadata.js +2 -1
- package/lib/seam/connect/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/managed-device.d.ts +3 -3
- package/lib/seam/connect/models/devices/managed-device.js +1 -1
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +3 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +13 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +31 -160
- package/lib/seam/connect/openapi.js +24 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -23
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/model-types.ts +2 -32
- package/src/lib/seam/connect/internal/schemas.ts +2 -2
- package/src/lib/seam/connect/models/custom-metadata.ts +9 -2
- package/src/lib/seam/connect/models/devices/managed-device.ts +1 -1
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +25 -60
- package/src/lib/seam/connect/route-types.ts +37 -23
|
@@ -1794,7 +1794,7 @@ export interface Routes {
|
|
|
1794
1794
|
status: 'pending' | 'failed' | 'authorized';
|
|
1795
1795
|
custom_redirect_url: string | null;
|
|
1796
1796
|
custom_redirect_failure_url: string | null;
|
|
1797
|
-
custom_metadata: Record<string, string | boolean
|
|
1797
|
+
custom_metadata: Record<string, string | boolean>;
|
|
1798
1798
|
automatically_manage_new_devices: boolean;
|
|
1799
1799
|
wait_for_device_creation: boolean;
|
|
1800
1800
|
authorized_at: string | null;
|
|
@@ -1838,7 +1838,7 @@ export interface Routes {
|
|
|
1838
1838
|
status: 'pending' | 'failed' | 'authorized';
|
|
1839
1839
|
custom_redirect_url: string | null;
|
|
1840
1840
|
custom_redirect_failure_url: string | null;
|
|
1841
|
-
custom_metadata: Record<string, string | boolean
|
|
1841
|
+
custom_metadata: Record<string, string | boolean>;
|
|
1842
1842
|
automatically_manage_new_devices: boolean;
|
|
1843
1843
|
wait_for_device_creation: boolean;
|
|
1844
1844
|
authorized_at: string | null;
|
|
@@ -1854,7 +1854,7 @@ export interface Routes {
|
|
|
1854
1854
|
commonParams: {
|
|
1855
1855
|
user_identifier_key?: string | undefined;
|
|
1856
1856
|
/** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
|
|
1857
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
1857
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
1858
1858
|
};
|
|
1859
1859
|
formData: {};
|
|
1860
1860
|
jsonResponse: {
|
|
@@ -1873,7 +1873,7 @@ export interface Routes {
|
|
|
1873
1873
|
status: 'pending' | 'failed' | 'authorized';
|
|
1874
1874
|
custom_redirect_url: string | null;
|
|
1875
1875
|
custom_redirect_failure_url: string | null;
|
|
1876
|
-
custom_metadata: Record<string, string | boolean
|
|
1876
|
+
custom_metadata: Record<string, string | boolean>;
|
|
1877
1877
|
automatically_manage_new_devices: boolean;
|
|
1878
1878
|
wait_for_device_creation: boolean;
|
|
1879
1879
|
authorized_at: string | null;
|
|
@@ -1931,7 +1931,7 @@ export interface Routes {
|
|
|
1931
1931
|
account_type_display_name: string;
|
|
1932
1932
|
errors?: any;
|
|
1933
1933
|
warnings?: any;
|
|
1934
|
-
custom_metadata
|
|
1934
|
+
custom_metadata: Record<string, string | boolean>;
|
|
1935
1935
|
automatically_manage_new_devices: boolean;
|
|
1936
1936
|
};
|
|
1937
1937
|
};
|
|
@@ -1943,7 +1943,7 @@ export interface Routes {
|
|
|
1943
1943
|
jsonBody: {};
|
|
1944
1944
|
commonParams: {
|
|
1945
1945
|
/** Returns devices where the account's custom_metadata contains all of the provided key/value pairs. */
|
|
1946
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
1946
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
1947
1947
|
};
|
|
1948
1948
|
formData: {};
|
|
1949
1949
|
jsonResponse: {
|
|
@@ -1961,7 +1961,7 @@ export interface Routes {
|
|
|
1961
1961
|
account_type_display_name: string;
|
|
1962
1962
|
errors?: any;
|
|
1963
1963
|
warnings?: any;
|
|
1964
|
-
custom_metadata
|
|
1964
|
+
custom_metadata: Record<string, string | boolean>;
|
|
1965
1965
|
automatically_manage_new_devices: boolean;
|
|
1966
1966
|
}>;
|
|
1967
1967
|
};
|
|
@@ -1992,7 +1992,7 @@ export interface Routes {
|
|
|
1992
1992
|
account_type_display_name: string;
|
|
1993
1993
|
errors?: any;
|
|
1994
1994
|
warnings?: any;
|
|
1995
|
-
custom_metadata
|
|
1995
|
+
custom_metadata: Record<string, string | boolean>;
|
|
1996
1996
|
automatically_manage_new_devices: boolean;
|
|
1997
1997
|
};
|
|
1998
1998
|
};
|
|
@@ -2513,7 +2513,7 @@ export interface Routes {
|
|
|
2513
2513
|
created_at: string;
|
|
2514
2514
|
/** Indicates whether Seam manages the device. */
|
|
2515
2515
|
is_managed: true;
|
|
2516
|
-
custom_metadata
|
|
2516
|
+
custom_metadata: Record<string, string | boolean>;
|
|
2517
2517
|
can_remotely_unlock?: boolean | undefined;
|
|
2518
2518
|
can_remotely_lock?: boolean | undefined;
|
|
2519
2519
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -2538,7 +2538,7 @@ export interface Routes {
|
|
|
2538
2538
|
limit?: number;
|
|
2539
2539
|
created_before?: Date | undefined;
|
|
2540
2540
|
user_identifier_key?: string | undefined;
|
|
2541
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
2541
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
2542
2542
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
2543
2543
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
2544
2544
|
};
|
|
@@ -3038,7 +3038,7 @@ export interface Routes {
|
|
|
3038
3038
|
created_at: string;
|
|
3039
3039
|
/** Indicates whether Seam manages the device. */
|
|
3040
3040
|
is_managed: true;
|
|
3041
|
-
custom_metadata
|
|
3041
|
+
custom_metadata: Record<string, string | boolean>;
|
|
3042
3042
|
can_remotely_unlock?: boolean | undefined;
|
|
3043
3043
|
can_remotely_lock?: boolean | undefined;
|
|
3044
3044
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -3111,6 +3111,11 @@ export interface Routes {
|
|
|
3111
3111
|
created_at: string;
|
|
3112
3112
|
is_managed: false;
|
|
3113
3113
|
properties: {
|
|
3114
|
+
/** Represents the accessory keypad state. */
|
|
3115
|
+
accessory_keypad?: {
|
|
3116
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3117
|
+
is_connected: boolean;
|
|
3118
|
+
} | undefined;
|
|
3114
3119
|
/**
|
|
3115
3120
|
---
|
|
3116
3121
|
deprecated: use device.display_name instead
|
|
@@ -3178,7 +3183,7 @@ export interface Routes {
|
|
|
3178
3183
|
limit?: number;
|
|
3179
3184
|
created_before?: Date | undefined;
|
|
3180
3185
|
user_identifier_key?: string | undefined;
|
|
3181
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
3186
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
3182
3187
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
3183
3188
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
3184
3189
|
};
|
|
@@ -3209,6 +3214,11 @@ export interface Routes {
|
|
|
3209
3214
|
created_at: string;
|
|
3210
3215
|
is_managed: false;
|
|
3211
3216
|
properties: {
|
|
3217
|
+
/** Represents the accessory keypad state. */
|
|
3218
|
+
accessory_keypad?: {
|
|
3219
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3220
|
+
is_connected: boolean;
|
|
3221
|
+
} | undefined;
|
|
3212
3222
|
/**
|
|
3213
3223
|
---
|
|
3214
3224
|
deprecated: use device.display_name instead
|
|
@@ -3919,7 +3929,7 @@ export interface Routes {
|
|
|
3919
3929
|
created_at: string;
|
|
3920
3930
|
/** Indicates whether Seam manages the device. */
|
|
3921
3931
|
is_managed: true;
|
|
3922
|
-
custom_metadata
|
|
3932
|
+
custom_metadata: Record<string, string | boolean>;
|
|
3923
3933
|
can_remotely_unlock?: boolean | undefined;
|
|
3924
3934
|
can_remotely_lock?: boolean | undefined;
|
|
3925
3935
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -4419,7 +4429,7 @@ export interface Routes {
|
|
|
4419
4429
|
created_at: string;
|
|
4420
4430
|
/** Indicates whether Seam manages the device. */
|
|
4421
4431
|
is_managed: true;
|
|
4422
|
-
custom_metadata
|
|
4432
|
+
custom_metadata: Record<string, string | boolean>;
|
|
4423
4433
|
can_remotely_unlock?: boolean | undefined;
|
|
4424
4434
|
can_remotely_lock?: boolean | undefined;
|
|
4425
4435
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -4444,7 +4454,7 @@ export interface Routes {
|
|
|
4444
4454
|
limit?: number;
|
|
4445
4455
|
created_before?: Date | undefined;
|
|
4446
4456
|
user_identifier_key?: string | undefined;
|
|
4447
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
4457
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
4448
4458
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
4449
4459
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
4450
4460
|
};
|
|
@@ -4944,7 +4954,7 @@ export interface Routes {
|
|
|
4944
4954
|
created_at: string;
|
|
4945
4955
|
/** Indicates whether Seam manages the device. */
|
|
4946
4956
|
is_managed: true;
|
|
4947
|
-
custom_metadata
|
|
4957
|
+
custom_metadata: Record<string, string | boolean>;
|
|
4948
4958
|
can_remotely_unlock?: boolean | undefined;
|
|
4949
4959
|
can_remotely_lock?: boolean | undefined;
|
|
4950
4960
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -5444,7 +5454,7 @@ export interface Routes {
|
|
|
5444
5454
|
created_at: string;
|
|
5445
5455
|
/** Indicates whether Seam manages the device. */
|
|
5446
5456
|
is_managed: true;
|
|
5447
|
-
custom_metadata
|
|
5457
|
+
custom_metadata: Record<string, string | boolean>;
|
|
5448
5458
|
can_remotely_unlock?: boolean | undefined;
|
|
5449
5459
|
can_remotely_lock?: boolean | undefined;
|
|
5450
5460
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -5799,7 +5809,7 @@ export interface Routes {
|
|
|
5799
5809
|
created_at: string;
|
|
5800
5810
|
/** Indicates whether Seam manages the device. */
|
|
5801
5811
|
is_managed: true;
|
|
5802
|
-
custom_metadata
|
|
5812
|
+
custom_metadata: Record<string, string | boolean>;
|
|
5803
5813
|
can_remotely_unlock?: boolean | undefined;
|
|
5804
5814
|
can_remotely_lock?: boolean | undefined;
|
|
5805
5815
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -5874,7 +5884,7 @@ export interface Routes {
|
|
|
5874
5884
|
created_at: string;
|
|
5875
5885
|
/** Indicates whether Seam manages the device. */
|
|
5876
5886
|
is_managed: true;
|
|
5877
|
-
custom_metadata
|
|
5887
|
+
custom_metadata: Record<string, string | boolean>;
|
|
5878
5888
|
can_remotely_unlock?: boolean | undefined;
|
|
5879
5889
|
can_remotely_lock?: boolean | undefined;
|
|
5880
5890
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -6585,7 +6595,7 @@ export interface Routes {
|
|
|
6585
6595
|
created_at: string;
|
|
6586
6596
|
/** Indicates whether Seam manages the device. */
|
|
6587
6597
|
is_managed: true;
|
|
6588
|
-
custom_metadata
|
|
6598
|
+
custom_metadata: Record<string, string | boolean>;
|
|
6589
6599
|
can_remotely_unlock?: boolean | undefined;
|
|
6590
6600
|
can_remotely_lock?: boolean | undefined;
|
|
6591
6601
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -6686,7 +6696,7 @@ export interface Routes {
|
|
|
6686
6696
|
limit?: number;
|
|
6687
6697
|
created_before?: Date | undefined;
|
|
6688
6698
|
user_identifier_key?: string | undefined;
|
|
6689
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
6699
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
6690
6700
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
6691
6701
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
6692
6702
|
};
|
|
@@ -7186,7 +7196,7 @@ export interface Routes {
|
|
|
7186
7196
|
created_at: string;
|
|
7187
7197
|
/** Indicates whether Seam manages the device. */
|
|
7188
7198
|
is_managed: true;
|
|
7189
|
-
custom_metadata
|
|
7199
|
+
custom_metadata: Record<string, string | boolean>;
|
|
7190
7200
|
can_remotely_unlock?: boolean | undefined;
|
|
7191
7201
|
can_remotely_lock?: boolean | undefined;
|
|
7192
7202
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -7970,7 +7980,7 @@ export interface Routes {
|
|
|
7970
7980
|
created_at: string;
|
|
7971
7981
|
/** Indicates whether Seam manages the device. */
|
|
7972
7982
|
is_managed: true;
|
|
7973
|
-
custom_metadata
|
|
7983
|
+
custom_metadata: Record<string, string | boolean>;
|
|
7974
7984
|
can_remotely_unlock?: boolean | undefined;
|
|
7975
7985
|
can_remotely_lock?: boolean | undefined;
|
|
7976
7986
|
can_program_online_access_codes?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
|
|
3
|
-
AcsAccessGroup,
|
|
4
|
-
AcsAccessGroupExternalType,
|
|
5
|
-
AcsCredential,
|
|
6
|
-
AcsCredentialExternalType,
|
|
7
|
-
AcsCredentialPool,
|
|
8
|
-
AcsCredentialPoolExternalType,
|
|
9
|
-
AcsEntranceLatchMetadata,
|
|
10
|
-
AcsSystem,
|
|
11
|
-
AcsSystemExternalType,
|
|
12
|
-
AcsUser,
|
|
13
|
-
AcsUserExternalType,
|
|
14
|
-
AnyDeviceType,
|
|
15
|
-
BatteryStatus,
|
|
16
|
-
Capabilities,
|
|
17
|
-
ClimateSetting,
|
|
18
|
-
ConnectWebview,
|
|
19
|
-
CustomMetadata,
|
|
20
|
-
ManagedDevice as Device,
|
|
21
|
-
DeviceMetadata,
|
|
22
|
-
FanModeSetting,
|
|
23
|
-
HvacModeSetting,
|
|
24
|
-
LockDeviceType,
|
|
25
|
-
ManagedAccessCode,
|
|
26
|
-
ManagedDevice,
|
|
27
|
-
ManagedDeviceWithBackendMetadata,
|
|
28
|
-
NoiseSensorDeviceType,
|
|
29
|
-
ThermostatDeviceType,
|
|
30
|
-
UnmanagedAccessCode,
|
|
31
|
-
UnmanagedDevice,
|
|
32
|
-
} from '../models/index.js'
|
|
1
|
+
export type { ManagedDevice as Device } from '../models/index.js'
|
|
2
|
+
export * from '../models/index.js'
|
|
@@ -20,8 +20,7 @@ export {
|
|
|
20
20
|
climate_setting,
|
|
21
21
|
climate_setting_schedule,
|
|
22
22
|
common_device_properties,
|
|
23
|
-
|
|
24
|
-
custom_metadata,
|
|
23
|
+
custom_metadata_input,
|
|
25
24
|
device_capability_flags,
|
|
26
25
|
dormakaba_oracode_time_slot,
|
|
27
26
|
enrollment_automation,
|
|
@@ -39,3 +38,4 @@ export {
|
|
|
39
38
|
unmanaged_device,
|
|
40
39
|
user_identity,
|
|
41
40
|
} from '../models/index.js'
|
|
41
|
+
export * from '../schemas.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const custom_metadata_input = z
|
|
4
4
|
.record(
|
|
5
5
|
z.string().max(40),
|
|
6
6
|
z.union([z.string().max(500), z.boolean(), z.null()]),
|
|
@@ -9,4 +9,11 @@ export const custom_metadata = z
|
|
|
9
9
|
message: 'Custom metadata is limited to a maximum of 50 keys',
|
|
10
10
|
})
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export const custom_metadata = z.record(
|
|
13
|
+
z.string(),
|
|
14
|
+
z.union([z.string(), z.boolean()]),
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
export type CustomMetadata = z.output<typeof custom_metadata>
|
|
18
|
+
|
|
19
|
+
export type CustomMetadataInput = z.input<typeof custom_metadata_input>
|
|
@@ -438,12 +438,7 @@ export default {
|
|
|
438
438
|
created_at: { format: 'date-time', type: 'string' },
|
|
439
439
|
custom_metadata: {
|
|
440
440
|
additionalProperties: {
|
|
441
|
-
|
|
442
|
-
oneOf: [
|
|
443
|
-
{ maxLength: 500, type: 'string' },
|
|
444
|
-
{ type: 'boolean' },
|
|
445
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
446
|
-
],
|
|
441
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
447
442
|
},
|
|
448
443
|
type: 'object',
|
|
449
444
|
},
|
|
@@ -499,12 +494,7 @@ export default {
|
|
|
499
494
|
created_at: { format: 'date-time', type: 'string' },
|
|
500
495
|
custom_metadata: {
|
|
501
496
|
additionalProperties: {
|
|
502
|
-
|
|
503
|
-
oneOf: [
|
|
504
|
-
{ maxLength: 500, type: 'string' },
|
|
505
|
-
{ type: 'boolean' },
|
|
506
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
507
|
-
],
|
|
497
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
508
498
|
},
|
|
509
499
|
type: 'object',
|
|
510
500
|
},
|
|
@@ -523,6 +513,7 @@ export default {
|
|
|
523
513
|
},
|
|
524
514
|
required: [
|
|
525
515
|
'account_type_display_name',
|
|
516
|
+
'custom_metadata',
|
|
526
517
|
'automatically_manage_new_devices',
|
|
527
518
|
],
|
|
528
519
|
type: 'object',
|
|
@@ -563,12 +554,7 @@ export default {
|
|
|
563
554
|
},
|
|
564
555
|
custom_metadata: {
|
|
565
556
|
additionalProperties: {
|
|
566
|
-
|
|
567
|
-
oneOf: [
|
|
568
|
-
{ maxLength: 500, type: 'string' },
|
|
569
|
-
{ type: 'boolean' },
|
|
570
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
571
|
-
],
|
|
557
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
572
558
|
},
|
|
573
559
|
type: 'object',
|
|
574
560
|
},
|
|
@@ -1778,6 +1764,7 @@ export default {
|
|
|
1778
1764
|
'warnings',
|
|
1779
1765
|
'created_at',
|
|
1780
1766
|
'is_managed',
|
|
1767
|
+
'custom_metadata',
|
|
1781
1768
|
],
|
|
1782
1769
|
type: 'object',
|
|
1783
1770
|
},
|
|
@@ -1934,12 +1921,7 @@ export default {
|
|
|
1934
1921
|
},
|
|
1935
1922
|
custom_metadata: {
|
|
1936
1923
|
additionalProperties: {
|
|
1937
|
-
|
|
1938
|
-
oneOf: [
|
|
1939
|
-
{ maxLength: 500, type: 'string' },
|
|
1940
|
-
{ type: 'boolean' },
|
|
1941
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
1942
|
-
],
|
|
1924
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
1943
1925
|
},
|
|
1944
1926
|
type: 'object',
|
|
1945
1927
|
},
|
|
@@ -2047,6 +2029,7 @@ export default {
|
|
|
2047
2029
|
'warnings',
|
|
2048
2030
|
'created_at',
|
|
2049
2031
|
'is_managed',
|
|
2032
|
+
'custom_metadata',
|
|
2050
2033
|
],
|
|
2051
2034
|
type: 'object',
|
|
2052
2035
|
},
|
|
@@ -2238,6 +2221,18 @@ export default {
|
|
|
2238
2221
|
is_managed: { enum: [false], type: 'boolean' },
|
|
2239
2222
|
properties: {
|
|
2240
2223
|
properties: {
|
|
2224
|
+
accessory_keypad: {
|
|
2225
|
+
description: 'Represents the accessory keypad state.',
|
|
2226
|
+
properties: {
|
|
2227
|
+
is_connected: {
|
|
2228
|
+
description:
|
|
2229
|
+
'Indicates if the accessory_keypad is connected to the device.',
|
|
2230
|
+
type: 'boolean',
|
|
2231
|
+
},
|
|
2232
|
+
},
|
|
2233
|
+
required: ['is_connected'],
|
|
2234
|
+
type: 'object',
|
|
2235
|
+
},
|
|
2241
2236
|
battery: {
|
|
2242
2237
|
description:
|
|
2243
2238
|
'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
|
|
@@ -7387,12 +7382,7 @@ export default {
|
|
|
7387
7382
|
properties: {
|
|
7388
7383
|
custom_metadata_has: {
|
|
7389
7384
|
additionalProperties: {
|
|
7390
|
-
|
|
7391
|
-
oneOf: [
|
|
7392
|
-
{ maxLength: 500, type: 'string' },
|
|
7393
|
-
{ type: 'boolean' },
|
|
7394
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
7395
|
-
],
|
|
7385
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
7396
7386
|
},
|
|
7397
7387
|
description:
|
|
7398
7388
|
"Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
|
|
@@ -7579,12 +7569,7 @@ export default {
|
|
|
7579
7569
|
properties: {
|
|
7580
7570
|
custom_metadata_has: {
|
|
7581
7571
|
additionalProperties: {
|
|
7582
|
-
|
|
7583
|
-
oneOf: [
|
|
7584
|
-
{ maxLength: 500, type: 'string' },
|
|
7585
|
-
{ type: 'boolean' },
|
|
7586
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
7587
|
-
],
|
|
7572
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
7588
7573
|
},
|
|
7589
7574
|
description:
|
|
7590
7575
|
"Returns devices where the account's custom_metadata contains all of the provided key/value pairs.",
|
|
@@ -7806,12 +7791,7 @@ export default {
|
|
|
7806
7791
|
},
|
|
7807
7792
|
custom_metadata_has: {
|
|
7808
7793
|
additionalProperties: {
|
|
7809
|
-
|
|
7810
|
-
oneOf: [
|
|
7811
|
-
{ maxLength: 500, type: 'string' },
|
|
7812
|
-
{ type: 'boolean' },
|
|
7813
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
7814
|
-
],
|
|
7794
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
7815
7795
|
},
|
|
7816
7796
|
type: 'object',
|
|
7817
7797
|
},
|
|
@@ -8200,12 +8180,7 @@ export default {
|
|
|
8200
8180
|
},
|
|
8201
8181
|
custom_metadata_has: {
|
|
8202
8182
|
additionalProperties: {
|
|
8203
|
-
|
|
8204
|
-
oneOf: [
|
|
8205
|
-
{ maxLength: 500, type: 'string' },
|
|
8206
|
-
{ type: 'boolean' },
|
|
8207
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
8208
|
-
],
|
|
8183
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
8209
8184
|
},
|
|
8210
8185
|
type: 'object',
|
|
8211
8186
|
},
|
|
@@ -9162,12 +9137,7 @@ export default {
|
|
|
9162
9137
|
},
|
|
9163
9138
|
custom_metadata_has: {
|
|
9164
9139
|
additionalProperties: {
|
|
9165
|
-
|
|
9166
|
-
oneOf: [
|
|
9167
|
-
{ maxLength: 500, type: 'string' },
|
|
9168
|
-
{ type: 'boolean' },
|
|
9169
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
9170
|
-
],
|
|
9140
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
9171
9141
|
},
|
|
9172
9142
|
type: 'object',
|
|
9173
9143
|
},
|
|
@@ -10897,12 +10867,7 @@ export default {
|
|
|
10897
10867
|
},
|
|
10898
10868
|
custom_metadata_has: {
|
|
10899
10869
|
additionalProperties: {
|
|
10900
|
-
|
|
10901
|
-
oneOf: [
|
|
10902
|
-
{ maxLength: 500, type: 'string' },
|
|
10903
|
-
{ type: 'boolean' },
|
|
10904
|
-
{ format: 'null', nullable: true, type: 'string' },
|
|
10905
|
-
],
|
|
10870
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
10906
10871
|
},
|
|
10907
10872
|
type: 'object',
|
|
10908
10873
|
},
|