@seamapi/types 1.42.0 → 1.43.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 +36 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1652 -32
- package/lib/seam/connect/openapi.d.ts +31 -4
- package/lib/seam/connect/openapi.js +35 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1599 -6
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +62 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js +20 -2
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +39 -8
- package/src/lib/seam/connect/route-types.ts +2357 -4
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +23 -2
|
@@ -9,12 +9,21 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
9
9
|
model: z.ZodObject<{
|
|
10
10
|
display_name: z.ZodString;
|
|
11
11
|
manufacturer_display_name: z.ZodString;
|
|
12
|
+
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
12
15
|
}, "strip", z.ZodTypeAny, {
|
|
13
16
|
display_name: string;
|
|
14
17
|
manufacturer_display_name: string;
|
|
18
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
19
|
+
access_codes_supported?: boolean | undefined;
|
|
20
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
15
21
|
}, {
|
|
16
22
|
display_name: string;
|
|
17
23
|
manufacturer_display_name: string;
|
|
24
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
25
|
+
access_codes_supported?: boolean | undefined;
|
|
26
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
18
27
|
}>;
|
|
19
28
|
has_direct_power: z.ZodOptional<z.ZodBoolean>;
|
|
20
29
|
battery_level: z.ZodOptional<z.ZodNumber>;
|
|
@@ -32,6 +41,8 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
32
41
|
image_url: z.ZodOptional<z.ZodString>;
|
|
33
42
|
image_alt_text: z.ZodOptional<z.ZodString>;
|
|
34
43
|
serial_number: z.ZodOptional<z.ZodString>;
|
|
44
|
+
online_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
35
46
|
supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
36
47
|
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
37
48
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -40,6 +51,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
40
51
|
model: {
|
|
41
52
|
display_name: string;
|
|
42
53
|
manufacturer_display_name: string;
|
|
54
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
55
|
+
access_codes_supported?: boolean | undefined;
|
|
56
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
43
57
|
};
|
|
44
58
|
has_direct_power?: boolean | undefined;
|
|
45
59
|
battery_level?: number | undefined;
|
|
@@ -51,6 +65,8 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
51
65
|
image_url?: string | undefined;
|
|
52
66
|
image_alt_text?: string | undefined;
|
|
53
67
|
serial_number?: string | undefined;
|
|
68
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
69
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
54
70
|
supports_accessory_keypad?: boolean | undefined;
|
|
55
71
|
supports_offline_access_codes?: boolean | undefined;
|
|
56
72
|
}, {
|
|
@@ -59,6 +75,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
59
75
|
model: {
|
|
60
76
|
display_name: string;
|
|
61
77
|
manufacturer_display_name: string;
|
|
78
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
79
|
+
access_codes_supported?: boolean | undefined;
|
|
80
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
62
81
|
};
|
|
63
82
|
has_direct_power?: boolean | undefined;
|
|
64
83
|
battery_level?: number | undefined;
|
|
@@ -70,6 +89,8 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
70
89
|
image_url?: string | undefined;
|
|
71
90
|
image_alt_text?: string | undefined;
|
|
72
91
|
serial_number?: string | undefined;
|
|
92
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
93
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
73
94
|
supports_accessory_keypad?: boolean | undefined;
|
|
74
95
|
supports_offline_access_codes?: boolean | undefined;
|
|
75
96
|
}>;
|
|
@@ -83,12 +104,21 @@ export declare const managed_device: z.ZodObject<{
|
|
|
83
104
|
model: z.ZodObject<{
|
|
84
105
|
display_name: z.ZodString;
|
|
85
106
|
manufacturer_display_name: z.ZodString;
|
|
107
|
+
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
86
110
|
}, "strip", z.ZodTypeAny, {
|
|
87
111
|
display_name: string;
|
|
88
112
|
manufacturer_display_name: string;
|
|
113
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
114
|
+
access_codes_supported?: boolean | undefined;
|
|
115
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
89
116
|
}, {
|
|
90
117
|
display_name: string;
|
|
91
118
|
manufacturer_display_name: string;
|
|
119
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
120
|
+
access_codes_supported?: boolean | undefined;
|
|
121
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
92
122
|
}>;
|
|
93
123
|
has_direct_power: z.ZodOptional<z.ZodBoolean>;
|
|
94
124
|
battery_level: z.ZodOptional<z.ZodNumber>;
|
|
@@ -106,6 +136,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
106
136
|
image_url: z.ZodOptional<z.ZodString>;
|
|
107
137
|
image_alt_text: z.ZodOptional<z.ZodString>;
|
|
108
138
|
serial_number: z.ZodOptional<z.ZodString>;
|
|
139
|
+
online_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
+
offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
109
141
|
supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
110
142
|
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
111
143
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -114,6 +146,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
114
146
|
model: {
|
|
115
147
|
display_name: string;
|
|
116
148
|
manufacturer_display_name: string;
|
|
149
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
150
|
+
access_codes_supported?: boolean | undefined;
|
|
151
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
117
152
|
};
|
|
118
153
|
has_direct_power?: boolean | undefined;
|
|
119
154
|
battery_level?: number | undefined;
|
|
@@ -125,6 +160,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
125
160
|
image_url?: string | undefined;
|
|
126
161
|
image_alt_text?: string | undefined;
|
|
127
162
|
serial_number?: string | undefined;
|
|
163
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
164
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
128
165
|
supports_accessory_keypad?: boolean | undefined;
|
|
129
166
|
supports_offline_access_codes?: boolean | undefined;
|
|
130
167
|
}, {
|
|
@@ -133,6 +170,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
133
170
|
model: {
|
|
134
171
|
display_name: string;
|
|
135
172
|
manufacturer_display_name: string;
|
|
173
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
174
|
+
access_codes_supported?: boolean | undefined;
|
|
175
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
136
176
|
};
|
|
137
177
|
has_direct_power?: boolean | undefined;
|
|
138
178
|
battery_level?: number | undefined;
|
|
@@ -144,6 +184,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
144
184
|
image_url?: string | undefined;
|
|
145
185
|
image_alt_text?: string | undefined;
|
|
146
186
|
serial_number?: string | undefined;
|
|
187
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
188
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
147
189
|
supports_accessory_keypad?: boolean | undefined;
|
|
148
190
|
supports_offline_access_codes?: boolean | undefined;
|
|
149
191
|
}>, z.ZodObject<{
|
|
@@ -1792,6 +1834,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1792
1834
|
model: {
|
|
1793
1835
|
display_name: string;
|
|
1794
1836
|
manufacturer_display_name: string;
|
|
1837
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
1838
|
+
access_codes_supported?: boolean | undefined;
|
|
1839
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
1795
1840
|
};
|
|
1796
1841
|
has_direct_power?: boolean | undefined;
|
|
1797
1842
|
battery_level?: number | undefined;
|
|
@@ -1803,6 +1848,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1803
1848
|
image_url?: string | undefined;
|
|
1804
1849
|
image_alt_text?: string | undefined;
|
|
1805
1850
|
serial_number?: string | undefined;
|
|
1851
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
1852
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
1806
1853
|
supports_accessory_keypad?: boolean | undefined;
|
|
1807
1854
|
supports_offline_access_codes?: boolean | undefined;
|
|
1808
1855
|
} & {
|
|
@@ -2158,6 +2205,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2158
2205
|
model: {
|
|
2159
2206
|
display_name: string;
|
|
2160
2207
|
manufacturer_display_name: string;
|
|
2208
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
2209
|
+
access_codes_supported?: boolean | undefined;
|
|
2210
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
2161
2211
|
};
|
|
2162
2212
|
has_direct_power?: boolean | undefined;
|
|
2163
2213
|
battery_level?: number | undefined;
|
|
@@ -2169,6 +2219,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2169
2219
|
image_url?: string | undefined;
|
|
2170
2220
|
image_alt_text?: string | undefined;
|
|
2171
2221
|
serial_number?: string | undefined;
|
|
2222
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
2223
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
2172
2224
|
supports_accessory_keypad?: boolean | undefined;
|
|
2173
2225
|
supports_offline_access_codes?: boolean | undefined;
|
|
2174
2226
|
} & {
|
|
@@ -2545,6 +2597,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2545
2597
|
model: {
|
|
2546
2598
|
display_name: string;
|
|
2547
2599
|
manufacturer_display_name: string;
|
|
2600
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
2601
|
+
access_codes_supported?: boolean | undefined;
|
|
2602
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
2548
2603
|
};
|
|
2549
2604
|
has_direct_power?: boolean | undefined;
|
|
2550
2605
|
battery_level?: number | undefined;
|
|
@@ -2556,6 +2611,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2556
2611
|
image_url?: string | undefined;
|
|
2557
2612
|
image_alt_text?: string | undefined;
|
|
2558
2613
|
serial_number?: string | undefined;
|
|
2614
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
2615
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
2559
2616
|
supports_accessory_keypad?: boolean | undefined;
|
|
2560
2617
|
supports_offline_access_codes?: boolean | undefined;
|
|
2561
2618
|
} & {
|
|
@@ -2911,6 +2968,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2911
2968
|
model: {
|
|
2912
2969
|
display_name: string;
|
|
2913
2970
|
manufacturer_display_name: string;
|
|
2971
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
2972
|
+
access_codes_supported?: boolean | undefined;
|
|
2973
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
2914
2974
|
};
|
|
2915
2975
|
has_direct_power?: boolean | undefined;
|
|
2916
2976
|
battery_level?: number | undefined;
|
|
@@ -2922,6 +2982,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2922
2982
|
image_url?: string | undefined;
|
|
2923
2983
|
image_alt_text?: string | undefined;
|
|
2924
2984
|
serial_number?: string | undefined;
|
|
2985
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
2986
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
2925
2987
|
supports_accessory_keypad?: boolean | undefined;
|
|
2926
2988
|
supports_offline_access_codes?: boolean | undefined;
|
|
2927
2989
|
} & {
|
|
@@ -10,6 +10,9 @@ export const common_device_properties = z.object({
|
|
|
10
10
|
model: z.object({
|
|
11
11
|
display_name: z.string(),
|
|
12
12
|
manufacturer_display_name: z.string(),
|
|
13
|
+
offline_access_codes_supported: z.boolean().optional(),
|
|
14
|
+
access_codes_supported: z.boolean().optional(),
|
|
15
|
+
accessory_keypad_supported: z.boolean().optional(),
|
|
13
16
|
}),
|
|
14
17
|
has_direct_power: z.boolean().optional(),
|
|
15
18
|
battery_level: z.number().min(0).max(1).optional(),
|
|
@@ -24,8 +27,23 @@ export const common_device_properties = z.object({
|
|
|
24
27
|
image_url: z.string().url().optional(),
|
|
25
28
|
image_alt_text: z.string().optional(),
|
|
26
29
|
serial_number: z.string().optional(),
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
online_access_codes_enabled: z
|
|
31
|
+
.boolean()
|
|
32
|
+
.describe('Currently possible to use online access codes')
|
|
33
|
+
.optional(),
|
|
34
|
+
offline_access_codes_enabled: z
|
|
35
|
+
.boolean()
|
|
36
|
+
.describe('Currently possible to use offline access codes')
|
|
37
|
+
.optional(),
|
|
38
|
+
// Deprecated legacy capability support props
|
|
39
|
+
supports_accessory_keypad: z
|
|
40
|
+
.boolean()
|
|
41
|
+
.describe('Deprecated: use model.offline_access_codes_enabled.')
|
|
42
|
+
.optional(),
|
|
43
|
+
supports_offline_access_codes: z
|
|
44
|
+
.boolean()
|
|
45
|
+
.describe('Deprecated: use model.accessory_keypad_supported.')
|
|
46
|
+
.optional(),
|
|
29
47
|
});
|
|
30
48
|
export const managed_device = z.object({
|
|
31
49
|
device_id: z.string().uuid(),
|
|
@@ -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,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;AAElD,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;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
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,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6B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K,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -451,17 +451,38 @@ export default {
|
|
|
451
451
|
manufacturer: { type: 'string' },
|
|
452
452
|
model: {
|
|
453
453
|
properties: {
|
|
454
|
+
access_codes_supported: { type: 'boolean' },
|
|
455
|
+
accessory_keypad_supported: { type: 'boolean' },
|
|
454
456
|
display_name: { type: 'string' },
|
|
455
457
|
manufacturer_display_name: { type: 'string' },
|
|
458
|
+
offline_access_codes_supported: { type: 'boolean' },
|
|
456
459
|
},
|
|
457
460
|
required: ['display_name', 'manufacturer_display_name'],
|
|
458
461
|
type: 'object',
|
|
459
462
|
},
|
|
460
463
|
name: { type: 'string' },
|
|
464
|
+
offline_access_codes_enabled: {
|
|
465
|
+
description:
|
|
466
|
+
'Currently possible to use offline access codes',
|
|
467
|
+
type: 'boolean',
|
|
468
|
+
},
|
|
461
469
|
online: { type: 'boolean' },
|
|
470
|
+
online_access_codes_enabled: {
|
|
471
|
+
description:
|
|
472
|
+
'Currently possible to use online access codes',
|
|
473
|
+
type: 'boolean',
|
|
474
|
+
},
|
|
462
475
|
serial_number: { type: 'string' },
|
|
463
|
-
supports_accessory_keypad: {
|
|
464
|
-
|
|
476
|
+
supports_accessory_keypad: {
|
|
477
|
+
description:
|
|
478
|
+
'Deprecated: use model.offline_access_codes_enabled.',
|
|
479
|
+
type: 'boolean',
|
|
480
|
+
},
|
|
481
|
+
supports_offline_access_codes: {
|
|
482
|
+
description:
|
|
483
|
+
'Deprecated: use model.accessory_keypad_supported.',
|
|
484
|
+
type: 'boolean',
|
|
485
|
+
},
|
|
465
486
|
},
|
|
466
487
|
required: ['online', 'name', 'model'],
|
|
467
488
|
type: 'object',
|
|
@@ -5885,6 +5906,8 @@ export default {
|
|
|
5885
5906
|
'device.salto.privacy_mode_deactivated',
|
|
5886
5907
|
'device.connection_became_flaky',
|
|
5887
5908
|
'device.connection_stabilized',
|
|
5909
|
+
'device.error.subscription_required',
|
|
5910
|
+
'device.error.subscription_required.resolved',
|
|
5888
5911
|
'access_code.created',
|
|
5889
5912
|
'access_code.changed',
|
|
5890
5913
|
'access_code.scheduled_on_device',
|
|
@@ -5933,6 +5956,8 @@ export default {
|
|
|
5933
5956
|
'device.salto.privacy_mode_deactivated',
|
|
5934
5957
|
'device.connection_became_flaky',
|
|
5935
5958
|
'device.connection_stabilized',
|
|
5959
|
+
'device.error.subscription_required',
|
|
5960
|
+
'device.error.subscription_required.resolved',
|
|
5936
5961
|
'access_code.created',
|
|
5937
5962
|
'access_code.changed',
|
|
5938
5963
|
'access_code.scheduled_on_device',
|
|
@@ -6191,11 +6216,11 @@ export default {
|
|
|
6191
6216
|
'application/json': {
|
|
6192
6217
|
schema: {
|
|
6193
6218
|
properties: {
|
|
6194
|
-
device: {
|
|
6195
|
-
lock: {
|
|
6219
|
+
device: { $ref: '#/components/schemas/device' },
|
|
6220
|
+
lock: { $ref: '#/components/schemas/device' },
|
|
6196
6221
|
ok: { type: 'boolean' },
|
|
6197
6222
|
},
|
|
6198
|
-
required: ['ok'],
|
|
6223
|
+
required: ['lock', 'device', 'ok'],
|
|
6199
6224
|
type: 'object',
|
|
6200
6225
|
},
|
|
6201
6226
|
},
|
|
@@ -6383,11 +6408,17 @@ export default {
|
|
|
6383
6408
|
'application/json': {
|
|
6384
6409
|
schema: {
|
|
6385
6410
|
properties: {
|
|
6386
|
-
devices: {
|
|
6387
|
-
|
|
6411
|
+
devices: {
|
|
6412
|
+
items: { $ref: '#/components/schemas/device' },
|
|
6413
|
+
type: 'array',
|
|
6414
|
+
},
|
|
6415
|
+
locks: {
|
|
6416
|
+
items: { $ref: '#/components/schemas/device' },
|
|
6417
|
+
type: 'array',
|
|
6418
|
+
},
|
|
6388
6419
|
ok: { type: 'boolean' },
|
|
6389
6420
|
},
|
|
6390
|
-
required: ['ok'],
|
|
6421
|
+
required: ['locks', 'devices', 'ok'],
|
|
6391
6422
|
type: 'object',
|
|
6392
6423
|
},
|
|
6393
6424
|
},
|