@seamapi/types 1.765.0 → 1.767.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 +375 -106
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2881 -10
- package/dist/index.cjs +375 -106
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +75 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/configure-auto-lock.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/configure-auto-lock.js +31 -0
- package/lib/seam/connect/models/action-attempts/configure-auto-lock.js.map +1 -0
- package/lib/seam/connect/models/batch.d.ts +166 -0
- package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -0
- package/lib/seam/connect/models/devices/capability-properties/lock.d.ts +6 -0
- package/lib/seam/connect/models/devices/capability-properties/lock.js +12 -0
- package/lib/seam/connect/models/devices/capability-properties/lock.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +7 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +25 -0
- package/lib/seam/connect/models/devices/device.js +1 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +17 -0
- package/lib/seam/connect/openapi.d.ts +132 -0
- package/lib/seam/connect/openapi.js +229 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2762 -306
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/configure-auto-lock.ts +46 -0
- package/src/lib/seam/connect/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/models/devices/capability-properties/lock.ts +12 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +5 -0
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +246 -0
- package/src/lib/seam/connect/route-types.ts +3089 -330
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
import { activate_climate_preset_action_attempt } from './activate-climate-preset.js'
|
|
4
|
+
import { configure_auto_lock_action_attempt } from './configure-auto-lock.js'
|
|
4
5
|
import { deprecated_action_attempts } from './deprecated.js'
|
|
5
6
|
import { encode_credential_action_attempt } from './encode-credential.js'
|
|
6
7
|
import { lock_door_action_attempt } from './lock-door.js'
|
|
@@ -25,6 +26,7 @@ export const action_attempt = z.union([
|
|
|
25
26
|
...simulate_keypad_code_entry_action_attempt.options,
|
|
26
27
|
...simulate_manual_lock_via_keypad_action_attempt.options,
|
|
27
28
|
...push_thermostat_programs_action_attempt.options,
|
|
29
|
+
...configure_auto_lock_action_attempt.options,
|
|
28
30
|
...deprecated_action_attempts,
|
|
29
31
|
]).describe(`
|
|
30
32
|
---
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
common_failed_action_attempt,
|
|
5
|
+
common_pending_action_attempt,
|
|
6
|
+
common_succeeded_action_attempt,
|
|
7
|
+
} from './common.js'
|
|
8
|
+
|
|
9
|
+
const action_type = z
|
|
10
|
+
.literal('CONFIGURE_AUTO_LOCK')
|
|
11
|
+
.describe(
|
|
12
|
+
'Action attempt to track the status of configuring the auto-lock on a lock.',
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
const error = z
|
|
16
|
+
.object({
|
|
17
|
+
type: z.string().describe('Type of the error.'),
|
|
18
|
+
message: z
|
|
19
|
+
.string()
|
|
20
|
+
.describe(
|
|
21
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
22
|
+
),
|
|
23
|
+
})
|
|
24
|
+
.describe('Error associated with the action.')
|
|
25
|
+
|
|
26
|
+
const result = z.object({}).describe('Result of the action.')
|
|
27
|
+
|
|
28
|
+
export const configure_auto_lock_action_attempt = z.discriminatedUnion(
|
|
29
|
+
'status',
|
|
30
|
+
[
|
|
31
|
+
common_pending_action_attempt
|
|
32
|
+
.extend({
|
|
33
|
+
action_type,
|
|
34
|
+
})
|
|
35
|
+
.describe('Configuring the auto-lock is pending.'),
|
|
36
|
+
common_succeeded_action_attempt
|
|
37
|
+
.extend({
|
|
38
|
+
action_type,
|
|
39
|
+
result,
|
|
40
|
+
})
|
|
41
|
+
.describe('Configuring the auto-lock succeeded.'),
|
|
42
|
+
common_failed_action_attempt
|
|
43
|
+
.extend({ action_type, error })
|
|
44
|
+
.describe('Configuring the auto-lock failed.'),
|
|
45
|
+
],
|
|
46
|
+
)
|
|
@@ -33,6 +33,12 @@ const base_manage_feature = base_feature.extend({
|
|
|
33
33
|
.describe(
|
|
34
34
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
35
35
|
),
|
|
36
|
+
exclude_reservation_technical_details: z
|
|
37
|
+
.boolean()
|
|
38
|
+
.default(false)
|
|
39
|
+
.describe(
|
|
40
|
+
'Indicates whether to exclude technical details from reservation views.',
|
|
41
|
+
),
|
|
36
42
|
exclude_staff_management: z
|
|
37
43
|
.boolean()
|
|
38
44
|
.default(false)
|
|
@@ -188,6 +194,7 @@ export const portal_configuration = portal_configuration_base
|
|
|
188
194
|
manage: {
|
|
189
195
|
exclude: false,
|
|
190
196
|
exclude_reservation_management: false,
|
|
197
|
+
exclude_reservation_technical_details: false,
|
|
191
198
|
exclude_staff_management: false,
|
|
192
199
|
},
|
|
193
200
|
manage_devices: {
|
|
@@ -25,4 +25,16 @@ export const lock_capability_properties = z.object({
|
|
|
25
25
|
---
|
|
26
26
|
Indicates whether the door is open.
|
|
27
27
|
`),
|
|
28
|
+
auto_lock_enabled: z.boolean().optional().describe(`
|
|
29
|
+
---
|
|
30
|
+
property_group_key: locks
|
|
31
|
+
---
|
|
32
|
+
Indicates whether automatic locking is enabled.
|
|
33
|
+
`),
|
|
34
|
+
auto_lock_delay_seconds: z.number().optional().describe(`
|
|
35
|
+
---
|
|
36
|
+
property_group_key: locks
|
|
37
|
+
---
|
|
38
|
+
The delay in seconds before the lock automatically locks after being unlocked.
|
|
39
|
+
`),
|
|
28
40
|
})
|
|
@@ -413,6 +413,11 @@ export const device_metadata = z
|
|
|
413
413
|
wifi: z
|
|
414
414
|
.boolean()
|
|
415
415
|
.describe(`Indicates whether a TTLock device supports Wi-Fi.`),
|
|
416
|
+
auto_lock_time_config: z
|
|
417
|
+
.boolean()
|
|
418
|
+
.describe(
|
|
419
|
+
`Indicates whether a TTLock device supports auto-lock time configuration.`,
|
|
420
|
+
),
|
|
416
421
|
})
|
|
417
422
|
.describe(`Features for a TTLock device.`),
|
|
418
423
|
has_gateway: z
|
|
@@ -8834,6 +8834,119 @@ export default {
|
|
|
8834
8834
|
],
|
|
8835
8835
|
type: 'object',
|
|
8836
8836
|
},
|
|
8837
|
+
{
|
|
8838
|
+
description: 'Configuring the auto-lock is pending.',
|
|
8839
|
+
properties: {
|
|
8840
|
+
action_attempt_id: {
|
|
8841
|
+
description: 'ID of the action attempt.',
|
|
8842
|
+
format: 'uuid',
|
|
8843
|
+
type: 'string',
|
|
8844
|
+
},
|
|
8845
|
+
action_type: {
|
|
8846
|
+
description:
|
|
8847
|
+
'Action attempt to track the status of configuring the auto-lock on a lock.',
|
|
8848
|
+
enum: ['CONFIGURE_AUTO_LOCK'],
|
|
8849
|
+
type: 'string',
|
|
8850
|
+
},
|
|
8851
|
+
error: {
|
|
8852
|
+
description:
|
|
8853
|
+
'Errors associated with the action attempt. Null for pending action attempts.',
|
|
8854
|
+
nullable: true,
|
|
8855
|
+
},
|
|
8856
|
+
result: {
|
|
8857
|
+
description:
|
|
8858
|
+
'Result of the action attempt. Null for pending action attempts.',
|
|
8859
|
+
nullable: true,
|
|
8860
|
+
},
|
|
8861
|
+
status: { enum: ['pending'], type: 'string' },
|
|
8862
|
+
},
|
|
8863
|
+
required: [
|
|
8864
|
+
'action_attempt_id',
|
|
8865
|
+
'status',
|
|
8866
|
+
'result',
|
|
8867
|
+
'error',
|
|
8868
|
+
'action_type',
|
|
8869
|
+
],
|
|
8870
|
+
type: 'object',
|
|
8871
|
+
},
|
|
8872
|
+
{
|
|
8873
|
+
description: 'Configuring the auto-lock succeeded.',
|
|
8874
|
+
properties: {
|
|
8875
|
+
action_attempt_id: {
|
|
8876
|
+
description: 'ID of the action attempt.',
|
|
8877
|
+
format: 'uuid',
|
|
8878
|
+
type: 'string',
|
|
8879
|
+
},
|
|
8880
|
+
action_type: {
|
|
8881
|
+
description:
|
|
8882
|
+
'Action attempt to track the status of configuring the auto-lock on a lock.',
|
|
8883
|
+
enum: ['CONFIGURE_AUTO_LOCK'],
|
|
8884
|
+
type: 'string',
|
|
8885
|
+
},
|
|
8886
|
+
error: {
|
|
8887
|
+
description:
|
|
8888
|
+
'Errors associated with the action attempt. Null for successful action attempts.',
|
|
8889
|
+
nullable: true,
|
|
8890
|
+
},
|
|
8891
|
+
result: {
|
|
8892
|
+
description: 'Result of the action.',
|
|
8893
|
+
properties: {},
|
|
8894
|
+
type: 'object',
|
|
8895
|
+
},
|
|
8896
|
+
status: { enum: ['success'], type: 'string' },
|
|
8897
|
+
},
|
|
8898
|
+
required: [
|
|
8899
|
+
'action_attempt_id',
|
|
8900
|
+
'status',
|
|
8901
|
+
'error',
|
|
8902
|
+
'action_type',
|
|
8903
|
+
'result',
|
|
8904
|
+
],
|
|
8905
|
+
type: 'object',
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
description: 'Configuring the auto-lock failed.',
|
|
8909
|
+
properties: {
|
|
8910
|
+
action_attempt_id: {
|
|
8911
|
+
description: 'ID of the action attempt.',
|
|
8912
|
+
format: 'uuid',
|
|
8913
|
+
type: 'string',
|
|
8914
|
+
},
|
|
8915
|
+
action_type: {
|
|
8916
|
+
description:
|
|
8917
|
+
'Action attempt to track the status of configuring the auto-lock on a lock.',
|
|
8918
|
+
enum: ['CONFIGURE_AUTO_LOCK'],
|
|
8919
|
+
type: 'string',
|
|
8920
|
+
},
|
|
8921
|
+
error: {
|
|
8922
|
+
description: 'Error associated with the action.',
|
|
8923
|
+
properties: {
|
|
8924
|
+
message: {
|
|
8925
|
+
description:
|
|
8926
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8927
|
+
type: 'string',
|
|
8928
|
+
},
|
|
8929
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
8930
|
+
},
|
|
8931
|
+
required: ['type', 'message'],
|
|
8932
|
+
type: 'object',
|
|
8933
|
+
},
|
|
8934
|
+
result: {
|
|
8935
|
+
description:
|
|
8936
|
+
'Result of the action attempt. Null for failed action attempts.',
|
|
8937
|
+
nullable: true,
|
|
8938
|
+
},
|
|
8939
|
+
status: { enum: ['error'], type: 'string' },
|
|
8940
|
+
},
|
|
8941
|
+
required: [
|
|
8942
|
+
'action_attempt_id',
|
|
8943
|
+
'status',
|
|
8944
|
+
'result',
|
|
8945
|
+
'action_type',
|
|
8946
|
+
'error',
|
|
8947
|
+
],
|
|
8948
|
+
type: 'object',
|
|
8949
|
+
},
|
|
8837
8950
|
{
|
|
8838
8951
|
properties: {
|
|
8839
8952
|
action_attempt_id: {
|
|
@@ -10755,6 +10868,7 @@ export default {
|
|
|
10755
10868
|
description:
|
|
10756
10869
|
'Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam.',
|
|
10757
10870
|
properties: {
|
|
10871
|
+
can_configure_auto_lock: { type: 'boolean' },
|
|
10758
10872
|
can_hvac_cool: { type: 'boolean' },
|
|
10759
10873
|
can_hvac_heat: { type: 'boolean' },
|
|
10760
10874
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
@@ -12951,6 +13065,11 @@ export default {
|
|
|
12951
13065
|
features: {
|
|
12952
13066
|
description: 'Features for a TTLock device.',
|
|
12953
13067
|
properties: {
|
|
13068
|
+
auto_lock_time_config: {
|
|
13069
|
+
description:
|
|
13070
|
+
'Indicates whether a TTLock device supports auto-lock time configuration.',
|
|
13071
|
+
type: 'boolean',
|
|
13072
|
+
},
|
|
12954
13073
|
incomplete_keyboard_passcode: {
|
|
12955
13074
|
description:
|
|
12956
13075
|
'Indicates whether a TTLock device supports an incomplete keyboard passcode.',
|
|
@@ -12989,6 +13108,7 @@ export default {
|
|
|
12989
13108
|
'lock_command',
|
|
12990
13109
|
'incomplete_keyboard_passcode',
|
|
12991
13110
|
'wifi',
|
|
13111
|
+
'auto_lock_time_config',
|
|
12992
13112
|
],
|
|
12993
13113
|
type: 'object',
|
|
12994
13114
|
},
|
|
@@ -13163,6 +13283,19 @@ export default {
|
|
|
13163
13283
|
type: 'array',
|
|
13164
13284
|
'x-undocumented': 'Marked as experimental.',
|
|
13165
13285
|
},
|
|
13286
|
+
auto_lock_delay_seconds: {
|
|
13287
|
+
description:
|
|
13288
|
+
'The delay in seconds before the lock automatically locks after being unlocked.',
|
|
13289
|
+
format: 'float',
|
|
13290
|
+
type: 'number',
|
|
13291
|
+
'x-property-group-key': 'locks',
|
|
13292
|
+
},
|
|
13293
|
+
auto_lock_enabled: {
|
|
13294
|
+
description:
|
|
13295
|
+
'Indicates whether automatic locking is enabled.',
|
|
13296
|
+
type: 'boolean',
|
|
13297
|
+
'x-property-group-key': 'locks',
|
|
13298
|
+
},
|
|
13166
13299
|
code_constraints: {
|
|
13167
13300
|
description:
|
|
13168
13301
|
'Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific.',
|
|
@@ -14837,6 +14970,7 @@ export default {
|
|
|
14837
14970
|
},
|
|
14838
14971
|
device_provider: {
|
|
14839
14972
|
properties: {
|
|
14973
|
+
can_configure_auto_lock: { type: 'boolean' },
|
|
14840
14974
|
can_hvac_cool: { type: 'boolean' },
|
|
14841
14975
|
can_hvac_heat: { type: 'boolean' },
|
|
14842
14976
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
@@ -28945,6 +29079,7 @@ export default {
|
|
|
28945
29079
|
description:
|
|
28946
29080
|
'Represents an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).',
|
|
28947
29081
|
properties: {
|
|
29082
|
+
can_configure_auto_lock: { type: 'boolean' },
|
|
28948
29083
|
can_hvac_cool: { type: 'boolean' },
|
|
28949
29084
|
can_hvac_heat: { type: 'boolean' },
|
|
28950
29085
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
@@ -49455,6 +49590,7 @@ export default {
|
|
|
49455
49590
|
manage: {
|
|
49456
49591
|
exclude: false,
|
|
49457
49592
|
exclude_reservation_management: false,
|
|
49593
|
+
exclude_reservation_technical_details: false,
|
|
49458
49594
|
exclude_staff_management: false,
|
|
49459
49595
|
},
|
|
49460
49596
|
manage_devices: { exclude: false },
|
|
@@ -49620,6 +49756,12 @@ export default {
|
|
|
49620
49756
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
49621
49757
|
type: 'boolean',
|
|
49622
49758
|
},
|
|
49759
|
+
exclude_reservation_technical_details: {
|
|
49760
|
+
default: false,
|
|
49761
|
+
description:
|
|
49762
|
+
'Indicates whether to exclude technical details from reservation views.',
|
|
49763
|
+
type: 'boolean',
|
|
49764
|
+
},
|
|
49623
49765
|
exclude_staff_management: {
|
|
49624
49766
|
default: false,
|
|
49625
49767
|
description:
|
|
@@ -52536,6 +52678,7 @@ export default {
|
|
|
52536
52678
|
'can_simulate_hub_connection',
|
|
52537
52679
|
'can_simulate_hub_disconnection',
|
|
52538
52680
|
'can_simulate_paid_subscription',
|
|
52681
|
+
'can_configure_auto_lock',
|
|
52539
52682
|
],
|
|
52540
52683
|
type: 'string',
|
|
52541
52684
|
},
|
|
@@ -52568,6 +52711,7 @@ export default {
|
|
|
52568
52711
|
'can_simulate_hub_connection',
|
|
52569
52712
|
'can_simulate_hub_disconnection',
|
|
52570
52713
|
'can_simulate_paid_subscription',
|
|
52714
|
+
'can_configure_auto_lock',
|
|
52571
52715
|
],
|
|
52572
52716
|
type: 'string',
|
|
52573
52717
|
},
|
|
@@ -52868,6 +53012,7 @@ export default {
|
|
|
52868
53012
|
'can_simulate_hub_connection',
|
|
52869
53013
|
'can_simulate_hub_disconnection',
|
|
52870
53014
|
'can_simulate_paid_subscription',
|
|
53015
|
+
'can_configure_auto_lock',
|
|
52871
53016
|
],
|
|
52872
53017
|
type: 'string',
|
|
52873
53018
|
},
|
|
@@ -52896,6 +53041,7 @@ export default {
|
|
|
52896
53041
|
'can_simulate_hub_connection',
|
|
52897
53042
|
'can_simulate_hub_disconnection',
|
|
52898
53043
|
'can_simulate_paid_subscription',
|
|
53044
|
+
'can_configure_auto_lock',
|
|
52899
53045
|
],
|
|
52900
53046
|
type: 'string',
|
|
52901
53047
|
},
|
|
@@ -54419,6 +54565,7 @@ export default {
|
|
|
54419
54565
|
'can_simulate_hub_connection',
|
|
54420
54566
|
'can_simulate_hub_disconnection',
|
|
54421
54567
|
'can_simulate_paid_subscription',
|
|
54568
|
+
'can_configure_auto_lock',
|
|
54422
54569
|
],
|
|
54423
54570
|
type: 'string',
|
|
54424
54571
|
},
|
|
@@ -54451,6 +54598,7 @@ export default {
|
|
|
54451
54598
|
'can_simulate_hub_connection',
|
|
54452
54599
|
'can_simulate_hub_disconnection',
|
|
54453
54600
|
'can_simulate_paid_subscription',
|
|
54601
|
+
'can_configure_auto_lock',
|
|
54454
54602
|
],
|
|
54455
54603
|
type: 'string',
|
|
54456
54604
|
},
|
|
@@ -54761,6 +54909,7 @@ export default {
|
|
|
54761
54909
|
'can_simulate_hub_connection',
|
|
54762
54910
|
'can_simulate_hub_disconnection',
|
|
54763
54911
|
'can_simulate_paid_subscription',
|
|
54912
|
+
'can_configure_auto_lock',
|
|
54764
54913
|
],
|
|
54765
54914
|
type: 'string',
|
|
54766
54915
|
},
|
|
@@ -54789,6 +54938,7 @@ export default {
|
|
|
54789
54938
|
'can_simulate_hub_connection',
|
|
54790
54939
|
'can_simulate_hub_disconnection',
|
|
54791
54940
|
'can_simulate_paid_subscription',
|
|
54941
|
+
'can_configure_auto_lock',
|
|
54792
54942
|
],
|
|
54793
54943
|
type: 'string',
|
|
54794
54944
|
},
|
|
@@ -56664,6 +56814,78 @@ export default {
|
|
|
56664
56814
|
'x-title': 'List Instant Keys',
|
|
56665
56815
|
},
|
|
56666
56816
|
},
|
|
56817
|
+
'/locks/configure_auto_lock': {
|
|
56818
|
+
post: {
|
|
56819
|
+
description:
|
|
56820
|
+
'Configures the auto-lock setting for a specified [lock](https://docs.seam.co/latest/capability-guides/smart-locks).',
|
|
56821
|
+
operationId: 'locksConfigureAutoLockPost',
|
|
56822
|
+
requestBody: {
|
|
56823
|
+
content: {
|
|
56824
|
+
'application/json': {
|
|
56825
|
+
schema: {
|
|
56826
|
+
properties: {
|
|
56827
|
+
auto_lock_delay_seconds: {
|
|
56828
|
+
description:
|
|
56829
|
+
'Delay in seconds before the lock automatically locks. Required when enabling auto-lock. Must be between 1 and 60.',
|
|
56830
|
+
format: 'float',
|
|
56831
|
+
maximum: 60,
|
|
56832
|
+
minimum: 1,
|
|
56833
|
+
type: 'number',
|
|
56834
|
+
},
|
|
56835
|
+
auto_lock_enabled: {
|
|
56836
|
+
description: 'Whether to enable or disable auto-lock.',
|
|
56837
|
+
type: 'boolean',
|
|
56838
|
+
},
|
|
56839
|
+
device_id: {
|
|
56840
|
+
description:
|
|
56841
|
+
'ID of the lock for which you want to configure the auto-lock.',
|
|
56842
|
+
format: 'uuid',
|
|
56843
|
+
type: 'string',
|
|
56844
|
+
},
|
|
56845
|
+
},
|
|
56846
|
+
required: ['device_id', 'auto_lock_enabled'],
|
|
56847
|
+
type: 'object',
|
|
56848
|
+
},
|
|
56849
|
+
},
|
|
56850
|
+
},
|
|
56851
|
+
},
|
|
56852
|
+
responses: {
|
|
56853
|
+
200: {
|
|
56854
|
+
content: {
|
|
56855
|
+
'application/json': {
|
|
56856
|
+
schema: {
|
|
56857
|
+
properties: {
|
|
56858
|
+
action_attempt: {
|
|
56859
|
+
$ref: '#/components/schemas/action_attempt',
|
|
56860
|
+
},
|
|
56861
|
+
ok: { type: 'boolean' },
|
|
56862
|
+
},
|
|
56863
|
+
required: ['action_attempt', 'ok'],
|
|
56864
|
+
type: 'object',
|
|
56865
|
+
},
|
|
56866
|
+
},
|
|
56867
|
+
},
|
|
56868
|
+
description: 'OK',
|
|
56869
|
+
},
|
|
56870
|
+
400: { description: 'Bad Request' },
|
|
56871
|
+
401: { description: 'Unauthorized' },
|
|
56872
|
+
},
|
|
56873
|
+
security: [
|
|
56874
|
+
{ client_session: [] },
|
|
56875
|
+
{ pat_with_workspace: [] },
|
|
56876
|
+
{ console_session_with_workspace: [] },
|
|
56877
|
+
{ api_key: [] },
|
|
56878
|
+
],
|
|
56879
|
+
summary: '/locks/configure_auto_lock',
|
|
56880
|
+
tags: ['/locks'],
|
|
56881
|
+
'x-action-attempt-type': 'CONFIGURE_AUTO_LOCK',
|
|
56882
|
+
'x-fern-sdk-group-name': ['locks'],
|
|
56883
|
+
'x-fern-sdk-method-name': 'configure_auto_lock',
|
|
56884
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
56885
|
+
'x-response-key': 'action_attempt',
|
|
56886
|
+
'x-title': 'Configure Auto-Lock',
|
|
56887
|
+
},
|
|
56888
|
+
},
|
|
56667
56889
|
'/locks/get': {
|
|
56668
56890
|
get: {
|
|
56669
56891
|
description:
|
|
@@ -57031,6 +57253,7 @@ export default {
|
|
|
57031
57253
|
'can_simulate_hub_connection',
|
|
57032
57254
|
'can_simulate_hub_disconnection',
|
|
57033
57255
|
'can_simulate_paid_subscription',
|
|
57256
|
+
'can_configure_auto_lock',
|
|
57034
57257
|
],
|
|
57035
57258
|
type: 'string',
|
|
57036
57259
|
},
|
|
@@ -57063,6 +57286,7 @@ export default {
|
|
|
57063
57286
|
'can_simulate_hub_connection',
|
|
57064
57287
|
'can_simulate_hub_disconnection',
|
|
57065
57288
|
'can_simulate_paid_subscription',
|
|
57289
|
+
'can_configure_auto_lock',
|
|
57066
57290
|
],
|
|
57067
57291
|
type: 'string',
|
|
57068
57292
|
},
|
|
@@ -57288,6 +57512,7 @@ export default {
|
|
|
57288
57512
|
'can_simulate_hub_connection',
|
|
57289
57513
|
'can_simulate_hub_disconnection',
|
|
57290
57514
|
'can_simulate_paid_subscription',
|
|
57515
|
+
'can_configure_auto_lock',
|
|
57291
57516
|
],
|
|
57292
57517
|
type: 'string',
|
|
57293
57518
|
},
|
|
@@ -57316,6 +57541,7 @@ export default {
|
|
|
57316
57541
|
'can_simulate_hub_connection',
|
|
57317
57542
|
'can_simulate_hub_disconnection',
|
|
57318
57543
|
'can_simulate_paid_subscription',
|
|
57544
|
+
'can_configure_auto_lock',
|
|
57319
57545
|
],
|
|
57320
57546
|
type: 'string',
|
|
57321
57547
|
},
|
|
@@ -57860,6 +58086,7 @@ export default {
|
|
|
57860
58086
|
'can_simulate_hub_connection',
|
|
57861
58087
|
'can_simulate_hub_disconnection',
|
|
57862
58088
|
'can_simulate_paid_subscription',
|
|
58089
|
+
'can_configure_auto_lock',
|
|
57863
58090
|
],
|
|
57864
58091
|
type: 'string',
|
|
57865
58092
|
},
|
|
@@ -57892,6 +58119,7 @@ export default {
|
|
|
57892
58119
|
'can_simulate_hub_connection',
|
|
57893
58120
|
'can_simulate_hub_disconnection',
|
|
57894
58121
|
'can_simulate_paid_subscription',
|
|
58122
|
+
'can_configure_auto_lock',
|
|
57895
58123
|
],
|
|
57896
58124
|
type: 'string',
|
|
57897
58125
|
},
|
|
@@ -58061,6 +58289,7 @@ export default {
|
|
|
58061
58289
|
'can_simulate_hub_connection',
|
|
58062
58290
|
'can_simulate_hub_disconnection',
|
|
58063
58291
|
'can_simulate_paid_subscription',
|
|
58292
|
+
'can_configure_auto_lock',
|
|
58064
58293
|
],
|
|
58065
58294
|
type: 'string',
|
|
58066
58295
|
},
|
|
@@ -58089,6 +58318,7 @@ export default {
|
|
|
58089
58318
|
'can_simulate_hub_connection',
|
|
58090
58319
|
'can_simulate_hub_disconnection',
|
|
58091
58320
|
'can_simulate_paid_subscription',
|
|
58321
|
+
'can_configure_auto_lock',
|
|
58092
58322
|
],
|
|
58093
58323
|
type: 'string',
|
|
58094
58324
|
},
|
|
@@ -66029,6 +66259,12 @@ export default {
|
|
|
66029
66259
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
66030
66260
|
type: 'boolean',
|
|
66031
66261
|
},
|
|
66262
|
+
exclude_reservation_technical_details: {
|
|
66263
|
+
default: false,
|
|
66264
|
+
description:
|
|
66265
|
+
'Indicates whether to exclude technical details from reservation views.',
|
|
66266
|
+
type: 'boolean',
|
|
66267
|
+
},
|
|
66032
66268
|
exclude_staff_management: {
|
|
66033
66269
|
default: false,
|
|
66034
66270
|
description:
|
|
@@ -66428,6 +66664,12 @@ export default {
|
|
|
66428
66664
|
'Indicates whether the customer can manage reservations for their properties.',
|
|
66429
66665
|
type: 'boolean',
|
|
66430
66666
|
},
|
|
66667
|
+
exclude_reservation_technical_details: {
|
|
66668
|
+
default: false,
|
|
66669
|
+
description:
|
|
66670
|
+
'Indicates whether to exclude technical details from reservation views.',
|
|
66671
|
+
type: 'boolean',
|
|
66672
|
+
},
|
|
66431
66673
|
exclude_staff_management: {
|
|
66432
66674
|
default: false,
|
|
66433
66675
|
description:
|
|
@@ -72820,6 +73062,7 @@ export default {
|
|
|
72820
73062
|
'can_simulate_hub_connection',
|
|
72821
73063
|
'can_simulate_hub_disconnection',
|
|
72822
73064
|
'can_simulate_paid_subscription',
|
|
73065
|
+
'can_configure_auto_lock',
|
|
72823
73066
|
],
|
|
72824
73067
|
type: 'string',
|
|
72825
73068
|
},
|
|
@@ -72852,6 +73095,7 @@ export default {
|
|
|
72852
73095
|
'can_simulate_hub_connection',
|
|
72853
73096
|
'can_simulate_hub_disconnection',
|
|
72854
73097
|
'can_simulate_paid_subscription',
|
|
73098
|
+
'can_configure_auto_lock',
|
|
72855
73099
|
],
|
|
72856
73100
|
type: 'string',
|
|
72857
73101
|
},
|
|
@@ -73035,6 +73279,7 @@ export default {
|
|
|
73035
73279
|
'can_simulate_hub_connection',
|
|
73036
73280
|
'can_simulate_hub_disconnection',
|
|
73037
73281
|
'can_simulate_paid_subscription',
|
|
73282
|
+
'can_configure_auto_lock',
|
|
73038
73283
|
],
|
|
73039
73284
|
type: 'string',
|
|
73040
73285
|
},
|
|
@@ -73063,6 +73308,7 @@ export default {
|
|
|
73063
73308
|
'can_simulate_hub_connection',
|
|
73064
73309
|
'can_simulate_hub_disconnection',
|
|
73065
73310
|
'can_simulate_paid_subscription',
|
|
73311
|
+
'can_configure_auto_lock',
|
|
73066
73312
|
],
|
|
73067
73313
|
type: 'string',
|
|
73068
73314
|
},
|