@seamapi/types 1.766.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 +359 -106
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2861 -10
- package/dist/index.cjs +359 -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/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 +116 -0
- package/lib/seam/connect/openapi.js +213 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2758 -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/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 +227 -0
- package/src/lib/seam/connect/route-types.ts +3085 -330
|
@@ -5591,6 +5591,9 @@ declare const _default: {
|
|
|
5591
5591
|
device: {
|
|
5592
5592
|
description: string;
|
|
5593
5593
|
properties: {
|
|
5594
|
+
can_configure_auto_lock: {
|
|
5595
|
+
type: string;
|
|
5596
|
+
};
|
|
5594
5597
|
can_hvac_cool: {
|
|
5595
5598
|
type: string;
|
|
5596
5599
|
};
|
|
@@ -7175,6 +7178,10 @@ declare const _default: {
|
|
|
7175
7178
|
features: {
|
|
7176
7179
|
description: string;
|
|
7177
7180
|
properties: {
|
|
7181
|
+
auto_lock_time_config: {
|
|
7182
|
+
description: string;
|
|
7183
|
+
type: string;
|
|
7184
|
+
};
|
|
7178
7185
|
incomplete_keyboard_passcode: {
|
|
7179
7186
|
description: string;
|
|
7180
7187
|
type: string;
|
|
@@ -7346,6 +7353,17 @@ declare const _default: {
|
|
|
7346
7353
|
type: string;
|
|
7347
7354
|
'x-undocumented': string;
|
|
7348
7355
|
};
|
|
7356
|
+
auto_lock_delay_seconds: {
|
|
7357
|
+
description: string;
|
|
7358
|
+
format: string;
|
|
7359
|
+
type: string;
|
|
7360
|
+
'x-property-group-key': string;
|
|
7361
|
+
};
|
|
7362
|
+
auto_lock_enabled: {
|
|
7363
|
+
description: string;
|
|
7364
|
+
type: string;
|
|
7365
|
+
'x-property-group-key': string;
|
|
7366
|
+
};
|
|
7349
7367
|
code_constraints: {
|
|
7350
7368
|
description: string;
|
|
7351
7369
|
items: {
|
|
@@ -8155,6 +8173,8 @@ declare const _default: {
|
|
|
8155
8173
|
'x-property-group-key': string;
|
|
8156
8174
|
};
|
|
8157
8175
|
_experimental_supported_code_from_access_codes_lengths?: never;
|
|
8176
|
+
auto_lock_delay_seconds?: never;
|
|
8177
|
+
auto_lock_enabled?: never;
|
|
8158
8178
|
code_constraints?: never;
|
|
8159
8179
|
door_open?: never;
|
|
8160
8180
|
has_native_entry_events?: never;
|
|
@@ -8343,6 +8363,9 @@ declare const _default: {
|
|
|
8343
8363
|
};
|
|
8344
8364
|
device_provider: {
|
|
8345
8365
|
properties: {
|
|
8366
|
+
can_configure_auto_lock: {
|
|
8367
|
+
type: string;
|
|
8368
|
+
};
|
|
8346
8369
|
can_hvac_cool: {
|
|
8347
8370
|
type: string;
|
|
8348
8371
|
};
|
|
@@ -18137,6 +18160,9 @@ declare const _default: {
|
|
|
18137
18160
|
unmanaged_device: {
|
|
18138
18161
|
description: string;
|
|
18139
18162
|
properties: {
|
|
18163
|
+
can_configure_auto_lock: {
|
|
18164
|
+
type: string;
|
|
18165
|
+
};
|
|
18140
18166
|
can_hvac_cool: {
|
|
18141
18167
|
type: string;
|
|
18142
18168
|
};
|
|
@@ -45185,6 +45211,96 @@ declare const _default: {
|
|
|
45185
45211
|
'x-title': string;
|
|
45186
45212
|
};
|
|
45187
45213
|
};
|
|
45214
|
+
'/locks/configure_auto_lock': {
|
|
45215
|
+
post: {
|
|
45216
|
+
description: string;
|
|
45217
|
+
operationId: string;
|
|
45218
|
+
requestBody: {
|
|
45219
|
+
content: {
|
|
45220
|
+
'application/json': {
|
|
45221
|
+
schema: {
|
|
45222
|
+
properties: {
|
|
45223
|
+
auto_lock_delay_seconds: {
|
|
45224
|
+
description: string;
|
|
45225
|
+
format: string;
|
|
45226
|
+
maximum: number;
|
|
45227
|
+
minimum: number;
|
|
45228
|
+
type: string;
|
|
45229
|
+
};
|
|
45230
|
+
auto_lock_enabled: {
|
|
45231
|
+
description: string;
|
|
45232
|
+
type: string;
|
|
45233
|
+
};
|
|
45234
|
+
device_id: {
|
|
45235
|
+
description: string;
|
|
45236
|
+
format: string;
|
|
45237
|
+
type: string;
|
|
45238
|
+
};
|
|
45239
|
+
};
|
|
45240
|
+
required: string[];
|
|
45241
|
+
type: string;
|
|
45242
|
+
};
|
|
45243
|
+
};
|
|
45244
|
+
};
|
|
45245
|
+
};
|
|
45246
|
+
responses: {
|
|
45247
|
+
200: {
|
|
45248
|
+
content: {
|
|
45249
|
+
'application/json': {
|
|
45250
|
+
schema: {
|
|
45251
|
+
properties: {
|
|
45252
|
+
action_attempt: {
|
|
45253
|
+
$ref: string;
|
|
45254
|
+
};
|
|
45255
|
+
ok: {
|
|
45256
|
+
type: string;
|
|
45257
|
+
};
|
|
45258
|
+
};
|
|
45259
|
+
required: string[];
|
|
45260
|
+
type: string;
|
|
45261
|
+
};
|
|
45262
|
+
};
|
|
45263
|
+
};
|
|
45264
|
+
description: string;
|
|
45265
|
+
};
|
|
45266
|
+
400: {
|
|
45267
|
+
description: string;
|
|
45268
|
+
};
|
|
45269
|
+
401: {
|
|
45270
|
+
description: string;
|
|
45271
|
+
};
|
|
45272
|
+
};
|
|
45273
|
+
security: ({
|
|
45274
|
+
client_session: never[];
|
|
45275
|
+
pat_with_workspace?: never;
|
|
45276
|
+
console_session_with_workspace?: never;
|
|
45277
|
+
api_key?: never;
|
|
45278
|
+
} | {
|
|
45279
|
+
pat_with_workspace: never[];
|
|
45280
|
+
client_session?: never;
|
|
45281
|
+
console_session_with_workspace?: never;
|
|
45282
|
+
api_key?: never;
|
|
45283
|
+
} | {
|
|
45284
|
+
console_session_with_workspace: never[];
|
|
45285
|
+
client_session?: never;
|
|
45286
|
+
pat_with_workspace?: never;
|
|
45287
|
+
api_key?: never;
|
|
45288
|
+
} | {
|
|
45289
|
+
api_key: never[];
|
|
45290
|
+
client_session?: never;
|
|
45291
|
+
pat_with_workspace?: never;
|
|
45292
|
+
console_session_with_workspace?: never;
|
|
45293
|
+
})[];
|
|
45294
|
+
summary: string;
|
|
45295
|
+
tags: string[];
|
|
45296
|
+
'x-action-attempt-type': string;
|
|
45297
|
+
'x-fern-sdk-group-name': string[];
|
|
45298
|
+
'x-fern-sdk-method-name': string;
|
|
45299
|
+
'x-fern-sdk-return-value': string;
|
|
45300
|
+
'x-response-key': string;
|
|
45301
|
+
'x-title': string;
|
|
45302
|
+
};
|
|
45303
|
+
};
|
|
45188
45304
|
'/locks/get': {
|
|
45189
45305
|
get: {
|
|
45190
45306
|
description: string;
|
|
@@ -7771,6 +7771,111 @@ export default {
|
|
|
7771
7771
|
],
|
|
7772
7772
|
type: 'object',
|
|
7773
7773
|
},
|
|
7774
|
+
{
|
|
7775
|
+
description: 'Configuring the auto-lock is pending.',
|
|
7776
|
+
properties: {
|
|
7777
|
+
action_attempt_id: {
|
|
7778
|
+
description: 'ID of the action attempt.',
|
|
7779
|
+
format: 'uuid',
|
|
7780
|
+
type: 'string',
|
|
7781
|
+
},
|
|
7782
|
+
action_type: {
|
|
7783
|
+
description: 'Action attempt to track the status of configuring the auto-lock on a lock.',
|
|
7784
|
+
enum: ['CONFIGURE_AUTO_LOCK'],
|
|
7785
|
+
type: 'string',
|
|
7786
|
+
},
|
|
7787
|
+
error: {
|
|
7788
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
7789
|
+
nullable: true,
|
|
7790
|
+
},
|
|
7791
|
+
result: {
|
|
7792
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
7793
|
+
nullable: true,
|
|
7794
|
+
},
|
|
7795
|
+
status: { enum: ['pending'], type: 'string' },
|
|
7796
|
+
},
|
|
7797
|
+
required: [
|
|
7798
|
+
'action_attempt_id',
|
|
7799
|
+
'status',
|
|
7800
|
+
'result',
|
|
7801
|
+
'error',
|
|
7802
|
+
'action_type',
|
|
7803
|
+
],
|
|
7804
|
+
type: 'object',
|
|
7805
|
+
},
|
|
7806
|
+
{
|
|
7807
|
+
description: 'Configuring the auto-lock succeeded.',
|
|
7808
|
+
properties: {
|
|
7809
|
+
action_attempt_id: {
|
|
7810
|
+
description: 'ID of the action attempt.',
|
|
7811
|
+
format: 'uuid',
|
|
7812
|
+
type: 'string',
|
|
7813
|
+
},
|
|
7814
|
+
action_type: {
|
|
7815
|
+
description: 'Action attempt to track the status of configuring the auto-lock on a lock.',
|
|
7816
|
+
enum: ['CONFIGURE_AUTO_LOCK'],
|
|
7817
|
+
type: 'string',
|
|
7818
|
+
},
|
|
7819
|
+
error: {
|
|
7820
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
7821
|
+
nullable: true,
|
|
7822
|
+
},
|
|
7823
|
+
result: {
|
|
7824
|
+
description: 'Result of the action.',
|
|
7825
|
+
properties: {},
|
|
7826
|
+
type: 'object',
|
|
7827
|
+
},
|
|
7828
|
+
status: { enum: ['success'], type: 'string' },
|
|
7829
|
+
},
|
|
7830
|
+
required: [
|
|
7831
|
+
'action_attempt_id',
|
|
7832
|
+
'status',
|
|
7833
|
+
'error',
|
|
7834
|
+
'action_type',
|
|
7835
|
+
'result',
|
|
7836
|
+
],
|
|
7837
|
+
type: 'object',
|
|
7838
|
+
},
|
|
7839
|
+
{
|
|
7840
|
+
description: 'Configuring the auto-lock failed.',
|
|
7841
|
+
properties: {
|
|
7842
|
+
action_attempt_id: {
|
|
7843
|
+
description: 'ID of the action attempt.',
|
|
7844
|
+
format: 'uuid',
|
|
7845
|
+
type: 'string',
|
|
7846
|
+
},
|
|
7847
|
+
action_type: {
|
|
7848
|
+
description: 'Action attempt to track the status of configuring the auto-lock on a lock.',
|
|
7849
|
+
enum: ['CONFIGURE_AUTO_LOCK'],
|
|
7850
|
+
type: 'string',
|
|
7851
|
+
},
|
|
7852
|
+
error: {
|
|
7853
|
+
description: 'Error associated with the action.',
|
|
7854
|
+
properties: {
|
|
7855
|
+
message: {
|
|
7856
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7857
|
+
type: 'string',
|
|
7858
|
+
},
|
|
7859
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
7860
|
+
},
|
|
7861
|
+
required: ['type', 'message'],
|
|
7862
|
+
type: 'object',
|
|
7863
|
+
},
|
|
7864
|
+
result: {
|
|
7865
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
7866
|
+
nullable: true,
|
|
7867
|
+
},
|
|
7868
|
+
status: { enum: ['error'], type: 'string' },
|
|
7869
|
+
},
|
|
7870
|
+
required: [
|
|
7871
|
+
'action_attempt_id',
|
|
7872
|
+
'status',
|
|
7873
|
+
'result',
|
|
7874
|
+
'action_type',
|
|
7875
|
+
'error',
|
|
7876
|
+
],
|
|
7877
|
+
type: 'object',
|
|
7878
|
+
},
|
|
7774
7879
|
{
|
|
7775
7880
|
properties: {
|
|
7776
7881
|
action_attempt_id: {
|
|
@@ -9531,6 +9636,7 @@ export default {
|
|
|
9531
9636
|
device: {
|
|
9532
9637
|
description: 'Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam.',
|
|
9533
9638
|
properties: {
|
|
9639
|
+
can_configure_auto_lock: { type: 'boolean' },
|
|
9534
9640
|
can_hvac_cool: { type: 'boolean' },
|
|
9535
9641
|
can_hvac_heat: { type: 'boolean' },
|
|
9536
9642
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
@@ -11519,6 +11625,10 @@ export default {
|
|
|
11519
11625
|
features: {
|
|
11520
11626
|
description: 'Features for a TTLock device.',
|
|
11521
11627
|
properties: {
|
|
11628
|
+
auto_lock_time_config: {
|
|
11629
|
+
description: 'Indicates whether a TTLock device supports auto-lock time configuration.',
|
|
11630
|
+
type: 'boolean',
|
|
11631
|
+
},
|
|
11522
11632
|
incomplete_keyboard_passcode: {
|
|
11523
11633
|
description: 'Indicates whether a TTLock device supports an incomplete keyboard passcode.',
|
|
11524
11634
|
type: 'boolean',
|
|
@@ -11551,6 +11661,7 @@ export default {
|
|
|
11551
11661
|
'lock_command',
|
|
11552
11662
|
'incomplete_keyboard_passcode',
|
|
11553
11663
|
'wifi',
|
|
11664
|
+
'auto_lock_time_config',
|
|
11554
11665
|
],
|
|
11555
11666
|
type: 'object',
|
|
11556
11667
|
},
|
|
@@ -11716,6 +11827,17 @@ export default {
|
|
|
11716
11827
|
type: 'array',
|
|
11717
11828
|
'x-undocumented': 'Marked as experimental.',
|
|
11718
11829
|
},
|
|
11830
|
+
auto_lock_delay_seconds: {
|
|
11831
|
+
description: 'The delay in seconds before the lock automatically locks after being unlocked.',
|
|
11832
|
+
format: 'float',
|
|
11833
|
+
type: 'number',
|
|
11834
|
+
'x-property-group-key': 'locks',
|
|
11835
|
+
},
|
|
11836
|
+
auto_lock_enabled: {
|
|
11837
|
+
description: 'Indicates whether automatic locking is enabled.',
|
|
11838
|
+
type: 'boolean',
|
|
11839
|
+
'x-property-group-key': 'locks',
|
|
11840
|
+
},
|
|
11719
11841
|
code_constraints: {
|
|
11720
11842
|
description: '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.',
|
|
11721
11843
|
items: {
|
|
@@ -13161,6 +13283,7 @@ export default {
|
|
|
13161
13283
|
},
|
|
13162
13284
|
device_provider: {
|
|
13163
13285
|
properties: {
|
|
13286
|
+
can_configure_auto_lock: { type: 'boolean' },
|
|
13164
13287
|
can_hvac_cool: { type: 'boolean' },
|
|
13165
13288
|
can_hvac_heat: { type: 'boolean' },
|
|
13166
13289
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
@@ -25932,6 +26055,7 @@ export default {
|
|
|
25932
26055
|
unmanaged_device: {
|
|
25933
26056
|
description: '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).',
|
|
25934
26057
|
properties: {
|
|
26058
|
+
can_configure_auto_lock: { type: 'boolean' },
|
|
25935
26059
|
can_hvac_cool: { type: 'boolean' },
|
|
25936
26060
|
can_hvac_heat: { type: 'boolean' },
|
|
25937
26061
|
can_hvac_heat_cool: { type: 'boolean' },
|
|
@@ -47736,6 +47860,7 @@ export default {
|
|
|
47736
47860
|
'can_simulate_hub_connection',
|
|
47737
47861
|
'can_simulate_hub_disconnection',
|
|
47738
47862
|
'can_simulate_paid_subscription',
|
|
47863
|
+
'can_configure_auto_lock',
|
|
47739
47864
|
],
|
|
47740
47865
|
type: 'string',
|
|
47741
47866
|
},
|
|
@@ -47768,6 +47893,7 @@ export default {
|
|
|
47768
47893
|
'can_simulate_hub_connection',
|
|
47769
47894
|
'can_simulate_hub_disconnection',
|
|
47770
47895
|
'can_simulate_paid_subscription',
|
|
47896
|
+
'can_configure_auto_lock',
|
|
47771
47897
|
],
|
|
47772
47898
|
type: 'string',
|
|
47773
47899
|
},
|
|
@@ -48052,6 +48178,7 @@ export default {
|
|
|
48052
48178
|
'can_simulate_hub_connection',
|
|
48053
48179
|
'can_simulate_hub_disconnection',
|
|
48054
48180
|
'can_simulate_paid_subscription',
|
|
48181
|
+
'can_configure_auto_lock',
|
|
48055
48182
|
],
|
|
48056
48183
|
type: 'string',
|
|
48057
48184
|
},
|
|
@@ -48080,6 +48207,7 @@ export default {
|
|
|
48080
48207
|
'can_simulate_hub_connection',
|
|
48081
48208
|
'can_simulate_hub_disconnection',
|
|
48082
48209
|
'can_simulate_paid_subscription',
|
|
48210
|
+
'can_configure_auto_lock',
|
|
48083
48211
|
],
|
|
48084
48212
|
type: 'string',
|
|
48085
48213
|
},
|
|
@@ -49567,6 +49695,7 @@ export default {
|
|
|
49567
49695
|
'can_simulate_hub_connection',
|
|
49568
49696
|
'can_simulate_hub_disconnection',
|
|
49569
49697
|
'can_simulate_paid_subscription',
|
|
49698
|
+
'can_configure_auto_lock',
|
|
49570
49699
|
],
|
|
49571
49700
|
type: 'string',
|
|
49572
49701
|
},
|
|
@@ -49599,6 +49728,7 @@ export default {
|
|
|
49599
49728
|
'can_simulate_hub_connection',
|
|
49600
49729
|
'can_simulate_hub_disconnection',
|
|
49601
49730
|
'can_simulate_paid_subscription',
|
|
49731
|
+
'can_configure_auto_lock',
|
|
49602
49732
|
],
|
|
49603
49733
|
type: 'string',
|
|
49604
49734
|
},
|
|
@@ -49892,6 +50022,7 @@ export default {
|
|
|
49892
50022
|
'can_simulate_hub_connection',
|
|
49893
50023
|
'can_simulate_hub_disconnection',
|
|
49894
50024
|
'can_simulate_paid_subscription',
|
|
50025
|
+
'can_configure_auto_lock',
|
|
49895
50026
|
],
|
|
49896
50027
|
type: 'string',
|
|
49897
50028
|
},
|
|
@@ -49920,6 +50051,7 @@ export default {
|
|
|
49920
50051
|
'can_simulate_hub_connection',
|
|
49921
50052
|
'can_simulate_hub_disconnection',
|
|
49922
50053
|
'can_simulate_paid_subscription',
|
|
50054
|
+
'can_configure_auto_lock',
|
|
49923
50055
|
],
|
|
49924
50056
|
type: 'string',
|
|
49925
50057
|
},
|
|
@@ -51713,6 +51845,75 @@ export default {
|
|
|
51713
51845
|
'x-title': 'List Instant Keys',
|
|
51714
51846
|
},
|
|
51715
51847
|
},
|
|
51848
|
+
'/locks/configure_auto_lock': {
|
|
51849
|
+
post: {
|
|
51850
|
+
description: 'Configures the auto-lock setting for a specified [lock](https://docs.seam.co/latest/capability-guides/smart-locks).',
|
|
51851
|
+
operationId: 'locksConfigureAutoLockPost',
|
|
51852
|
+
requestBody: {
|
|
51853
|
+
content: {
|
|
51854
|
+
'application/json': {
|
|
51855
|
+
schema: {
|
|
51856
|
+
properties: {
|
|
51857
|
+
auto_lock_delay_seconds: {
|
|
51858
|
+
description: 'Delay in seconds before the lock automatically locks. Required when enabling auto-lock. Must be between 1 and 60.',
|
|
51859
|
+
format: 'float',
|
|
51860
|
+
maximum: 60,
|
|
51861
|
+
minimum: 1,
|
|
51862
|
+
type: 'number',
|
|
51863
|
+
},
|
|
51864
|
+
auto_lock_enabled: {
|
|
51865
|
+
description: 'Whether to enable or disable auto-lock.',
|
|
51866
|
+
type: 'boolean',
|
|
51867
|
+
},
|
|
51868
|
+
device_id: {
|
|
51869
|
+
description: 'ID of the lock for which you want to configure the auto-lock.',
|
|
51870
|
+
format: 'uuid',
|
|
51871
|
+
type: 'string',
|
|
51872
|
+
},
|
|
51873
|
+
},
|
|
51874
|
+
required: ['device_id', 'auto_lock_enabled'],
|
|
51875
|
+
type: 'object',
|
|
51876
|
+
},
|
|
51877
|
+
},
|
|
51878
|
+
},
|
|
51879
|
+
},
|
|
51880
|
+
responses: {
|
|
51881
|
+
200: {
|
|
51882
|
+
content: {
|
|
51883
|
+
'application/json': {
|
|
51884
|
+
schema: {
|
|
51885
|
+
properties: {
|
|
51886
|
+
action_attempt: {
|
|
51887
|
+
$ref: '#/components/schemas/action_attempt',
|
|
51888
|
+
},
|
|
51889
|
+
ok: { type: 'boolean' },
|
|
51890
|
+
},
|
|
51891
|
+
required: ['action_attempt', 'ok'],
|
|
51892
|
+
type: 'object',
|
|
51893
|
+
},
|
|
51894
|
+
},
|
|
51895
|
+
},
|
|
51896
|
+
description: 'OK',
|
|
51897
|
+
},
|
|
51898
|
+
400: { description: 'Bad Request' },
|
|
51899
|
+
401: { description: 'Unauthorized' },
|
|
51900
|
+
},
|
|
51901
|
+
security: [
|
|
51902
|
+
{ client_session: [] },
|
|
51903
|
+
{ pat_with_workspace: [] },
|
|
51904
|
+
{ console_session_with_workspace: [] },
|
|
51905
|
+
{ api_key: [] },
|
|
51906
|
+
],
|
|
51907
|
+
summary: '/locks/configure_auto_lock',
|
|
51908
|
+
tags: ['/locks'],
|
|
51909
|
+
'x-action-attempt-type': 'CONFIGURE_AUTO_LOCK',
|
|
51910
|
+
'x-fern-sdk-group-name': ['locks'],
|
|
51911
|
+
'x-fern-sdk-method-name': 'configure_auto_lock',
|
|
51912
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
51913
|
+
'x-response-key': 'action_attempt',
|
|
51914
|
+
'x-title': 'Configure Auto-Lock',
|
|
51915
|
+
},
|
|
51916
|
+
},
|
|
51716
51917
|
'/locks/get': {
|
|
51717
51918
|
get: {
|
|
51718
51919
|
description: 'Returns a specified [lock](https://docs.seam.co/latest/capability-guides/smart-locks).',
|
|
@@ -52068,6 +52269,7 @@ export default {
|
|
|
52068
52269
|
'can_simulate_hub_connection',
|
|
52069
52270
|
'can_simulate_hub_disconnection',
|
|
52070
52271
|
'can_simulate_paid_subscription',
|
|
52272
|
+
'can_configure_auto_lock',
|
|
52071
52273
|
],
|
|
52072
52274
|
type: 'string',
|
|
52073
52275
|
},
|
|
@@ -52100,6 +52302,7 @@ export default {
|
|
|
52100
52302
|
'can_simulate_hub_connection',
|
|
52101
52303
|
'can_simulate_hub_disconnection',
|
|
52102
52304
|
'can_simulate_paid_subscription',
|
|
52305
|
+
'can_configure_auto_lock',
|
|
52103
52306
|
],
|
|
52104
52307
|
type: 'string',
|
|
52105
52308
|
},
|
|
@@ -52313,6 +52516,7 @@ export default {
|
|
|
52313
52516
|
'can_simulate_hub_connection',
|
|
52314
52517
|
'can_simulate_hub_disconnection',
|
|
52315
52518
|
'can_simulate_paid_subscription',
|
|
52519
|
+
'can_configure_auto_lock',
|
|
52316
52520
|
],
|
|
52317
52521
|
type: 'string',
|
|
52318
52522
|
},
|
|
@@ -52341,6 +52545,7 @@ export default {
|
|
|
52341
52545
|
'can_simulate_hub_connection',
|
|
52342
52546
|
'can_simulate_hub_disconnection',
|
|
52343
52547
|
'can_simulate_paid_subscription',
|
|
52548
|
+
'can_configure_auto_lock',
|
|
52344
52549
|
],
|
|
52345
52550
|
type: 'string',
|
|
52346
52551
|
},
|
|
@@ -52859,6 +53064,7 @@ export default {
|
|
|
52859
53064
|
'can_simulate_hub_connection',
|
|
52860
53065
|
'can_simulate_hub_disconnection',
|
|
52861
53066
|
'can_simulate_paid_subscription',
|
|
53067
|
+
'can_configure_auto_lock',
|
|
52862
53068
|
],
|
|
52863
53069
|
type: 'string',
|
|
52864
53070
|
},
|
|
@@ -52891,6 +53097,7 @@ export default {
|
|
|
52891
53097
|
'can_simulate_hub_connection',
|
|
52892
53098
|
'can_simulate_hub_disconnection',
|
|
52893
53099
|
'can_simulate_paid_subscription',
|
|
53100
|
+
'can_configure_auto_lock',
|
|
52894
53101
|
],
|
|
52895
53102
|
type: 'string',
|
|
52896
53103
|
},
|
|
@@ -53048,6 +53255,7 @@ export default {
|
|
|
53048
53255
|
'can_simulate_hub_connection',
|
|
53049
53256
|
'can_simulate_hub_disconnection',
|
|
53050
53257
|
'can_simulate_paid_subscription',
|
|
53258
|
+
'can_configure_auto_lock',
|
|
53051
53259
|
],
|
|
53052
53260
|
type: 'string',
|
|
53053
53261
|
},
|
|
@@ -53076,6 +53284,7 @@ export default {
|
|
|
53076
53284
|
'can_simulate_hub_connection',
|
|
53077
53285
|
'can_simulate_hub_disconnection',
|
|
53078
53286
|
'can_simulate_paid_subscription',
|
|
53287
|
+
'can_configure_auto_lock',
|
|
53079
53288
|
],
|
|
53080
53289
|
type: 'string',
|
|
53081
53290
|
},
|
|
@@ -67316,6 +67525,7 @@ export default {
|
|
|
67316
67525
|
'can_simulate_hub_connection',
|
|
67317
67526
|
'can_simulate_hub_disconnection',
|
|
67318
67527
|
'can_simulate_paid_subscription',
|
|
67528
|
+
'can_configure_auto_lock',
|
|
67319
67529
|
],
|
|
67320
67530
|
type: 'string',
|
|
67321
67531
|
},
|
|
@@ -67348,6 +67558,7 @@ export default {
|
|
|
67348
67558
|
'can_simulate_hub_connection',
|
|
67349
67559
|
'can_simulate_hub_disconnection',
|
|
67350
67560
|
'can_simulate_paid_subscription',
|
|
67561
|
+
'can_configure_auto_lock',
|
|
67351
67562
|
],
|
|
67352
67563
|
type: 'string',
|
|
67353
67564
|
},
|
|
@@ -67519,6 +67730,7 @@ export default {
|
|
|
67519
67730
|
'can_simulate_hub_connection',
|
|
67520
67731
|
'can_simulate_hub_disconnection',
|
|
67521
67732
|
'can_simulate_paid_subscription',
|
|
67733
|
+
'can_configure_auto_lock',
|
|
67522
67734
|
],
|
|
67523
67735
|
type: 'string',
|
|
67524
67736
|
},
|
|
@@ -67547,6 +67759,7 @@ export default {
|
|
|
67547
67759
|
'can_simulate_hub_connection',
|
|
67548
67760
|
'can_simulate_hub_disconnection',
|
|
67549
67761
|
'can_simulate_paid_subscription',
|
|
67762
|
+
'can_configure_auto_lock',
|
|
67550
67763
|
],
|
|
67551
67764
|
type: 'string',
|
|
67552
67765
|
},
|