@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.
Files changed (36) hide show
  1. package/dist/connect.cjs +359 -106
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2861 -10
  4. package/dist/index.cjs +359 -106
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +75 -0
  7. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  9. package/lib/seam/connect/models/action-attempts/configure-auto-lock.d.ts +77 -0
  10. package/lib/seam/connect/models/action-attempts/configure-auto-lock.js +31 -0
  11. package/lib/seam/connect/models/action-attempts/configure-auto-lock.js.map +1 -0
  12. package/lib/seam/connect/models/batch.d.ts +166 -0
  13. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -0
  14. package/lib/seam/connect/models/devices/capability-properties/lock.d.ts +6 -0
  15. package/lib/seam/connect/models/devices/capability-properties/lock.js +12 -0
  16. package/lib/seam/connect/models/devices/capability-properties/lock.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device-metadata.d.ts +7 -0
  18. package/lib/seam/connect/models/devices/device-metadata.js +3 -0
  19. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
  21. package/lib/seam/connect/models/devices/device.d.ts +25 -0
  22. package/lib/seam/connect/models/devices/device.js +1 -0
  23. package/lib/seam/connect/models/devices/device.js.map +1 -1
  24. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +17 -0
  25. package/lib/seam/connect/openapi.d.ts +116 -0
  26. package/lib/seam/connect/openapi.js +213 -0
  27. package/lib/seam/connect/openapi.js.map +1 -1
  28. package/lib/seam/connect/route-types.d.ts +2758 -306
  29. package/package.json +1 -1
  30. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  31. package/src/lib/seam/connect/models/action-attempts/configure-auto-lock.ts +46 -0
  32. package/src/lib/seam/connect/models/devices/capability-properties/lock.ts +12 -0
  33. package/src/lib/seam/connect/models/devices/device-metadata.ts +5 -0
  34. package/src/lib/seam/connect/models/devices/device.ts +1 -0
  35. package/src/lib/seam/connect/openapi.ts +227 -0
  36. package/src/lib/seam/connect/route-types.ts +3085 -330
@@ -11194,6 +11194,81 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11194
11194
  status: z.ZodLiteral<"pending">;
11195
11195
  result: z.ZodNull;
11196
11196
  error: z.ZodNull;
11197
+ } & {
11198
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
11199
+ }, "strip", z.ZodTypeAny, {
11200
+ status: "pending";
11201
+ action_attempt_id: string;
11202
+ error: null;
11203
+ result: null;
11204
+ action_type: "CONFIGURE_AUTO_LOCK";
11205
+ }, {
11206
+ status: "pending";
11207
+ action_attempt_id: string;
11208
+ error: null;
11209
+ result: null;
11210
+ action_type: "CONFIGURE_AUTO_LOCK";
11211
+ }>, z.ZodObject<{
11212
+ action_attempt_id: z.ZodString;
11213
+ } & {
11214
+ status: z.ZodLiteral<"success">;
11215
+ error: z.ZodNull;
11216
+ } & {
11217
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
11218
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
11219
+ }, "strip", z.ZodTypeAny, {
11220
+ status: "success";
11221
+ action_attempt_id: string;
11222
+ error: null;
11223
+ result: {};
11224
+ action_type: "CONFIGURE_AUTO_LOCK";
11225
+ }, {
11226
+ status: "success";
11227
+ action_attempt_id: string;
11228
+ error: null;
11229
+ result: {};
11230
+ action_type: "CONFIGURE_AUTO_LOCK";
11231
+ }>, z.ZodObject<{
11232
+ action_attempt_id: z.ZodString;
11233
+ } & {
11234
+ status: z.ZodLiteral<"error">;
11235
+ result: z.ZodNull;
11236
+ } & {
11237
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
11238
+ error: z.ZodObject<{
11239
+ type: z.ZodString;
11240
+ message: z.ZodString;
11241
+ }, "strip", z.ZodTypeAny, {
11242
+ message: string;
11243
+ type: string;
11244
+ }, {
11245
+ message: string;
11246
+ type: string;
11247
+ }>;
11248
+ }, "strip", z.ZodTypeAny, {
11249
+ status: "error";
11250
+ action_attempt_id: string;
11251
+ error: {
11252
+ message: string;
11253
+ type: string;
11254
+ };
11255
+ result: null;
11256
+ action_type: "CONFIGURE_AUTO_LOCK";
11257
+ }, {
11258
+ status: "error";
11259
+ action_attempt_id: string;
11260
+ error: {
11261
+ message: string;
11262
+ type: string;
11263
+ };
11264
+ result: null;
11265
+ action_type: "CONFIGURE_AUTO_LOCK";
11266
+ }>, z.ZodObject<{
11267
+ action_attempt_id: z.ZodString;
11268
+ } & {
11269
+ status: z.ZodLiteral<"pending">;
11270
+ result: z.ZodNull;
11271
+ error: z.ZodNull;
11197
11272
  } & {
11198
11273
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
11199
11274
  }, "strip", z.ZodTypeAny, {
@@ -12652,6 +12727,7 @@ declare const batch: z.ZodObject<{
12652
12727
  lock_command: z.ZodBoolean;
12653
12728
  incomplete_keyboard_passcode: z.ZodBoolean;
12654
12729
  wifi: z.ZodBoolean;
12730
+ auto_lock_time_config: z.ZodBoolean;
12655
12731
  }, "strip", z.ZodTypeAny, {
12656
12732
  passcode: boolean;
12657
12733
  passcode_management: boolean;
@@ -12659,6 +12735,7 @@ declare const batch: z.ZodObject<{
12659
12735
  lock_command: boolean;
12660
12736
  incomplete_keyboard_passcode: boolean;
12661
12737
  wifi: boolean;
12738
+ auto_lock_time_config: boolean;
12662
12739
  }, {
12663
12740
  passcode: boolean;
12664
12741
  passcode_management: boolean;
@@ -12666,6 +12743,7 @@ declare const batch: z.ZodObject<{
12666
12743
  lock_command: boolean;
12667
12744
  incomplete_keyboard_passcode: boolean;
12668
12745
  wifi: boolean;
12746
+ auto_lock_time_config: boolean;
12669
12747
  }>;
12670
12748
  has_gateway: z.ZodOptional<z.ZodBoolean>;
12671
12749
  wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -12689,6 +12767,7 @@ declare const batch: z.ZodObject<{
12689
12767
  lock_command: boolean;
12690
12768
  incomplete_keyboard_passcode: boolean;
12691
12769
  wifi: boolean;
12770
+ auto_lock_time_config: boolean;
12692
12771
  };
12693
12772
  has_gateway?: boolean | undefined;
12694
12773
  wireless_keypads?: {
@@ -12706,6 +12785,7 @@ declare const batch: z.ZodObject<{
12706
12785
  lock_command: boolean;
12707
12786
  incomplete_keyboard_passcode: boolean;
12708
12787
  wifi: boolean;
12788
+ auto_lock_time_config: boolean;
12709
12789
  };
12710
12790
  has_gateway?: boolean | undefined;
12711
12791
  wireless_keypads?: {
@@ -13237,6 +13317,7 @@ declare const batch: z.ZodObject<{
13237
13317
  lock_command: boolean;
13238
13318
  incomplete_keyboard_passcode: boolean;
13239
13319
  wifi: boolean;
13320
+ auto_lock_time_config: boolean;
13240
13321
  };
13241
13322
  has_gateway?: boolean | undefined;
13242
13323
  wireless_keypads?: {
@@ -13514,6 +13595,7 @@ declare const batch: z.ZodObject<{
13514
13595
  lock_command: boolean;
13515
13596
  incomplete_keyboard_passcode: boolean;
13516
13597
  wifi: boolean;
13598
+ auto_lock_time_config: boolean;
13517
13599
  };
13518
13600
  has_gateway?: boolean | undefined;
13519
13601
  wireless_keypads?: {
@@ -13683,6 +13765,8 @@ declare const batch: z.ZodObject<{
13683
13765
  level: number;
13684
13766
  }>>>;
13685
13767
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
13768
+ auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
13769
+ auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
13686
13770
  }, "strip", z.ZodTypeAny, {
13687
13771
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
13688
13772
  code_constraints?: ({
@@ -13701,6 +13785,8 @@ declare const batch: z.ZodObject<{
13701
13785
  level: number;
13702
13786
  } | undefined;
13703
13787
  door_open?: boolean | undefined;
13788
+ auto_lock_enabled?: boolean | undefined;
13789
+ auto_lock_delay_seconds?: number | undefined;
13704
13790
  }, {
13705
13791
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
13706
13792
  code_constraints?: ({
@@ -13719,6 +13805,8 @@ declare const batch: z.ZodObject<{
13719
13805
  level: number;
13720
13806
  } | undefined;
13721
13807
  door_open?: boolean | undefined;
13808
+ auto_lock_enabled?: boolean | undefined;
13809
+ auto_lock_delay_seconds?: number | undefined;
13722
13810
  }>, z.ZodObject<{
13723
13811
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
13724
13812
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -15059,6 +15147,7 @@ declare const batch: z.ZodObject<{
15059
15147
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
15060
15148
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
15061
15149
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
15150
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
15062
15151
  }, "strip", z.ZodTypeAny, {
15063
15152
  display_name: string;
15064
15153
  device_id: string;
@@ -15454,6 +15543,7 @@ declare const batch: z.ZodObject<{
15454
15543
  lock_command: boolean;
15455
15544
  incomplete_keyboard_passcode: boolean;
15456
15545
  wifi: boolean;
15546
+ auto_lock_time_config: boolean;
15457
15547
  };
15458
15548
  has_gateway?: boolean | undefined;
15459
15549
  wireless_keypads?: {
@@ -15606,6 +15696,8 @@ declare const batch: z.ZodObject<{
15606
15696
  level: number;
15607
15697
  } | undefined;
15608
15698
  door_open?: boolean | undefined;
15699
+ auto_lock_enabled?: boolean | undefined;
15700
+ auto_lock_delay_seconds?: number | undefined;
15609
15701
  } & {
15610
15702
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
15611
15703
  temperature_fahrenheit?: number | undefined;
@@ -15764,6 +15856,7 @@ declare const batch: z.ZodObject<{
15764
15856
  can_simulate_hub_connection?: boolean | undefined;
15765
15857
  can_simulate_hub_disconnection?: boolean | undefined;
15766
15858
  can_simulate_paid_subscription?: boolean | undefined;
15859
+ can_configure_auto_lock?: boolean | undefined;
15767
15860
  nickname?: string | undefined;
15768
15861
  device_provider?: {
15769
15862
  display_name: string;
@@ -16171,6 +16264,7 @@ declare const batch: z.ZodObject<{
16171
16264
  lock_command: boolean;
16172
16265
  incomplete_keyboard_passcode: boolean;
16173
16266
  wifi: boolean;
16267
+ auto_lock_time_config: boolean;
16174
16268
  };
16175
16269
  has_gateway?: boolean | undefined;
16176
16270
  wireless_keypads?: {
@@ -16323,6 +16417,8 @@ declare const batch: z.ZodObject<{
16323
16417
  level: number;
16324
16418
  } | undefined;
16325
16419
  door_open?: boolean | undefined;
16420
+ auto_lock_enabled?: boolean | undefined;
16421
+ auto_lock_delay_seconds?: number | undefined;
16326
16422
  } & {
16327
16423
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
16328
16424
  temperature_fahrenheit?: number | undefined;
@@ -16481,6 +16577,7 @@ declare const batch: z.ZodObject<{
16481
16577
  can_simulate_hub_connection?: boolean | undefined;
16482
16578
  can_simulate_hub_disconnection?: boolean | undefined;
16483
16579
  can_simulate_paid_subscription?: boolean | undefined;
16580
+ can_configure_auto_lock?: boolean | undefined;
16484
16581
  nickname?: string | undefined;
16485
16582
  device_provider?: {
16486
16583
  display_name: string;
@@ -22598,6 +22695,81 @@ declare const batch: z.ZodObject<{
22598
22695
  status: z.ZodLiteral<"pending">;
22599
22696
  result: z.ZodNull;
22600
22697
  error: z.ZodNull;
22698
+ } & {
22699
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
22700
+ }, "strip", z.ZodTypeAny, {
22701
+ status: "pending";
22702
+ action_attempt_id: string;
22703
+ error: null;
22704
+ result: null;
22705
+ action_type: "CONFIGURE_AUTO_LOCK";
22706
+ }, {
22707
+ status: "pending";
22708
+ action_attempt_id: string;
22709
+ error: null;
22710
+ result: null;
22711
+ action_type: "CONFIGURE_AUTO_LOCK";
22712
+ }>, z.ZodObject<{
22713
+ action_attempt_id: z.ZodString;
22714
+ } & {
22715
+ status: z.ZodLiteral<"success">;
22716
+ error: z.ZodNull;
22717
+ } & {
22718
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
22719
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
22720
+ }, "strip", z.ZodTypeAny, {
22721
+ status: "success";
22722
+ action_attempt_id: string;
22723
+ error: null;
22724
+ result: {};
22725
+ action_type: "CONFIGURE_AUTO_LOCK";
22726
+ }, {
22727
+ status: "success";
22728
+ action_attempt_id: string;
22729
+ error: null;
22730
+ result: {};
22731
+ action_type: "CONFIGURE_AUTO_LOCK";
22732
+ }>, z.ZodObject<{
22733
+ action_attempt_id: z.ZodString;
22734
+ } & {
22735
+ status: z.ZodLiteral<"error">;
22736
+ result: z.ZodNull;
22737
+ } & {
22738
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
22739
+ error: z.ZodObject<{
22740
+ type: z.ZodString;
22741
+ message: z.ZodString;
22742
+ }, "strip", z.ZodTypeAny, {
22743
+ message: string;
22744
+ type: string;
22745
+ }, {
22746
+ message: string;
22747
+ type: string;
22748
+ }>;
22749
+ }, "strip", z.ZodTypeAny, {
22750
+ status: "error";
22751
+ action_attempt_id: string;
22752
+ error: {
22753
+ message: string;
22754
+ type: string;
22755
+ };
22756
+ result: null;
22757
+ action_type: "CONFIGURE_AUTO_LOCK";
22758
+ }, {
22759
+ status: "error";
22760
+ action_attempt_id: string;
22761
+ error: {
22762
+ message: string;
22763
+ type: string;
22764
+ };
22765
+ result: null;
22766
+ action_type: "CONFIGURE_AUTO_LOCK";
22767
+ }>, z.ZodObject<{
22768
+ action_attempt_id: z.ZodString;
22769
+ } & {
22770
+ status: z.ZodLiteral<"pending">;
22771
+ result: z.ZodNull;
22772
+ error: z.ZodNull;
22601
22773
  } & {
22602
22774
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
22603
22775
  }, "strip", z.ZodTypeAny, {
@@ -24991,6 +25163,7 @@ declare const batch: z.ZodObject<{
24991
25163
  lock_command: z.ZodBoolean;
24992
25164
  incomplete_keyboard_passcode: z.ZodBoolean;
24993
25165
  wifi: z.ZodBoolean;
25166
+ auto_lock_time_config: z.ZodBoolean;
24994
25167
  }, "strip", z.ZodTypeAny, {
24995
25168
  passcode: boolean;
24996
25169
  passcode_management: boolean;
@@ -24998,6 +25171,7 @@ declare const batch: z.ZodObject<{
24998
25171
  lock_command: boolean;
24999
25172
  incomplete_keyboard_passcode: boolean;
25000
25173
  wifi: boolean;
25174
+ auto_lock_time_config: boolean;
25001
25175
  }, {
25002
25176
  passcode: boolean;
25003
25177
  passcode_management: boolean;
@@ -25005,6 +25179,7 @@ declare const batch: z.ZodObject<{
25005
25179
  lock_command: boolean;
25006
25180
  incomplete_keyboard_passcode: boolean;
25007
25181
  wifi: boolean;
25182
+ auto_lock_time_config: boolean;
25008
25183
  }>;
25009
25184
  has_gateway: z.ZodOptional<z.ZodBoolean>;
25010
25185
  wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -25028,6 +25203,7 @@ declare const batch: z.ZodObject<{
25028
25203
  lock_command: boolean;
25029
25204
  incomplete_keyboard_passcode: boolean;
25030
25205
  wifi: boolean;
25206
+ auto_lock_time_config: boolean;
25031
25207
  };
25032
25208
  has_gateway?: boolean | undefined;
25033
25209
  wireless_keypads?: {
@@ -25045,6 +25221,7 @@ declare const batch: z.ZodObject<{
25045
25221
  lock_command: boolean;
25046
25222
  incomplete_keyboard_passcode: boolean;
25047
25223
  wifi: boolean;
25224
+ auto_lock_time_config: boolean;
25048
25225
  };
25049
25226
  has_gateway?: boolean | undefined;
25050
25227
  wireless_keypads?: {
@@ -25576,6 +25753,7 @@ declare const batch: z.ZodObject<{
25576
25753
  lock_command: boolean;
25577
25754
  incomplete_keyboard_passcode: boolean;
25578
25755
  wifi: boolean;
25756
+ auto_lock_time_config: boolean;
25579
25757
  };
25580
25758
  has_gateway?: boolean | undefined;
25581
25759
  wireless_keypads?: {
@@ -25853,6 +26031,7 @@ declare const batch: z.ZodObject<{
25853
26031
  lock_command: boolean;
25854
26032
  incomplete_keyboard_passcode: boolean;
25855
26033
  wifi: boolean;
26034
+ auto_lock_time_config: boolean;
25856
26035
  };
25857
26036
  has_gateway?: boolean | undefined;
25858
26037
  wireless_keypads?: {
@@ -26022,6 +26201,8 @@ declare const batch: z.ZodObject<{
26022
26201
  level: number;
26023
26202
  }>>>;
26024
26203
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
26204
+ auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
26205
+ auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
26025
26206
  }, "strip", z.ZodTypeAny, {
26026
26207
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
26027
26208
  code_constraints?: ({
@@ -26040,6 +26221,8 @@ declare const batch: z.ZodObject<{
26040
26221
  level: number;
26041
26222
  } | undefined;
26042
26223
  door_open?: boolean | undefined;
26224
+ auto_lock_enabled?: boolean | undefined;
26225
+ auto_lock_delay_seconds?: number | undefined;
26043
26226
  }, {
26044
26227
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
26045
26228
  code_constraints?: ({
@@ -26058,6 +26241,8 @@ declare const batch: z.ZodObject<{
26058
26241
  level: number;
26059
26242
  } | undefined;
26060
26243
  door_open?: boolean | undefined;
26244
+ auto_lock_enabled?: boolean | undefined;
26245
+ auto_lock_delay_seconds?: number | undefined;
26061
26246
  }>, z.ZodObject<{
26062
26247
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
26063
26248
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -27398,6 +27583,7 @@ declare const batch: z.ZodObject<{
27398
27583
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
27399
27584
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
27400
27585
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
27586
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
27401
27587
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
27402
27588
  is_managed: z.ZodLiteral<false>;
27403
27589
  properties: z.ZodObject<Pick<{
@@ -27554,6 +27740,7 @@ declare const batch: z.ZodObject<{
27554
27740
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
27555
27741
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
27556
27742
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
27743
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
27557
27744
  }, "strip", z.ZodTypeAny, {
27558
27745
  device_id: string;
27559
27746
  workspace_id: string;
@@ -27809,6 +27996,7 @@ declare const batch: z.ZodObject<{
27809
27996
  can_simulate_hub_connection?: boolean | undefined;
27810
27997
  can_simulate_hub_disconnection?: boolean | undefined;
27811
27998
  can_simulate_paid_subscription?: boolean | undefined;
27999
+ can_configure_auto_lock?: boolean | undefined;
27812
28000
  }, {
27813
28001
  device_id: string;
27814
28002
  workspace_id: string;
@@ -28064,6 +28252,7 @@ declare const batch: z.ZodObject<{
28064
28252
  can_simulate_hub_connection?: boolean | undefined;
28065
28253
  can_simulate_hub_disconnection?: boolean | undefined;
28066
28254
  can_simulate_paid_subscription?: boolean | undefined;
28255
+ can_configure_auto_lock?: boolean | undefined;
28067
28256
  }>, "many">>;
28068
28257
  connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
28069
28258
  connect_webview_id: z.ZodString;
@@ -37461,6 +37650,7 @@ declare const batch: z.ZodObject<{
37461
37650
  lock_command: boolean;
37462
37651
  incomplete_keyboard_passcode: boolean;
37463
37652
  wifi: boolean;
37653
+ auto_lock_time_config: boolean;
37464
37654
  };
37465
37655
  has_gateway?: boolean | undefined;
37466
37656
  wireless_keypads?: {
@@ -37613,6 +37803,8 @@ declare const batch: z.ZodObject<{
37613
37803
  level: number;
37614
37804
  } | undefined;
37615
37805
  door_open?: boolean | undefined;
37806
+ auto_lock_enabled?: boolean | undefined;
37807
+ auto_lock_delay_seconds?: number | undefined;
37616
37808
  } & {
37617
37809
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
37618
37810
  temperature_fahrenheit?: number | undefined;
@@ -37771,6 +37963,7 @@ declare const batch: z.ZodObject<{
37771
37963
  can_simulate_hub_connection?: boolean | undefined;
37772
37964
  can_simulate_hub_disconnection?: boolean | undefined;
37773
37965
  can_simulate_paid_subscription?: boolean | undefined;
37966
+ can_configure_auto_lock?: boolean | undefined;
37774
37967
  nickname?: string | undefined;
37775
37968
  device_provider?: {
37776
37969
  display_name: string;
@@ -38403,6 +38596,27 @@ declare const batch: z.ZodObject<{
38403
38596
  };
38404
38597
  result: null;
38405
38598
  action_type: "ACTIVATE_CLIMATE_PRESET";
38599
+ } | {
38600
+ status: "pending";
38601
+ action_attempt_id: string;
38602
+ error: null;
38603
+ result: null;
38604
+ action_type: "CONFIGURE_AUTO_LOCK";
38605
+ } | {
38606
+ status: "success";
38607
+ action_attempt_id: string;
38608
+ error: null;
38609
+ result: {};
38610
+ action_type: "CONFIGURE_AUTO_LOCK";
38611
+ } | {
38612
+ status: "error";
38613
+ action_attempt_id: string;
38614
+ error: {
38615
+ message: string;
38616
+ type: string;
38617
+ };
38618
+ result: null;
38619
+ action_type: "CONFIGURE_AUTO_LOCK";
38406
38620
  } | {
38407
38621
  status: "pending";
38408
38622
  action_attempt_id: string;
@@ -39607,6 +39821,7 @@ declare const batch: z.ZodObject<{
39607
39821
  can_simulate_hub_connection?: boolean | undefined;
39608
39822
  can_simulate_hub_disconnection?: boolean | undefined;
39609
39823
  can_simulate_paid_subscription?: boolean | undefined;
39824
+ can_configure_auto_lock?: boolean | undefined;
39610
39825
  }[] | undefined;
39611
39826
  connect_webviews?: {
39612
39827
  status: "pending" | "failed" | "authorized";
@@ -42281,6 +42496,7 @@ declare const batch: z.ZodObject<{
42281
42496
  lock_command: boolean;
42282
42497
  incomplete_keyboard_passcode: boolean;
42283
42498
  wifi: boolean;
42499
+ auto_lock_time_config: boolean;
42284
42500
  };
42285
42501
  has_gateway?: boolean | undefined;
42286
42502
  wireless_keypads?: {
@@ -42433,6 +42649,8 @@ declare const batch: z.ZodObject<{
42433
42649
  level: number;
42434
42650
  } | undefined;
42435
42651
  door_open?: boolean | undefined;
42652
+ auto_lock_enabled?: boolean | undefined;
42653
+ auto_lock_delay_seconds?: number | undefined;
42436
42654
  } & {
42437
42655
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
42438
42656
  temperature_fahrenheit?: number | undefined;
@@ -42591,6 +42809,7 @@ declare const batch: z.ZodObject<{
42591
42809
  can_simulate_hub_connection?: boolean | undefined;
42592
42810
  can_simulate_hub_disconnection?: boolean | undefined;
42593
42811
  can_simulate_paid_subscription?: boolean | undefined;
42812
+ can_configure_auto_lock?: boolean | undefined;
42594
42813
  nickname?: string | undefined;
42595
42814
  device_provider?: {
42596
42815
  display_name: string;
@@ -43223,6 +43442,27 @@ declare const batch: z.ZodObject<{
43223
43442
  };
43224
43443
  result: null;
43225
43444
  action_type: "ACTIVATE_CLIMATE_PRESET";
43445
+ } | {
43446
+ status: "pending";
43447
+ action_attempt_id: string;
43448
+ error: null;
43449
+ result: null;
43450
+ action_type: "CONFIGURE_AUTO_LOCK";
43451
+ } | {
43452
+ status: "success";
43453
+ action_attempt_id: string;
43454
+ error: null;
43455
+ result: {};
43456
+ action_type: "CONFIGURE_AUTO_LOCK";
43457
+ } | {
43458
+ status: "error";
43459
+ action_attempt_id: string;
43460
+ error: {
43461
+ message: string;
43462
+ type: string;
43463
+ };
43464
+ result: null;
43465
+ action_type: "CONFIGURE_AUTO_LOCK";
43226
43466
  } | {
43227
43467
  status: "pending";
43228
43468
  action_attempt_id: string;
@@ -44427,6 +44667,7 @@ declare const batch: z.ZodObject<{
44427
44667
  can_simulate_hub_connection?: boolean | undefined;
44428
44668
  can_simulate_hub_disconnection?: boolean | undefined;
44429
44669
  can_simulate_paid_subscription?: boolean | undefined;
44670
+ can_configure_auto_lock?: boolean | undefined;
44430
44671
  }[] | undefined;
44431
44672
  connect_webviews?: {
44432
44673
  status: "pending" | "failed" | "authorized";
@@ -48793,6 +49034,7 @@ declare const device: z.ZodObject<{
48793
49034
  lock_command: z.ZodBoolean;
48794
49035
  incomplete_keyboard_passcode: z.ZodBoolean;
48795
49036
  wifi: z.ZodBoolean;
49037
+ auto_lock_time_config: z.ZodBoolean;
48796
49038
  }, "strip", z.ZodTypeAny, {
48797
49039
  passcode: boolean;
48798
49040
  passcode_management: boolean;
@@ -48800,6 +49042,7 @@ declare const device: z.ZodObject<{
48800
49042
  lock_command: boolean;
48801
49043
  incomplete_keyboard_passcode: boolean;
48802
49044
  wifi: boolean;
49045
+ auto_lock_time_config: boolean;
48803
49046
  }, {
48804
49047
  passcode: boolean;
48805
49048
  passcode_management: boolean;
@@ -48807,6 +49050,7 @@ declare const device: z.ZodObject<{
48807
49050
  lock_command: boolean;
48808
49051
  incomplete_keyboard_passcode: boolean;
48809
49052
  wifi: boolean;
49053
+ auto_lock_time_config: boolean;
48810
49054
  }>;
48811
49055
  has_gateway: z.ZodOptional<z.ZodBoolean>;
48812
49056
  wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -48830,6 +49074,7 @@ declare const device: z.ZodObject<{
48830
49074
  lock_command: boolean;
48831
49075
  incomplete_keyboard_passcode: boolean;
48832
49076
  wifi: boolean;
49077
+ auto_lock_time_config: boolean;
48833
49078
  };
48834
49079
  has_gateway?: boolean | undefined;
48835
49080
  wireless_keypads?: {
@@ -48847,6 +49092,7 @@ declare const device: z.ZodObject<{
48847
49092
  lock_command: boolean;
48848
49093
  incomplete_keyboard_passcode: boolean;
48849
49094
  wifi: boolean;
49095
+ auto_lock_time_config: boolean;
48850
49096
  };
48851
49097
  has_gateway?: boolean | undefined;
48852
49098
  wireless_keypads?: {
@@ -49378,6 +49624,7 @@ declare const device: z.ZodObject<{
49378
49624
  lock_command: boolean;
49379
49625
  incomplete_keyboard_passcode: boolean;
49380
49626
  wifi: boolean;
49627
+ auto_lock_time_config: boolean;
49381
49628
  };
49382
49629
  has_gateway?: boolean | undefined;
49383
49630
  wireless_keypads?: {
@@ -49655,6 +49902,7 @@ declare const device: z.ZodObject<{
49655
49902
  lock_command: boolean;
49656
49903
  incomplete_keyboard_passcode: boolean;
49657
49904
  wifi: boolean;
49905
+ auto_lock_time_config: boolean;
49658
49906
  };
49659
49907
  has_gateway?: boolean | undefined;
49660
49908
  wireless_keypads?: {
@@ -49824,6 +50072,8 @@ declare const device: z.ZodObject<{
49824
50072
  level: number;
49825
50073
  }>>>;
49826
50074
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
50075
+ auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
50076
+ auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
49827
50077
  }, "strip", z.ZodTypeAny, {
49828
50078
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
49829
50079
  code_constraints?: ({
@@ -49842,6 +50092,8 @@ declare const device: z.ZodObject<{
49842
50092
  level: number;
49843
50093
  } | undefined;
49844
50094
  door_open?: boolean | undefined;
50095
+ auto_lock_enabled?: boolean | undefined;
50096
+ auto_lock_delay_seconds?: number | undefined;
49845
50097
  }, {
49846
50098
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
49847
50099
  code_constraints?: ({
@@ -49860,6 +50112,8 @@ declare const device: z.ZodObject<{
49860
50112
  level: number;
49861
50113
  } | undefined;
49862
50114
  door_open?: boolean | undefined;
50115
+ auto_lock_enabled?: boolean | undefined;
50116
+ auto_lock_delay_seconds?: number | undefined;
49863
50117
  }>, z.ZodObject<{
49864
50118
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
49865
50119
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -51200,6 +51454,7 @@ declare const device: z.ZodObject<{
51200
51454
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
51201
51455
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
51202
51456
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
51457
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
51203
51458
  }, "strip", z.ZodTypeAny, {
51204
51459
  display_name: string;
51205
51460
  device_id: string;
@@ -51595,6 +51850,7 @@ declare const device: z.ZodObject<{
51595
51850
  lock_command: boolean;
51596
51851
  incomplete_keyboard_passcode: boolean;
51597
51852
  wifi: boolean;
51853
+ auto_lock_time_config: boolean;
51598
51854
  };
51599
51855
  has_gateway?: boolean | undefined;
51600
51856
  wireless_keypads?: {
@@ -51747,6 +52003,8 @@ declare const device: z.ZodObject<{
51747
52003
  level: number;
51748
52004
  } | undefined;
51749
52005
  door_open?: boolean | undefined;
52006
+ auto_lock_enabled?: boolean | undefined;
52007
+ auto_lock_delay_seconds?: number | undefined;
51750
52008
  } & {
51751
52009
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
51752
52010
  temperature_fahrenheit?: number | undefined;
@@ -51905,6 +52163,7 @@ declare const device: z.ZodObject<{
51905
52163
  can_simulate_hub_connection?: boolean | undefined;
51906
52164
  can_simulate_hub_disconnection?: boolean | undefined;
51907
52165
  can_simulate_paid_subscription?: boolean | undefined;
52166
+ can_configure_auto_lock?: boolean | undefined;
51908
52167
  nickname?: string | undefined;
51909
52168
  device_provider?: {
51910
52169
  display_name: string;
@@ -52312,6 +52571,7 @@ declare const device: z.ZodObject<{
52312
52571
  lock_command: boolean;
52313
52572
  incomplete_keyboard_passcode: boolean;
52314
52573
  wifi: boolean;
52574
+ auto_lock_time_config: boolean;
52315
52575
  };
52316
52576
  has_gateway?: boolean | undefined;
52317
52577
  wireless_keypads?: {
@@ -52464,6 +52724,8 @@ declare const device: z.ZodObject<{
52464
52724
  level: number;
52465
52725
  } | undefined;
52466
52726
  door_open?: boolean | undefined;
52727
+ auto_lock_enabled?: boolean | undefined;
52728
+ auto_lock_delay_seconds?: number | undefined;
52467
52729
  } & {
52468
52730
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
52469
52731
  temperature_fahrenheit?: number | undefined;
@@ -52622,6 +52884,7 @@ declare const device: z.ZodObject<{
52622
52884
  can_simulate_hub_connection?: boolean | undefined;
52623
52885
  can_simulate_hub_disconnection?: boolean | undefined;
52624
52886
  can_simulate_paid_subscription?: boolean | undefined;
52887
+ can_configure_auto_lock?: boolean | undefined;
52625
52888
  nickname?: string | undefined;
52626
52889
  device_provider?: {
52627
52890
  display_name: string;
@@ -52714,6 +52977,7 @@ declare const device_provider: z.ZodObject<{
52714
52977
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
52715
52978
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
52716
52979
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
52980
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
52717
52981
  }, "strip", z.ZodTypeAny, {
52718
52982
  display_name: string;
52719
52983
  image_url: string;
@@ -52738,6 +53002,7 @@ declare const device_provider: z.ZodObject<{
52738
53002
  can_simulate_hub_connection?: boolean | undefined;
52739
53003
  can_simulate_hub_disconnection?: boolean | undefined;
52740
53004
  can_simulate_paid_subscription?: boolean | undefined;
53005
+ can_configure_auto_lock?: boolean | undefined;
52741
53006
  }, {
52742
53007
  display_name: string;
52743
53008
  image_url: string;
@@ -52762,6 +53027,7 @@ declare const device_provider: z.ZodObject<{
52762
53027
  can_simulate_hub_connection?: boolean | undefined;
52763
53028
  can_simulate_hub_disconnection?: boolean | undefined;
52764
53029
  can_simulate_paid_subscription?: boolean | undefined;
53030
+ can_configure_auto_lock?: boolean | undefined;
52765
53031
  }>;
52766
53032
  type DeviceProvider = z.infer<typeof device_provider>;
52767
53033
 
@@ -53409,6 +53675,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
53409
53675
  lock_command: z.ZodBoolean;
53410
53676
  incomplete_keyboard_passcode: z.ZodBoolean;
53411
53677
  wifi: z.ZodBoolean;
53678
+ auto_lock_time_config: z.ZodBoolean;
53412
53679
  }, "strip", z.ZodTypeAny, {
53413
53680
  passcode: boolean;
53414
53681
  passcode_management: boolean;
@@ -53416,6 +53683,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
53416
53683
  lock_command: boolean;
53417
53684
  incomplete_keyboard_passcode: boolean;
53418
53685
  wifi: boolean;
53686
+ auto_lock_time_config: boolean;
53419
53687
  }, {
53420
53688
  passcode: boolean;
53421
53689
  passcode_management: boolean;
@@ -53423,6 +53691,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
53423
53691
  lock_command: boolean;
53424
53692
  incomplete_keyboard_passcode: boolean;
53425
53693
  wifi: boolean;
53694
+ auto_lock_time_config: boolean;
53426
53695
  }>;
53427
53696
  has_gateway: z.ZodOptional<z.ZodBoolean>;
53428
53697
  wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -53446,6 +53715,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
53446
53715
  lock_command: boolean;
53447
53716
  incomplete_keyboard_passcode: boolean;
53448
53717
  wifi: boolean;
53718
+ auto_lock_time_config: boolean;
53449
53719
  };
53450
53720
  has_gateway?: boolean | undefined;
53451
53721
  wireless_keypads?: {
@@ -53463,6 +53733,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
53463
53733
  lock_command: boolean;
53464
53734
  incomplete_keyboard_passcode: boolean;
53465
53735
  wifi: boolean;
53736
+ auto_lock_time_config: boolean;
53466
53737
  };
53467
53738
  has_gateway?: boolean | undefined;
53468
53739
  wireless_keypads?: {
@@ -53994,6 +54265,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
53994
54265
  lock_command: boolean;
53995
54266
  incomplete_keyboard_passcode: boolean;
53996
54267
  wifi: boolean;
54268
+ auto_lock_time_config: boolean;
53997
54269
  };
53998
54270
  has_gateway?: boolean | undefined;
53999
54271
  wireless_keypads?: {
@@ -54271,6 +54543,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
54271
54543
  lock_command: boolean;
54272
54544
  incomplete_keyboard_passcode: boolean;
54273
54545
  wifi: boolean;
54546
+ auto_lock_time_config: boolean;
54274
54547
  };
54275
54548
  has_gateway?: boolean | undefined;
54276
54549
  wireless_keypads?: {
@@ -54440,6 +54713,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
54440
54713
  level: number;
54441
54714
  }>>>;
54442
54715
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
54716
+ auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
54717
+ auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
54443
54718
  }, "strip", z.ZodTypeAny, {
54444
54719
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
54445
54720
  code_constraints?: ({
@@ -54458,6 +54733,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
54458
54733
  level: number;
54459
54734
  } | undefined;
54460
54735
  door_open?: boolean | undefined;
54736
+ auto_lock_enabled?: boolean | undefined;
54737
+ auto_lock_delay_seconds?: number | undefined;
54461
54738
  }, {
54462
54739
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
54463
54740
  code_constraints?: ({
@@ -54476,6 +54753,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
54476
54753
  level: number;
54477
54754
  } | undefined;
54478
54755
  door_open?: boolean | undefined;
54756
+ auto_lock_enabled?: boolean | undefined;
54757
+ auto_lock_delay_seconds?: number | undefined;
54479
54758
  }>, z.ZodObject<{
54480
54759
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
54481
54760
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -55816,6 +56095,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
55816
56095
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
55817
56096
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
55818
56097
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
56098
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
55819
56099
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
55820
56100
  is_managed: z.ZodLiteral<false>;
55821
56101
  properties: z.ZodObject<Pick<{
@@ -55972,6 +56252,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
55972
56252
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
55973
56253
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
55974
56254
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
56255
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
55975
56256
  }, "strip", z.ZodTypeAny, {
55976
56257
  device_id: string;
55977
56258
  workspace_id: string;
@@ -56227,6 +56508,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
56227
56508
  can_simulate_hub_connection?: boolean | undefined;
56228
56509
  can_simulate_hub_disconnection?: boolean | undefined;
56229
56510
  can_simulate_paid_subscription?: boolean | undefined;
56511
+ can_configure_auto_lock?: boolean | undefined;
56230
56512
  }, {
56231
56513
  device_id: string;
56232
56514
  workspace_id: string;
@@ -56482,6 +56764,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
56482
56764
  can_simulate_hub_connection?: boolean | undefined;
56483
56765
  can_simulate_hub_disconnection?: boolean | undefined;
56484
56766
  can_simulate_paid_subscription?: boolean | undefined;
56767
+ can_configure_auto_lock?: boolean | undefined;
56485
56768
  }>;
56486
56769
  type UnmanagedDevice = z.infer<typeof unmanaged_device>;
56487
56770
 
@@ -67540,6 +67823,9 @@ declare const _default: {
67540
67823
  device: {
67541
67824
  description: string;
67542
67825
  properties: {
67826
+ can_configure_auto_lock: {
67827
+ type: string;
67828
+ };
67543
67829
  can_hvac_cool: {
67544
67830
  type: string;
67545
67831
  };
@@ -69124,6 +69410,10 @@ declare const _default: {
69124
69410
  features: {
69125
69411
  description: string;
69126
69412
  properties: {
69413
+ auto_lock_time_config: {
69414
+ description: string;
69415
+ type: string;
69416
+ };
69127
69417
  incomplete_keyboard_passcode: {
69128
69418
  description: string;
69129
69419
  type: string;
@@ -69295,6 +69585,17 @@ declare const _default: {
69295
69585
  type: string;
69296
69586
  'x-undocumented': string;
69297
69587
  };
69588
+ auto_lock_delay_seconds: {
69589
+ description: string;
69590
+ format: string;
69591
+ type: string;
69592
+ 'x-property-group-key': string;
69593
+ };
69594
+ auto_lock_enabled: {
69595
+ description: string;
69596
+ type: string;
69597
+ 'x-property-group-key': string;
69598
+ };
69298
69599
  code_constraints: {
69299
69600
  description: string;
69300
69601
  items: {
@@ -70104,6 +70405,8 @@ declare const _default: {
70104
70405
  'x-property-group-key': string;
70105
70406
  };
70106
70407
  _experimental_supported_code_from_access_codes_lengths?: never;
70408
+ auto_lock_delay_seconds?: never;
70409
+ auto_lock_enabled?: never;
70107
70410
  code_constraints?: never;
70108
70411
  door_open?: never;
70109
70412
  has_native_entry_events?: never;
@@ -70292,6 +70595,9 @@ declare const _default: {
70292
70595
  };
70293
70596
  device_provider: {
70294
70597
  properties: {
70598
+ can_configure_auto_lock: {
70599
+ type: string;
70600
+ };
70295
70601
  can_hvac_cool: {
70296
70602
  type: string;
70297
70603
  };
@@ -80086,6 +80392,9 @@ declare const _default: {
80086
80392
  unmanaged_device: {
80087
80393
  description: string;
80088
80394
  properties: {
80395
+ can_configure_auto_lock: {
80396
+ type: string;
80397
+ };
80089
80398
  can_hvac_cool: {
80090
80399
  type: string;
80091
80400
  };
@@ -107134,6 +107443,96 @@ declare const _default: {
107134
107443
  'x-title': string;
107135
107444
  };
107136
107445
  };
107446
+ '/locks/configure_auto_lock': {
107447
+ post: {
107448
+ description: string;
107449
+ operationId: string;
107450
+ requestBody: {
107451
+ content: {
107452
+ 'application/json': {
107453
+ schema: {
107454
+ properties: {
107455
+ auto_lock_delay_seconds: {
107456
+ description: string;
107457
+ format: string;
107458
+ maximum: number;
107459
+ minimum: number;
107460
+ type: string;
107461
+ };
107462
+ auto_lock_enabled: {
107463
+ description: string;
107464
+ type: string;
107465
+ };
107466
+ device_id: {
107467
+ description: string;
107468
+ format: string;
107469
+ type: string;
107470
+ };
107471
+ };
107472
+ required: string[];
107473
+ type: string;
107474
+ };
107475
+ };
107476
+ };
107477
+ };
107478
+ responses: {
107479
+ 200: {
107480
+ content: {
107481
+ 'application/json': {
107482
+ schema: {
107483
+ properties: {
107484
+ action_attempt: {
107485
+ $ref: string;
107486
+ };
107487
+ ok: {
107488
+ type: string;
107489
+ };
107490
+ };
107491
+ required: string[];
107492
+ type: string;
107493
+ };
107494
+ };
107495
+ };
107496
+ description: string;
107497
+ };
107498
+ 400: {
107499
+ description: string;
107500
+ };
107501
+ 401: {
107502
+ description: string;
107503
+ };
107504
+ };
107505
+ security: ({
107506
+ client_session: never[];
107507
+ pat_with_workspace?: never;
107508
+ console_session_with_workspace?: never;
107509
+ api_key?: never;
107510
+ } | {
107511
+ pat_with_workspace: never[];
107512
+ client_session?: never;
107513
+ console_session_with_workspace?: never;
107514
+ api_key?: never;
107515
+ } | {
107516
+ console_session_with_workspace: never[];
107517
+ client_session?: never;
107518
+ pat_with_workspace?: never;
107519
+ api_key?: never;
107520
+ } | {
107521
+ api_key: never[];
107522
+ client_session?: never;
107523
+ pat_with_workspace?: never;
107524
+ console_session_with_workspace?: never;
107525
+ })[];
107526
+ summary: string;
107527
+ tags: string[];
107528
+ 'x-action-attempt-type': string;
107529
+ 'x-fern-sdk-group-name': string[];
107530
+ 'x-fern-sdk-method-name': string;
107531
+ 'x-fern-sdk-return-value': string;
107532
+ 'x-response-key': string;
107533
+ 'x-title': string;
107534
+ };
107535
+ };
107137
107536
  '/locks/get': {
107138
107537
  get: {
107139
107538
  description: string;
@@ -134331,6 +134730,41 @@ type Routes = {
134331
134730
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
134332
134731
  message: string;
134333
134732
  };
134733
+ } | {
134734
+ /** ID of the action attempt. */
134735
+ action_attempt_id: string;
134736
+ status: 'pending';
134737
+ /** Result of the action attempt. Null for pending action attempts. */
134738
+ result: null;
134739
+ /** Errors associated with the action attempt. Null for pending action attempts. */
134740
+ error: null;
134741
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
134742
+ action_type: 'CONFIGURE_AUTO_LOCK';
134743
+ } | {
134744
+ /** ID of the action attempt. */
134745
+ action_attempt_id: string;
134746
+ status: 'success';
134747
+ /** Errors associated with the action attempt. Null for successful action attempts. */
134748
+ error: null;
134749
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
134750
+ action_type: 'CONFIGURE_AUTO_LOCK';
134751
+ /** Result of the action. */
134752
+ result: {};
134753
+ } | {
134754
+ /** ID of the action attempt. */
134755
+ action_attempt_id: string;
134756
+ status: 'error';
134757
+ /** Result of the action attempt. Null for failed action attempts. */
134758
+ result: null;
134759
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
134760
+ action_type: 'CONFIGURE_AUTO_LOCK';
134761
+ /** Error associated with the action. */
134762
+ error: {
134763
+ /** Type of the error. */
134764
+ type: string;
134765
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
134766
+ message: string;
134767
+ };
134334
134768
  } | {
134335
134769
  /** ID of the action attempt. */
134336
134770
  action_attempt_id: string;
@@ -136674,6 +137108,41 @@ type Routes = {
136674
137108
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
136675
137109
  message: string;
136676
137110
  };
137111
+ } | {
137112
+ /** ID of the action attempt. */
137113
+ action_attempt_id: string;
137114
+ status: 'pending';
137115
+ /** Result of the action attempt. Null for pending action attempts. */
137116
+ result: null;
137117
+ /** Errors associated with the action attempt. Null for pending action attempts. */
137118
+ error: null;
137119
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
137120
+ action_type: 'CONFIGURE_AUTO_LOCK';
137121
+ } | {
137122
+ /** ID of the action attempt. */
137123
+ action_attempt_id: string;
137124
+ status: 'success';
137125
+ /** Errors associated with the action attempt. Null for successful action attempts. */
137126
+ error: null;
137127
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
137128
+ action_type: 'CONFIGURE_AUTO_LOCK';
137129
+ /** Result of the action. */
137130
+ result: {};
137131
+ } | {
137132
+ /** ID of the action attempt. */
137133
+ action_attempt_id: string;
137134
+ status: 'error';
137135
+ /** Result of the action attempt. Null for failed action attempts. */
137136
+ result: null;
137137
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
137138
+ action_type: 'CONFIGURE_AUTO_LOCK';
137139
+ /** Error associated with the action. */
137140
+ error: {
137141
+ /** Type of the error. */
137142
+ type: string;
137143
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
137144
+ message: string;
137145
+ };
136677
137146
  } | {
136678
137147
  /** ID of the action attempt. */
136679
137148
  action_attempt_id: string;
@@ -140712,6 +141181,41 @@ type Routes = {
140712
141181
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
140713
141182
  message: string;
140714
141183
  };
141184
+ } | {
141185
+ /** ID of the action attempt. */
141186
+ action_attempt_id: string;
141187
+ status: 'pending';
141188
+ /** Result of the action attempt. Null for pending action attempts. */
141189
+ result: null;
141190
+ /** Errors associated with the action attempt. Null for pending action attempts. */
141191
+ error: null;
141192
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
141193
+ action_type: 'CONFIGURE_AUTO_LOCK';
141194
+ } | {
141195
+ /** ID of the action attempt. */
141196
+ action_attempt_id: string;
141197
+ status: 'success';
141198
+ /** Errors associated with the action attempt. Null for successful action attempts. */
141199
+ error: null;
141200
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
141201
+ action_type: 'CONFIGURE_AUTO_LOCK';
141202
+ /** Result of the action. */
141203
+ result: {};
141204
+ } | {
141205
+ /** ID of the action attempt. */
141206
+ action_attempt_id: string;
141207
+ status: 'error';
141208
+ /** Result of the action attempt. Null for failed action attempts. */
141209
+ result: null;
141210
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
141211
+ action_type: 'CONFIGURE_AUTO_LOCK';
141212
+ /** Error associated with the action. */
141213
+ error: {
141214
+ /** Type of the error. */
141215
+ type: string;
141216
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
141217
+ message: string;
141218
+ };
140715
141219
  } | {
140716
141220
  /** ID of the action attempt. */
140717
141221
  action_attempt_id: string;
@@ -143091,6 +143595,41 @@ type Routes = {
143091
143595
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
143092
143596
  message: string;
143093
143597
  };
143598
+ } | {
143599
+ /** ID of the action attempt. */
143600
+ action_attempt_id: string;
143601
+ status: 'pending';
143602
+ /** Result of the action attempt. Null for pending action attempts. */
143603
+ result: null;
143604
+ /** Errors associated with the action attempt. Null for pending action attempts. */
143605
+ error: null;
143606
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
143607
+ action_type: 'CONFIGURE_AUTO_LOCK';
143608
+ } | {
143609
+ /** ID of the action attempt. */
143610
+ action_attempt_id: string;
143611
+ status: 'success';
143612
+ /** Errors associated with the action attempt. Null for successful action attempts. */
143613
+ error: null;
143614
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
143615
+ action_type: 'CONFIGURE_AUTO_LOCK';
143616
+ /** Result of the action. */
143617
+ result: {};
143618
+ } | {
143619
+ /** ID of the action attempt. */
143620
+ action_attempt_id: string;
143621
+ status: 'error';
143622
+ /** Result of the action attempt. Null for failed action attempts. */
143623
+ result: null;
143624
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
143625
+ action_type: 'CONFIGURE_AUTO_LOCK';
143626
+ /** Error associated with the action. */
143627
+ error: {
143628
+ /** Type of the error. */
143629
+ type: string;
143630
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
143631
+ message: string;
143632
+ };
143094
143633
  } | {
143095
143634
  /** ID of the action attempt. */
143096
143635
  action_attempt_id: string;
@@ -144206,6 +144745,8 @@ type Routes = {
144206
144745
  incomplete_keyboard_passcode: boolean;
144207
144746
  /** Indicates whether a TTLock device supports Wi-Fi. */
144208
144747
  wifi: boolean;
144748
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
144749
+ auto_lock_time_config: boolean;
144209
144750
  };
144210
144751
  /** Indicates whether a TTLock device has a gateway. */
144211
144752
  has_gateway?: boolean | undefined;
@@ -144495,6 +145036,10 @@ type Routes = {
144495
145036
  } | undefined) | undefined;
144496
145037
  /** Indicates whether the door is open. */
144497
145038
  door_open?: (boolean | undefined) | undefined;
145039
+ /** Indicates whether automatic locking is enabled. */
145040
+ auto_lock_enabled?: (boolean | undefined) | undefined;
145041
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
145042
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
144498
145043
  } & {
144499
145044
  /** Reported temperature in °F. */
144500
145045
  temperature_fahrenheit?: number | undefined;
@@ -145141,6 +145686,7 @@ type Routes = {
145141
145686
  can_simulate_hub_connection?: boolean | undefined;
145142
145687
  can_simulate_hub_disconnection?: boolean | undefined;
145143
145688
  can_simulate_paid_subscription?: boolean | undefined;
145689
+ can_configure_auto_lock?: boolean | undefined;
145144
145690
  }[] | undefined;
145145
145691
  acs_entrances?: {
145146
145692
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -147644,6 +148190,41 @@ type Routes = {
147644
148190
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
147645
148191
  message: string;
147646
148192
  };
148193
+ } | {
148194
+ /** ID of the action attempt. */
148195
+ action_attempt_id: string;
148196
+ status: 'pending';
148197
+ /** Result of the action attempt. Null for pending action attempts. */
148198
+ result: null;
148199
+ /** Errors associated with the action attempt. Null for pending action attempts. */
148200
+ error: null;
148201
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
148202
+ action_type: 'CONFIGURE_AUTO_LOCK';
148203
+ } | {
148204
+ /** ID of the action attempt. */
148205
+ action_attempt_id: string;
148206
+ status: 'success';
148207
+ /** Errors associated with the action attempt. Null for successful action attempts. */
148208
+ error: null;
148209
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
148210
+ action_type: 'CONFIGURE_AUTO_LOCK';
148211
+ /** Result of the action. */
148212
+ result: {};
148213
+ } | {
148214
+ /** ID of the action attempt. */
148215
+ action_attempt_id: string;
148216
+ status: 'error';
148217
+ /** Result of the action attempt. Null for failed action attempts. */
148218
+ result: null;
148219
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
148220
+ action_type: 'CONFIGURE_AUTO_LOCK';
148221
+ /** Error associated with the action. */
148222
+ error: {
148223
+ /** Type of the error. */
148224
+ type: string;
148225
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148226
+ message: string;
148227
+ };
147647
148228
  } | {
147648
148229
  /** ID of the action attempt. */
147649
148230
  action_attempt_id: string;
@@ -148443,6 +149024,8 @@ type Routes = {
148443
149024
  incomplete_keyboard_passcode: boolean;
148444
149025
  /** Indicates whether a TTLock device supports Wi-Fi. */
148445
149026
  wifi: boolean;
149027
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
149028
+ auto_lock_time_config: boolean;
148446
149029
  };
148447
149030
  /** Indicates whether a TTLock device has a gateway. */
148448
149031
  has_gateway?: boolean | undefined;
@@ -148732,6 +149315,10 @@ type Routes = {
148732
149315
  } | undefined) | undefined;
148733
149316
  /** Indicates whether the door is open. */
148734
149317
  door_open?: (boolean | undefined) | undefined;
149318
+ /** Indicates whether automatic locking is enabled. */
149319
+ auto_lock_enabled?: (boolean | undefined) | undefined;
149320
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
149321
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
148735
149322
  } & {
148736
149323
  /** Reported temperature in °F. */
148737
149324
  temperature_fahrenheit?: number | undefined;
@@ -149378,6 +149965,7 @@ type Routes = {
149378
149965
  can_simulate_hub_connection?: boolean | undefined;
149379
149966
  can_simulate_hub_disconnection?: boolean | undefined;
149380
149967
  can_simulate_paid_subscription?: boolean | undefined;
149968
+ can_configure_auto_lock?: boolean | undefined;
149381
149969
  }[] | undefined;
149382
149970
  acs_entrances?: {
149383
149971
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -154156,6 +154744,41 @@ type Routes = {
154156
154744
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
154157
154745
  message: string;
154158
154746
  };
154747
+ } | {
154748
+ /** ID of the action attempt. */
154749
+ action_attempt_id: string;
154750
+ status: 'pending';
154751
+ /** Result of the action attempt. Null for pending action attempts. */
154752
+ result: null;
154753
+ /** Errors associated with the action attempt. Null for pending action attempts. */
154754
+ error: null;
154755
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
154756
+ action_type: 'CONFIGURE_AUTO_LOCK';
154757
+ } | {
154758
+ /** ID of the action attempt. */
154759
+ action_attempt_id: string;
154760
+ status: 'success';
154761
+ /** Errors associated with the action attempt. Null for successful action attempts. */
154762
+ error: null;
154763
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
154764
+ action_type: 'CONFIGURE_AUTO_LOCK';
154765
+ /** Result of the action. */
154766
+ result: {};
154767
+ } | {
154768
+ /** ID of the action attempt. */
154769
+ action_attempt_id: string;
154770
+ status: 'error';
154771
+ /** Result of the action attempt. Null for failed action attempts. */
154772
+ result: null;
154773
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
154774
+ action_type: 'CONFIGURE_AUTO_LOCK';
154775
+ /** Error associated with the action. */
154776
+ error: {
154777
+ /** Type of the error. */
154778
+ type: string;
154779
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
154780
+ message: string;
154781
+ };
154159
154782
  } | {
154160
154783
  /** ID of the action attempt. */
154161
154784
  action_attempt_id: string;
@@ -155539,6 +156162,41 @@ type Routes = {
155539
156162
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
155540
156163
  message: string;
155541
156164
  };
156165
+ } | {
156166
+ /** ID of the action attempt. */
156167
+ action_attempt_id: string;
156168
+ status: 'pending';
156169
+ /** Result of the action attempt. Null for pending action attempts. */
156170
+ result: null;
156171
+ /** Errors associated with the action attempt. Null for pending action attempts. */
156172
+ error: null;
156173
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
156174
+ action_type: 'CONFIGURE_AUTO_LOCK';
156175
+ } | {
156176
+ /** ID of the action attempt. */
156177
+ action_attempt_id: string;
156178
+ status: 'success';
156179
+ /** Errors associated with the action attempt. Null for successful action attempts. */
156180
+ error: null;
156181
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
156182
+ action_type: 'CONFIGURE_AUTO_LOCK';
156183
+ /** Result of the action. */
156184
+ result: {};
156185
+ } | {
156186
+ /** ID of the action attempt. */
156187
+ action_attempt_id: string;
156188
+ status: 'error';
156189
+ /** Result of the action attempt. Null for failed action attempts. */
156190
+ result: null;
156191
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
156192
+ action_type: 'CONFIGURE_AUTO_LOCK';
156193
+ /** Error associated with the action. */
156194
+ error: {
156195
+ /** Type of the error. */
156196
+ type: string;
156197
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
156198
+ message: string;
156199
+ };
155542
156200
  } | {
155543
156201
  /** ID of the action attempt. */
155544
156202
  action_attempt_id: string;
@@ -157384,6 +158042,41 @@ type Routes = {
157384
158042
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
157385
158043
  message: string;
157386
158044
  };
158045
+ } | {
158046
+ /** ID of the action attempt. */
158047
+ action_attempt_id: string;
158048
+ status: 'pending';
158049
+ /** Result of the action attempt. Null for pending action attempts. */
158050
+ result: null;
158051
+ /** Errors associated with the action attempt. Null for pending action attempts. */
158052
+ error: null;
158053
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
158054
+ action_type: 'CONFIGURE_AUTO_LOCK';
158055
+ } | {
158056
+ /** ID of the action attempt. */
158057
+ action_attempt_id: string;
158058
+ status: 'success';
158059
+ /** Errors associated with the action attempt. Null for successful action attempts. */
158060
+ error: null;
158061
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
158062
+ action_type: 'CONFIGURE_AUTO_LOCK';
158063
+ /** Result of the action. */
158064
+ result: {};
158065
+ } | {
158066
+ /** ID of the action attempt. */
158067
+ action_attempt_id: string;
158068
+ status: 'error';
158069
+ /** Result of the action attempt. Null for failed action attempts. */
158070
+ result: null;
158071
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
158072
+ action_type: 'CONFIGURE_AUTO_LOCK';
158073
+ /** Error associated with the action. */
158074
+ error: {
158075
+ /** Type of the error. */
158076
+ type: string;
158077
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
158078
+ message: string;
158079
+ };
157387
158080
  } | {
157388
158081
  /** ID of the action attempt. */
157389
158082
  action_attempt_id: string;
@@ -160696,6 +161389,41 @@ type Routes = {
160696
161389
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
160697
161390
  message: string;
160698
161391
  };
161392
+ } | {
161393
+ /** ID of the action attempt. */
161394
+ action_attempt_id: string;
161395
+ status: 'pending';
161396
+ /** Result of the action attempt. Null for pending action attempts. */
161397
+ result: null;
161398
+ /** Errors associated with the action attempt. Null for pending action attempts. */
161399
+ error: null;
161400
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
161401
+ action_type: 'CONFIGURE_AUTO_LOCK';
161402
+ } | {
161403
+ /** ID of the action attempt. */
161404
+ action_attempt_id: string;
161405
+ status: 'success';
161406
+ /** Errors associated with the action attempt. Null for successful action attempts. */
161407
+ error: null;
161408
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
161409
+ action_type: 'CONFIGURE_AUTO_LOCK';
161410
+ /** Result of the action. */
161411
+ result: {};
161412
+ } | {
161413
+ /** ID of the action attempt. */
161414
+ action_attempt_id: string;
161415
+ status: 'error';
161416
+ /** Result of the action attempt. Null for failed action attempts. */
161417
+ result: null;
161418
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
161419
+ action_type: 'CONFIGURE_AUTO_LOCK';
161420
+ /** Error associated with the action. */
161421
+ error: {
161422
+ /** Type of the error. */
161423
+ type: string;
161424
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
161425
+ message: string;
161426
+ };
160699
161427
  } | {
160700
161428
  /** ID of the action attempt. */
160701
161429
  action_attempt_id: string;
@@ -161972,6 +162700,41 @@ type Routes = {
161972
162700
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
161973
162701
  message: string;
161974
162702
  };
162703
+ } | {
162704
+ /** ID of the action attempt. */
162705
+ action_attempt_id: string;
162706
+ status: 'pending';
162707
+ /** Result of the action attempt. Null for pending action attempts. */
162708
+ result: null;
162709
+ /** Errors associated with the action attempt. Null for pending action attempts. */
162710
+ error: null;
162711
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
162712
+ action_type: 'CONFIGURE_AUTO_LOCK';
162713
+ } | {
162714
+ /** ID of the action attempt. */
162715
+ action_attempt_id: string;
162716
+ status: 'success';
162717
+ /** Errors associated with the action attempt. Null for successful action attempts. */
162718
+ error: null;
162719
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
162720
+ action_type: 'CONFIGURE_AUTO_LOCK';
162721
+ /** Result of the action. */
162722
+ result: {};
162723
+ } | {
162724
+ /** ID of the action attempt. */
162725
+ action_attempt_id: string;
162726
+ status: 'error';
162727
+ /** Result of the action attempt. Null for failed action attempts. */
162728
+ result: null;
162729
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
162730
+ action_type: 'CONFIGURE_AUTO_LOCK';
162731
+ /** Error associated with the action. */
162732
+ error: {
162733
+ /** Type of the error. */
162734
+ type: string;
162735
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
162736
+ message: string;
162737
+ };
161975
162738
  } | {
161976
162739
  /** ID of the action attempt. */
161977
162740
  action_attempt_id: string;
@@ -164598,6 +165361,8 @@ type Routes = {
164598
165361
  incomplete_keyboard_passcode: boolean;
164599
165362
  /** Indicates whether a TTLock device supports Wi-Fi. */
164600
165363
  wifi: boolean;
165364
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
165365
+ auto_lock_time_config: boolean;
164601
165366
  };
164602
165367
  /** Indicates whether a TTLock device has a gateway. */
164603
165368
  has_gateway?: boolean | undefined;
@@ -164887,6 +165652,10 @@ type Routes = {
164887
165652
  } | undefined) | undefined;
164888
165653
  /** Indicates whether the door is open. */
164889
165654
  door_open?: (boolean | undefined) | undefined;
165655
+ /** Indicates whether automatic locking is enabled. */
165656
+ auto_lock_enabled?: (boolean | undefined) | undefined;
165657
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
165658
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
164890
165659
  } & {
164891
165660
  /** Reported temperature in °F. */
164892
165661
  temperature_fahrenheit?: number | undefined;
@@ -165533,6 +166302,7 @@ type Routes = {
165533
166302
  can_simulate_hub_connection?: boolean | undefined;
165534
166303
  can_simulate_hub_disconnection?: boolean | undefined;
165535
166304
  can_simulate_paid_subscription?: boolean | undefined;
166305
+ can_configure_auto_lock?: boolean | undefined;
165536
166306
  };
165537
166307
  };
165538
166308
  maxDuration: undefined;
@@ -165572,9 +166342,9 @@ type Routes = {
165572
166342
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
165573
166343
  page_cursor?: (string | undefined) | null;
165574
166344
  /** */
165575
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
166345
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
165576
166346
  /** */
165577
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
166347
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
165578
166348
  /**
165579
166349
  * @deprecated Use `space_id`.*/
165580
166350
  unstable_location_id?: (string | null) | undefined;
@@ -165961,6 +166731,8 @@ type Routes = {
165961
166731
  incomplete_keyboard_passcode: boolean;
165962
166732
  /** Indicates whether a TTLock device supports Wi-Fi. */
165963
166733
  wifi: boolean;
166734
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
166735
+ auto_lock_time_config: boolean;
165964
166736
  };
165965
166737
  /** Indicates whether a TTLock device has a gateway. */
165966
166738
  has_gateway?: boolean | undefined;
@@ -166250,6 +167022,10 @@ type Routes = {
166250
167022
  } | undefined) | undefined;
166251
167023
  /** Indicates whether the door is open. */
166252
167024
  door_open?: (boolean | undefined) | undefined;
167025
+ /** Indicates whether automatic locking is enabled. */
167026
+ auto_lock_enabled?: (boolean | undefined) | undefined;
167027
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
167028
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
166253
167029
  } & {
166254
167030
  /** Reported temperature in °F. */
166255
167031
  temperature_fahrenheit?: number | undefined;
@@ -166896,6 +167672,7 @@ type Routes = {
166896
167672
  can_simulate_hub_connection?: boolean | undefined;
166897
167673
  can_simulate_hub_disconnection?: boolean | undefined;
166898
167674
  can_simulate_paid_subscription?: boolean | undefined;
167675
+ can_configure_auto_lock?: boolean | undefined;
166899
167676
  }[];
166900
167677
  /** Information about the current page of results. */
166901
167678
  pagination: {
@@ -166944,6 +167721,7 @@ type Routes = {
166944
167721
  can_simulate_hub_connection?: boolean | undefined;
166945
167722
  can_simulate_hub_disconnection?: boolean | undefined;
166946
167723
  can_simulate_paid_subscription?: boolean | undefined;
167724
+ can_configure_auto_lock?: boolean | undefined;
166947
167725
  }[];
166948
167726
  };
166949
167727
  maxDuration: undefined;
@@ -167489,6 +168267,7 @@ type Routes = {
167489
168267
  can_simulate_hub_connection?: boolean | undefined;
167490
168268
  can_simulate_hub_disconnection?: boolean | undefined;
167491
168269
  can_simulate_paid_subscription?: boolean | undefined;
168270
+ can_configure_auto_lock?: boolean | undefined;
167492
168271
  };
167493
168272
  };
167494
168273
  maxDuration: undefined;
@@ -167526,9 +168305,9 @@ type Routes = {
167526
168305
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
167527
168306
  page_cursor?: (string | undefined) | null;
167528
168307
  /** */
167529
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
168308
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
167530
168309
  /** */
167531
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
168310
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
167532
168311
  /**
167533
168312
  * @deprecated Use `space_id`.*/
167534
168313
  unstable_location_id?: (string | null) | undefined;
@@ -167969,6 +168748,7 @@ type Routes = {
167969
168748
  can_simulate_hub_connection?: boolean | undefined;
167970
168749
  can_simulate_hub_disconnection?: boolean | undefined;
167971
168750
  can_simulate_paid_subscription?: boolean | undefined;
168751
+ can_configure_auto_lock?: boolean | undefined;
167972
168752
  }[];
167973
168753
  /** Information about the current page of results. */
167974
168754
  pagination: {
@@ -173734,6 +174514,1320 @@ type Routes = {
173734
174514
  };
173735
174515
  maxDuration: undefined;
173736
174516
  };
174517
+ '/locks/configure_auto_lock': {
174518
+ route: '/locks/configure_auto_lock';
174519
+ method: 'POST';
174520
+ queryParams: {};
174521
+ jsonBody: {
174522
+ /** ID of the lock for which you want to configure the auto-lock. */
174523
+ device_id: string;
174524
+ /** Whether to enable or disable auto-lock. */
174525
+ auto_lock_enabled: boolean;
174526
+ /** Delay in seconds before the lock automatically locks. Required when enabling auto-lock. Must be between 1 and 60. */
174527
+ auto_lock_delay_seconds?: number | undefined;
174528
+ };
174529
+ commonParams: {};
174530
+ formData: {};
174531
+ jsonResponse: {
174532
+ /** Represents an action attempt that enables you to keep track of the progress of your action that affects a physical device or system.actions against a device. Action attempts are useful because the physical world is intrinsically asynchronous.
174533
+
174534
+ When you request for a device to perform an action, the Seam API immediately returns an action attempt object. In the background, the Seam API performs the action.
174535
+
174536
+ See also [Action Attempts](https://docs.seam.co/latest/core-concepts/action-attempts). */
174537
+ action_attempt: {
174538
+ /** ID of the action attempt. */
174539
+ action_attempt_id: string;
174540
+ status: 'pending';
174541
+ /** Result of the action attempt. Null for pending action attempts. */
174542
+ result: null;
174543
+ /** Errors associated with the action attempt. Null for pending action attempts. */
174544
+ error: null;
174545
+ /** Action attempt to track the status of locking a door. */
174546
+ action_type: 'LOCK_DOOR';
174547
+ } | {
174548
+ /** ID of the action attempt. */
174549
+ action_attempt_id: string;
174550
+ status: 'success';
174551
+ /** Errors associated with the action attempt. Null for successful action attempts. */
174552
+ error: null;
174553
+ /** Action attempt to track the status of locking a door. */
174554
+ action_type: 'LOCK_DOOR';
174555
+ /** Result of the action. */
174556
+ result: {
174557
+ /** Indicates whether the device confirmed that the lock action occurred. */
174558
+ was_confirmed_by_device?: boolean | undefined;
174559
+ };
174560
+ } | {
174561
+ /** ID of the action attempt. */
174562
+ action_attempt_id: string;
174563
+ status: 'error';
174564
+ /** Result of the action attempt. Null for failed action attempts. */
174565
+ result: null;
174566
+ /** Action attempt to track the status of locking a door. */
174567
+ action_type: 'LOCK_DOOR';
174568
+ /** Error associated with the action. */
174569
+ error: {
174570
+ /** Type of the error. */
174571
+ type: string;
174572
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
174573
+ message: string;
174574
+ };
174575
+ } | {
174576
+ /** ID of the action attempt. */
174577
+ action_attempt_id: string;
174578
+ status: 'pending';
174579
+ /** Result of the action attempt. Null for pending action attempts. */
174580
+ result: null;
174581
+ /** Errors associated with the action attempt. Null for pending action attempts. */
174582
+ error: null;
174583
+ /** Action attempt to track the status of unlocking a door. */
174584
+ action_type: 'UNLOCK_DOOR';
174585
+ } | {
174586
+ /** ID of the action attempt. */
174587
+ action_attempt_id: string;
174588
+ status: 'success';
174589
+ /** Errors associated with the action attempt. Null for successful action attempts. */
174590
+ error: null;
174591
+ /** Action attempt to track the status of unlocking a door. */
174592
+ action_type: 'UNLOCK_DOOR';
174593
+ /** Result of the action. */
174594
+ result: {
174595
+ /** Indicates whether the device confirmed that the unlock action occurred. */
174596
+ was_confirmed_by_device?: boolean | undefined;
174597
+ };
174598
+ } | {
174599
+ /** ID of the action attempt. */
174600
+ action_attempt_id: string;
174601
+ status: 'error';
174602
+ /** Result of the action attempt. Null for failed action attempts. */
174603
+ result: null;
174604
+ /** Action attempt to track the status of unlocking a door. */
174605
+ action_type: 'UNLOCK_DOOR';
174606
+ /** Error associated with the action. */
174607
+ error: {
174608
+ /** Type of the error. */
174609
+ type: string;
174610
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
174611
+ message: string;
174612
+ };
174613
+ } | {
174614
+ /** ID of the action attempt. */
174615
+ action_attempt_id: string;
174616
+ status: 'pending';
174617
+ /** Result of the action attempt. Null for pending action attempts. */
174618
+ result: null;
174619
+ /** Errors associated with the action attempt. Null for pending action attempts. */
174620
+ error: null;
174621
+ /** Action attempt to track the status of scanning a credential. */
174622
+ action_type: 'SCAN_CREDENTIAL';
174623
+ } | {
174624
+ /** ID of the action attempt. */
174625
+ action_attempt_id: string;
174626
+ status: 'success';
174627
+ /** Errors associated with the action attempt. Null for successful action attempts. */
174628
+ error: null;
174629
+ /** Action attempt to track the status of scanning a credential. */
174630
+ action_type: 'SCAN_CREDENTIAL';
174631
+ /** Result of scanning a card. If the attempt was successful, includes a snapshot of credential data read from the physical encoder, the corresponding data stored on Seam and the access system, and any associated warnings. */
174632
+ result: {
174633
+ /** Snapshot of credential data read from the physical encoder. */
174634
+ acs_credential_on_encoder: {
174635
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
174636
+ created_at: string | null;
174637
+ is_issued: boolean | null;
174638
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) becomes usable. */
174639
+ starts_at: string | null;
174640
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) will stop being usable. */
174641
+ ends_at: string | null;
174642
+ /** A number or string that physically identifies the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174643
+ card_number: string | null;
174644
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174645
+ visionline_metadata?: {
174646
+ /** Card ID for the Visionline card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174647
+ card_id: string;
174648
+ /** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is cancelled. */
174649
+ cancelled: boolean;
174650
+ /** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is discarded. */
174651
+ discarded: boolean;
174652
+ /** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is expired. */
174653
+ expired: boolean;
174654
+ /** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is overwritten. */
174655
+ overwritten: boolean;
174656
+ /** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is overridden. */
174657
+ overridden?: boolean | undefined;
174658
+ /** Indicates whether the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is pending auto-update. */
174659
+ pending_auto_update: boolean;
174660
+ /** Format of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174661
+ card_format: 'TLCode' | 'rfid48';
174662
+ /** Holder of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174663
+ card_holder?: string | undefined;
174664
+ /** Number of issued cards associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174665
+ number_of_issued_cards: number;
174666
+ /** IDs of the guest [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174667
+ guest_acs_entrance_ids?: string[] | undefined;
174668
+ /** IDs of the common [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174669
+ common_acs_entrance_ids?: string[] | undefined;
174670
+ } | undefined;
174671
+ } | null;
174672
+ /** Corresponding credential data as stored on Seam and the access system. */
174673
+ acs_credential_on_seam: ({
174674
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174675
+ acs_credential_id: string;
174676
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174677
+ acs_user_id?: string | undefined;
174678
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174679
+ user_identity_id?: string | undefined;
174680
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174681
+ connected_account_id: string;
174682
+ acs_credential_pool_id?: string | undefined;
174683
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174684
+ acs_system_id: string;
174685
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174686
+ parent_acs_credential_id?: string | undefined;
174687
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
174688
+ display_name: string;
174689
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174690
+ code?: (string | undefined) | null;
174691
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
174692
+ is_one_time_use?: boolean | undefined;
174693
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174694
+ card_number?: (string | undefined) | null;
174695
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
174696
+ is_issued?: boolean | undefined;
174697
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
174698
+ issued_at?: (string | undefined) | null;
174699
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
174700
+ access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
174701
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
174702
+ external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
174703
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
174704
+ external_type_display_name?: string | undefined;
174705
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
174706
+ created_at: string;
174707
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174708
+ workspace_id: string;
174709
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
174710
+ starts_at?: string | undefined;
174711
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
174712
+ ends_at?: string | undefined;
174713
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174714
+ errors: {
174715
+ error_code: string;
174716
+ message: string;
174717
+ }[];
174718
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174719
+ warnings: ({
174720
+ /** Date and time at which Seam created the warning. */
174721
+ created_at: string;
174722
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174723
+ message: string;
174724
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174725
+ warning_code: 'waiting_to_be_issued';
174726
+ } | {
174727
+ /** Date and time at which Seam created the warning. */
174728
+ created_at: string;
174729
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174730
+ message: string;
174731
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174732
+ warning_code: 'schedule_externally_modified';
174733
+ } | {
174734
+ /** Date and time at which Seam created the warning. */
174735
+ created_at: string;
174736
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174737
+ message: string;
174738
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174739
+ warning_code: 'schedule_modified';
174740
+ } | {
174741
+ /** Date and time at which Seam created the warning. */
174742
+ created_at: string;
174743
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174744
+ message: string;
174745
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174746
+ warning_code: 'being_deleted';
174747
+ } | {
174748
+ /** Date and time at which Seam created the warning. */
174749
+ created_at: string;
174750
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174751
+ message: string;
174752
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174753
+ warning_code: 'unknown_issue_with_acs_credential';
174754
+ } | {
174755
+ /** Date and time at which Seam created the warning. */
174756
+ created_at: string;
174757
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174758
+ message: string;
174759
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174760
+ warning_code: 'needs_to_be_reissued';
174761
+ })[];
174762
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
174763
+ is_multi_phone_sync_credential?: boolean | undefined;
174764
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
174765
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
174766
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
174767
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
174768
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174769
+ visionline_metadata?: {
174770
+ /** Card function type in the Visionline access system. */
174771
+ card_function_type: 'guest' | 'staff';
174772
+ /** IDs of the credentials to which you want to join. */
174773
+ joiner_acs_credential_ids?: string[] | undefined;
174774
+ /** Guest entrance IDs in the Visionline access system. */
174775
+ guest_acs_entrance_ids?: string[] | undefined;
174776
+ /** Common entrance IDs in the Visionline access system. */
174777
+ common_acs_entrance_ids?: string[] | undefined;
174778
+ /** Indicates whether the credential is valid. */
174779
+ is_valid?: boolean | undefined;
174780
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
174781
+ auto_join?: boolean | undefined;
174782
+ /** ID of the card in the Visionline access system. */
174783
+ card_id?: string | undefined;
174784
+ /** ID of the credential in the Visionline access system. */
174785
+ credential_id?: string | undefined;
174786
+ } | undefined;
174787
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174788
+ assa_abloy_vostio_metadata?: {
174789
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
174790
+ auto_join?: boolean | undefined;
174791
+ /** IDs of the guest entrances to override in the Vostio access system. */
174792
+ override_guest_acs_entrance_ids?: string[] | undefined;
174793
+ /** Key ID in the Vostio access system. */
174794
+ key_id?: string | undefined;
174795
+ /** Key issuing request ID in the Vostio access system. */
174796
+ key_issuing_request_id?: string | undefined;
174797
+ /** Names of the doors to which to grant access in the Vostio access system. */
174798
+ door_names?: string[] | undefined;
174799
+ /** Endpoint ID in the Vostio access system. */
174800
+ endpoint_id?: string | undefined;
174801
+ } | undefined;
174802
+ is_managed: true;
174803
+ } | {
174804
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174805
+ acs_credential_id: string;
174806
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174807
+ acs_user_id?: string | undefined;
174808
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174809
+ user_identity_id?: string | undefined;
174810
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174811
+ connected_account_id: string;
174812
+ acs_credential_pool_id?: string | undefined;
174813
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174814
+ acs_system_id: string;
174815
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174816
+ parent_acs_credential_id?: string | undefined;
174817
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
174818
+ display_name: string;
174819
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174820
+ code?: (string | undefined) | null;
174821
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
174822
+ is_one_time_use?: boolean | undefined;
174823
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174824
+ card_number?: (string | undefined) | null;
174825
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
174826
+ is_issued?: boolean | undefined;
174827
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
174828
+ issued_at?: (string | undefined) | null;
174829
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
174830
+ access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
174831
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
174832
+ external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
174833
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
174834
+ external_type_display_name?: string | undefined;
174835
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
174836
+ created_at: string;
174837
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174838
+ workspace_id: string;
174839
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
174840
+ starts_at?: string | undefined;
174841
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
174842
+ ends_at?: string | undefined;
174843
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174844
+ errors: {
174845
+ error_code: string;
174846
+ message: string;
174847
+ }[];
174848
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174849
+ warnings: ({
174850
+ /** Date and time at which Seam created the warning. */
174851
+ created_at: string;
174852
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174853
+ message: string;
174854
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174855
+ warning_code: 'waiting_to_be_issued';
174856
+ } | {
174857
+ /** Date and time at which Seam created the warning. */
174858
+ created_at: string;
174859
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174860
+ message: string;
174861
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174862
+ warning_code: 'schedule_externally_modified';
174863
+ } | {
174864
+ /** Date and time at which Seam created the warning. */
174865
+ created_at: string;
174866
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174867
+ message: string;
174868
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174869
+ warning_code: 'schedule_modified';
174870
+ } | {
174871
+ /** Date and time at which Seam created the warning. */
174872
+ created_at: string;
174873
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174874
+ message: string;
174875
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174876
+ warning_code: 'being_deleted';
174877
+ } | {
174878
+ /** Date and time at which Seam created the warning. */
174879
+ created_at: string;
174880
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174881
+ message: string;
174882
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174883
+ warning_code: 'unknown_issue_with_acs_credential';
174884
+ } | {
174885
+ /** Date and time at which Seam created the warning. */
174886
+ created_at: string;
174887
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174888
+ message: string;
174889
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174890
+ warning_code: 'needs_to_be_reissued';
174891
+ })[];
174892
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
174893
+ is_multi_phone_sync_credential?: boolean | undefined;
174894
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
174895
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
174896
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
174897
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
174898
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174899
+ visionline_metadata?: {
174900
+ /** Card function type in the Visionline access system. */
174901
+ card_function_type: 'guest' | 'staff';
174902
+ /** IDs of the credentials to which you want to join. */
174903
+ joiner_acs_credential_ids?: string[] | undefined;
174904
+ /** Guest entrance IDs in the Visionline access system. */
174905
+ guest_acs_entrance_ids?: string[] | undefined;
174906
+ /** Common entrance IDs in the Visionline access system. */
174907
+ common_acs_entrance_ids?: string[] | undefined;
174908
+ /** Indicates whether the credential is valid. */
174909
+ is_valid?: boolean | undefined;
174910
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
174911
+ auto_join?: boolean | undefined;
174912
+ /** ID of the card in the Visionline access system. */
174913
+ card_id?: string | undefined;
174914
+ /** ID of the credential in the Visionline access system. */
174915
+ credential_id?: string | undefined;
174916
+ } | undefined;
174917
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174918
+ assa_abloy_vostio_metadata?: {
174919
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
174920
+ auto_join?: boolean | undefined;
174921
+ /** IDs of the guest entrances to override in the Vostio access system. */
174922
+ override_guest_acs_entrance_ids?: string[] | undefined;
174923
+ /** Key ID in the Vostio access system. */
174924
+ key_id?: string | undefined;
174925
+ /** Key issuing request ID in the Vostio access system. */
174926
+ key_issuing_request_id?: string | undefined;
174927
+ /** Names of the doors to which to grant access in the Vostio access system. */
174928
+ door_names?: string[] | undefined;
174929
+ /** Endpoint ID in the Vostio access system. */
174930
+ endpoint_id?: string | undefined;
174931
+ } | undefined;
174932
+ is_managed: false;
174933
+ }) | null;
174934
+ /** Warnings related to scanning the credential, such as mismatches between the credential data currently encoded on the card and the corresponding data stored on Seam and the access system. */
174935
+ warnings: {
174936
+ /** Indicates a warning related to scanning a credential. */
174937
+ warning_code: 'acs_credential_on_encoder_out_of_sync' | 'acs_credential_on_seam_not_found';
174938
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174939
+ warning_message: string;
174940
+ }[];
174941
+ };
174942
+ } | {
174943
+ /** ID of the action attempt. */
174944
+ action_attempt_id: string;
174945
+ status: 'error';
174946
+ /** Result of the action attempt. Null for failed action attempts. */
174947
+ result: null;
174948
+ /** Action attempt to track the status of scanning a credential. */
174949
+ action_type: 'SCAN_CREDENTIAL';
174950
+ error: {
174951
+ /** Type of the error associated with the action attempt. */
174952
+ type: 'uncategorized_error';
174953
+ /** Message for the error associated with the action attempt. */
174954
+ message: string;
174955
+ } | {
174956
+ /** Type of the error associated with the action attempt. */
174957
+ type: 'action_attempt_expired';
174958
+ /** Message for the error associated with the action attempt. */
174959
+ message: string;
174960
+ } | {
174961
+ /** Error type to indicate that there is no credential on the encoder. */
174962
+ type: 'no_credential_on_encoder';
174963
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
174964
+ message: string;
174965
+ } | {
174966
+ /** Error type to indicate that the encoder is not online. */
174967
+ type: 'encoder_not_online';
174968
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
174969
+ message: string;
174970
+ };
174971
+ } | {
174972
+ /** ID of the action attempt. */
174973
+ action_attempt_id: string;
174974
+ status: 'pending';
174975
+ /** Result of the action attempt. Null for pending action attempts. */
174976
+ result: null;
174977
+ /** Errors associated with the action attempt. Null for pending action attempts. */
174978
+ error: null;
174979
+ /** Action attempt to track the status of encoding credential data from the physical encoder onto a card. */
174980
+ action_type: 'ENCODE_CREDENTIAL';
174981
+ } | {
174982
+ /** ID of the action attempt. */
174983
+ action_attempt_id: string;
174984
+ status: 'success';
174985
+ /** Errors associated with the action attempt. Null for successful action attempts. */
174986
+ error: null;
174987
+ /** Action attempt to track the status of encoding credential data from the physical encoder onto a card. */
174988
+ action_type: 'ENCODE_CREDENTIAL';
174989
+ /** Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card. */
174990
+ result: {
174991
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
174992
+ acs_credential_id: string;
174993
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174994
+ acs_user_id?: string | undefined;
174995
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174996
+ user_identity_id?: string | undefined;
174997
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
174998
+ connected_account_id: string;
174999
+ acs_credential_pool_id?: string | undefined;
175000
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175001
+ acs_system_id: string;
175002
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175003
+ parent_acs_credential_id?: string | undefined;
175004
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175005
+ display_name: string;
175006
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175007
+ code?: (string | undefined) | null;
175008
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
175009
+ is_one_time_use?: boolean | undefined;
175010
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175011
+ card_number?: (string | undefined) | null;
175012
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
175013
+ is_issued?: boolean | undefined;
175014
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
175015
+ issued_at?: (string | undefined) | null;
175016
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
175017
+ access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
175018
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
175019
+ external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
175020
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175021
+ external_type_display_name?: string | undefined;
175022
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
175023
+ created_at: string;
175024
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175025
+ workspace_id: string;
175026
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
175027
+ starts_at?: string | undefined;
175028
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
175029
+ ends_at?: string | undefined;
175030
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175031
+ errors: {
175032
+ error_code: string;
175033
+ message: string;
175034
+ }[];
175035
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175036
+ warnings: ({
175037
+ /** Date and time at which Seam created the warning. */
175038
+ created_at: string;
175039
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175040
+ message: string;
175041
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175042
+ warning_code: 'waiting_to_be_issued';
175043
+ } | {
175044
+ /** Date and time at which Seam created the warning. */
175045
+ created_at: string;
175046
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175047
+ message: string;
175048
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175049
+ warning_code: 'schedule_externally_modified';
175050
+ } | {
175051
+ /** Date and time at which Seam created the warning. */
175052
+ created_at: string;
175053
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175054
+ message: string;
175055
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175056
+ warning_code: 'schedule_modified';
175057
+ } | {
175058
+ /** Date and time at which Seam created the warning. */
175059
+ created_at: string;
175060
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175061
+ message: string;
175062
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175063
+ warning_code: 'being_deleted';
175064
+ } | {
175065
+ /** Date and time at which Seam created the warning. */
175066
+ created_at: string;
175067
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175068
+ message: string;
175069
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175070
+ warning_code: 'unknown_issue_with_acs_credential';
175071
+ } | {
175072
+ /** Date and time at which Seam created the warning. */
175073
+ created_at: string;
175074
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175075
+ message: string;
175076
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175077
+ warning_code: 'needs_to_be_reissued';
175078
+ })[];
175079
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
175080
+ is_multi_phone_sync_credential?: boolean | undefined;
175081
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
175082
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
175083
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
175084
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
175085
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175086
+ visionline_metadata?: {
175087
+ /** Card function type in the Visionline access system. */
175088
+ card_function_type: 'guest' | 'staff';
175089
+ /** IDs of the credentials to which you want to join. */
175090
+ joiner_acs_credential_ids?: string[] | undefined;
175091
+ /** Guest entrance IDs in the Visionline access system. */
175092
+ guest_acs_entrance_ids?: string[] | undefined;
175093
+ /** Common entrance IDs in the Visionline access system. */
175094
+ common_acs_entrance_ids?: string[] | undefined;
175095
+ /** Indicates whether the credential is valid. */
175096
+ is_valid?: boolean | undefined;
175097
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175098
+ auto_join?: boolean | undefined;
175099
+ /** ID of the card in the Visionline access system. */
175100
+ card_id?: string | undefined;
175101
+ /** ID of the credential in the Visionline access system. */
175102
+ credential_id?: string | undefined;
175103
+ } | undefined;
175104
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175105
+ assa_abloy_vostio_metadata?: {
175106
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175107
+ auto_join?: boolean | undefined;
175108
+ /** IDs of the guest entrances to override in the Vostio access system. */
175109
+ override_guest_acs_entrance_ids?: string[] | undefined;
175110
+ /** Key ID in the Vostio access system. */
175111
+ key_id?: string | undefined;
175112
+ /** Key issuing request ID in the Vostio access system. */
175113
+ key_issuing_request_id?: string | undefined;
175114
+ /** Names of the doors to which to grant access in the Vostio access system. */
175115
+ door_names?: string[] | undefined;
175116
+ /** Endpoint ID in the Vostio access system. */
175117
+ endpoint_id?: string | undefined;
175118
+ } | undefined;
175119
+ is_managed: true;
175120
+ } | {
175121
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175122
+ acs_credential_id: string;
175123
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175124
+ acs_user_id?: string | undefined;
175125
+ /** ID of the [user identity](https://docs.seam.co/latest/api/user_identities) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175126
+ user_identity_id?: string | undefined;
175127
+ /** ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
175128
+ connected_account_id: string;
175129
+ acs_credential_pool_id?: string | undefined;
175130
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175131
+ acs_system_id: string;
175132
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175133
+ parent_acs_credential_id?: string | undefined;
175134
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175135
+ display_name: string;
175136
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175137
+ code?: (string | undefined) | null;
175138
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
175139
+ is_one_time_use?: boolean | undefined;
175140
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175141
+ card_number?: (string | undefined) | null;
175142
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
175143
+ is_issued?: boolean | undefined;
175144
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
175145
+ issued_at?: (string | undefined) | null;
175146
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
175147
+ access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
175148
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
175149
+ external_type?: ('pti_card' | 'brivo_credential' | 'brivo_digital_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card') | undefined;
175150
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
175151
+ external_type_display_name?: string | undefined;
175152
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
175153
+ created_at: string;
175154
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175155
+ workspace_id: string;
175156
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
175157
+ starts_at?: string | undefined;
175158
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
175159
+ ends_at?: string | undefined;
175160
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175161
+ errors: {
175162
+ error_code: string;
175163
+ message: string;
175164
+ }[];
175165
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175166
+ warnings: ({
175167
+ /** Date and time at which Seam created the warning. */
175168
+ created_at: string;
175169
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175170
+ message: string;
175171
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175172
+ warning_code: 'waiting_to_be_issued';
175173
+ } | {
175174
+ /** Date and time at which Seam created the warning. */
175175
+ created_at: string;
175176
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175177
+ message: string;
175178
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175179
+ warning_code: 'schedule_externally_modified';
175180
+ } | {
175181
+ /** Date and time at which Seam created the warning. */
175182
+ created_at: string;
175183
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175184
+ message: string;
175185
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175186
+ warning_code: 'schedule_modified';
175187
+ } | {
175188
+ /** Date and time at which Seam created the warning. */
175189
+ created_at: string;
175190
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175191
+ message: string;
175192
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175193
+ warning_code: 'being_deleted';
175194
+ } | {
175195
+ /** Date and time at which Seam created the warning. */
175196
+ created_at: string;
175197
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175198
+ message: string;
175199
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175200
+ warning_code: 'unknown_issue_with_acs_credential';
175201
+ } | {
175202
+ /** Date and time at which Seam created the warning. */
175203
+ created_at: string;
175204
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
175205
+ message: string;
175206
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
175207
+ warning_code: 'needs_to_be_reissued';
175208
+ })[];
175209
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
175210
+ is_multi_phone_sync_credential?: boolean | undefined;
175211
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
175212
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
175213
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
175214
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
175215
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175216
+ visionline_metadata?: {
175217
+ /** Card function type in the Visionline access system. */
175218
+ card_function_type: 'guest' | 'staff';
175219
+ /** IDs of the credentials to which you want to join. */
175220
+ joiner_acs_credential_ids?: string[] | undefined;
175221
+ /** Guest entrance IDs in the Visionline access system. */
175222
+ guest_acs_entrance_ids?: string[] | undefined;
175223
+ /** Common entrance IDs in the Visionline access system. */
175224
+ common_acs_entrance_ids?: string[] | undefined;
175225
+ /** Indicates whether the credential is valid. */
175226
+ is_valid?: boolean | undefined;
175227
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175228
+ auto_join?: boolean | undefined;
175229
+ /** ID of the card in the Visionline access system. */
175230
+ card_id?: string | undefined;
175231
+ /** ID of the credential in the Visionline access system. */
175232
+ credential_id?: string | undefined;
175233
+ } | undefined;
175234
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
175235
+ assa_abloy_vostio_metadata?: {
175236
+ /** Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors. */
175237
+ auto_join?: boolean | undefined;
175238
+ /** IDs of the guest entrances to override in the Vostio access system. */
175239
+ override_guest_acs_entrance_ids?: string[] | undefined;
175240
+ /** Key ID in the Vostio access system. */
175241
+ key_id?: string | undefined;
175242
+ /** Key issuing request ID in the Vostio access system. */
175243
+ key_issuing_request_id?: string | undefined;
175244
+ /** Names of the doors to which to grant access in the Vostio access system. */
175245
+ door_names?: string[] | undefined;
175246
+ /** Endpoint ID in the Vostio access system. */
175247
+ endpoint_id?: string | undefined;
175248
+ } | undefined;
175249
+ is_managed: false;
175250
+ };
175251
+ } | {
175252
+ /** ID of the action attempt. */
175253
+ action_attempt_id: string;
175254
+ status: 'error';
175255
+ /** Result of the action attempt. Null for failed action attempts. */
175256
+ result: null;
175257
+ /** Action attempt to track the status of encoding credential data from the physical encoder onto a card. */
175258
+ action_type: 'ENCODE_CREDENTIAL';
175259
+ error: {
175260
+ /** Type of the error associated with the action attempt. */
175261
+ type: 'uncategorized_error';
175262
+ /** Message for the error associated with the action attempt. */
175263
+ message: string;
175264
+ } | {
175265
+ /** Type of the error associated with the action attempt. */
175266
+ type: 'action_attempt_expired';
175267
+ /** Message for the error associated with the action attempt. */
175268
+ message: string;
175269
+ } | {
175270
+ /** Error type to indicate that there is no credential on the encoder. */
175271
+ type: 'no_credential_on_encoder';
175272
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175273
+ message: string;
175274
+ } | {
175275
+ /** Error type to indicate an incompatible card format. */
175276
+ type: 'incompatible_card_format';
175277
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175278
+ message: string;
175279
+ } | {
175280
+ /** Error type to indicate that the affected credential cannot be reissued. */
175281
+ type: 'credential_cannot_be_reissued';
175282
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175283
+ message: string;
175284
+ } | {
175285
+ /** Error type to indicate that the encoder is not online. */
175286
+ type: 'encoder_not_online';
175287
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175288
+ message: string;
175289
+ };
175290
+ } | {
175291
+ /** ID of the action attempt. */
175292
+ action_attempt_id: string;
175293
+ status: 'pending';
175294
+ /** Result of the action attempt. Null for pending action attempts. */
175295
+ result: null;
175296
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175297
+ error: null;
175298
+ /** Action attempt to track the status of resetting a sandbox workspace. */
175299
+ action_type: 'RESET_SANDBOX_WORKSPACE';
175300
+ } | {
175301
+ /** ID of the action attempt. */
175302
+ action_attempt_id: string;
175303
+ status: 'success';
175304
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175305
+ error: null;
175306
+ /** Action attempt to track the status of resetting a sandbox workspace. */
175307
+ action_type: 'RESET_SANDBOX_WORKSPACE';
175308
+ /** Result of the action. */
175309
+ result: {};
175310
+ } | {
175311
+ /** ID of the action attempt. */
175312
+ action_attempt_id: string;
175313
+ status: 'error';
175314
+ /** Result of the action attempt. Null for failed action attempts. */
175315
+ result: null;
175316
+ /** Action attempt to track the status of resetting a sandbox workspace. */
175317
+ action_type: 'RESET_SANDBOX_WORKSPACE';
175318
+ /** Error associated with the action. */
175319
+ error: {
175320
+ /** Type of the error. */
175321
+ type: string;
175322
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175323
+ message: string;
175324
+ };
175325
+ } | {
175326
+ /** ID of the action attempt. */
175327
+ action_attempt_id: string;
175328
+ status: 'pending';
175329
+ /** Result of the action attempt. Null for pending action attempts. */
175330
+ result: null;
175331
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175332
+ error: null;
175333
+ /** Action attempt to track the status of setting the fan mode on a thermostat. */
175334
+ action_type: 'SET_FAN_MODE';
175335
+ } | {
175336
+ /** ID of the action attempt. */
175337
+ action_attempt_id: string;
175338
+ status: 'success';
175339
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175340
+ error: null;
175341
+ /** Action attempt to track the status of setting the fan mode on a thermostat. */
175342
+ action_type: 'SET_FAN_MODE';
175343
+ /** Result of the action. */
175344
+ result: {};
175345
+ } | {
175346
+ /** ID of the action attempt. */
175347
+ action_attempt_id: string;
175348
+ status: 'error';
175349
+ /** Result of the action attempt. Null for failed action attempts. */
175350
+ result: null;
175351
+ /** Action attempt to track the status of setting the fan mode on a thermostat. */
175352
+ action_type: 'SET_FAN_MODE';
175353
+ /** Error associated with the action. */
175354
+ error: {
175355
+ /** Type of the error. */
175356
+ type: string;
175357
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175358
+ message: string;
175359
+ };
175360
+ } | {
175361
+ /** ID of the action attempt. */
175362
+ action_attempt_id: string;
175363
+ status: 'pending';
175364
+ /** Result of the action attempt. Null for pending action attempts. */
175365
+ result: null;
175366
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175367
+ error: null;
175368
+ /** Action attempt to track the status of setting the HVAC mode on a thermostat. */
175369
+ action_type: 'SET_HVAC_MODE';
175370
+ } | {
175371
+ /** ID of the action attempt. */
175372
+ action_attempt_id: string;
175373
+ status: 'success';
175374
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175375
+ error: null;
175376
+ /** Action attempt to track the status of setting the HVAC mode on a thermostat. */
175377
+ action_type: 'SET_HVAC_MODE';
175378
+ /** Result of the action. */
175379
+ result: {};
175380
+ } | {
175381
+ /** ID of the action attempt. */
175382
+ action_attempt_id: string;
175383
+ status: 'error';
175384
+ /** Result of the action attempt. Null for failed action attempts. */
175385
+ result: null;
175386
+ /** Action attempt to track the status of setting the HVAC mode on a thermostat. */
175387
+ action_type: 'SET_HVAC_MODE';
175388
+ /** Error associated with the action. */
175389
+ error: {
175390
+ /** Type of the error. */
175391
+ type: string;
175392
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175393
+ message: string;
175394
+ };
175395
+ } | {
175396
+ /** ID of the action attempt. */
175397
+ action_attempt_id: string;
175398
+ status: 'pending';
175399
+ /** Result of the action attempt. Null for pending action attempts. */
175400
+ result: null;
175401
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175402
+ error: null;
175403
+ /** Action attempt to track the status of a climate preset activation. */
175404
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
175405
+ } | {
175406
+ /** ID of the action attempt. */
175407
+ action_attempt_id: string;
175408
+ status: 'success';
175409
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175410
+ error: null;
175411
+ /** Action attempt to track the status of a climate preset activation. */
175412
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
175413
+ /** Result of the action. */
175414
+ result: {};
175415
+ } | {
175416
+ /** ID of the action attempt. */
175417
+ action_attempt_id: string;
175418
+ status: 'error';
175419
+ /** Result of the action attempt. Null for failed action attempts. */
175420
+ result: null;
175421
+ /** Action attempt to track the status of a climate preset activation. */
175422
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
175423
+ /** Error associated with the action. */
175424
+ error: {
175425
+ /** Type of the error. */
175426
+ type: string;
175427
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175428
+ message: string;
175429
+ };
175430
+ } | {
175431
+ /** ID of the action attempt. */
175432
+ action_attempt_id: string;
175433
+ status: 'pending';
175434
+ /** Result of the action attempt. Null for pending action attempts. */
175435
+ result: null;
175436
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175437
+ error: null;
175438
+ /** Action attempt to track the status of simulating a keypad code entry. */
175439
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
175440
+ } | {
175441
+ /** ID of the action attempt. */
175442
+ action_attempt_id: string;
175443
+ status: 'success';
175444
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175445
+ error: null;
175446
+ /** Action attempt to track the status of simulating a keypad code entry. */
175447
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
175448
+ /** Result of the action. */
175449
+ result: {};
175450
+ } | {
175451
+ /** ID of the action attempt. */
175452
+ action_attempt_id: string;
175453
+ status: 'error';
175454
+ /** Result of the action attempt. Null for failed action attempts. */
175455
+ result: null;
175456
+ /** Action attempt to track the status of simulating a keypad code entry. */
175457
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
175458
+ /** Error associated with the action. */
175459
+ error: {
175460
+ /** Type of the error. */
175461
+ type: string;
175462
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175463
+ message: string;
175464
+ };
175465
+ } | {
175466
+ /** ID of the action attempt. */
175467
+ action_attempt_id: string;
175468
+ status: 'pending';
175469
+ /** Result of the action attempt. Null for pending action attempts. */
175470
+ result: null;
175471
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175472
+ error: null;
175473
+ /** Action attempt to track the status of simulating a manual lock action using a keypad. */
175474
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
175475
+ } | {
175476
+ /** ID of the action attempt. */
175477
+ action_attempt_id: string;
175478
+ status: 'success';
175479
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175480
+ error: null;
175481
+ /** Action attempt to track the status of simulating a manual lock action using a keypad. */
175482
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
175483
+ /** Result of the action. */
175484
+ result: {};
175485
+ } | {
175486
+ /** ID of the action attempt. */
175487
+ action_attempt_id: string;
175488
+ status: 'error';
175489
+ /** Result of the action attempt. Null for failed action attempts. */
175490
+ result: null;
175491
+ /** Action attempt to track the status of simulating a manual lock action using a keypad. */
175492
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
175493
+ /** Error associated with the action. */
175494
+ error: {
175495
+ /** Type of the error. */
175496
+ type: string;
175497
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175498
+ message: string;
175499
+ };
175500
+ } | {
175501
+ /** ID of the action attempt. */
175502
+ action_attempt_id: string;
175503
+ status: 'pending';
175504
+ /** Result of the action attempt. Null for pending action attempts. */
175505
+ result: null;
175506
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175507
+ error: null;
175508
+ /** Action attempt to track the status of pushing thermostat programs. */
175509
+ action_type: 'PUSH_THERMOSTAT_PROGRAMS';
175510
+ } | {
175511
+ /** ID of the action attempt. */
175512
+ action_attempt_id: string;
175513
+ status: 'success';
175514
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175515
+ error: null;
175516
+ /** Action attempt to track the status of pushing thermostat programs. */
175517
+ action_type: 'PUSH_THERMOSTAT_PROGRAMS';
175518
+ /** Result of the action. */
175519
+ result: {};
175520
+ } | {
175521
+ /** ID of the action attempt. */
175522
+ action_attempt_id: string;
175523
+ status: 'error';
175524
+ /** Result of the action attempt. Null for failed action attempts. */
175525
+ result: null;
175526
+ /** Action attempt to track the status of pushing thermostat programs. */
175527
+ action_type: 'PUSH_THERMOSTAT_PROGRAMS';
175528
+ /** Error associated with the action. */
175529
+ error: {
175530
+ /** Type of the error. */
175531
+ type: string;
175532
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175533
+ message: string;
175534
+ };
175535
+ } | {
175536
+ /** ID of the action attempt. */
175537
+ action_attempt_id: string;
175538
+ status: 'pending';
175539
+ /** Result of the action attempt. Null for pending action attempts. */
175540
+ result: null;
175541
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175542
+ error: null;
175543
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
175544
+ action_type: 'CONFIGURE_AUTO_LOCK';
175545
+ } | {
175546
+ /** ID of the action attempt. */
175547
+ action_attempt_id: string;
175548
+ status: 'success';
175549
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175550
+ error: null;
175551
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
175552
+ action_type: 'CONFIGURE_AUTO_LOCK';
175553
+ /** Result of the action. */
175554
+ result: {};
175555
+ } | {
175556
+ /** ID of the action attempt. */
175557
+ action_attempt_id: string;
175558
+ status: 'error';
175559
+ /** Result of the action attempt. Null for failed action attempts. */
175560
+ result: null;
175561
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
175562
+ action_type: 'CONFIGURE_AUTO_LOCK';
175563
+ /** Error associated with the action. */
175564
+ error: {
175565
+ /** Type of the error. */
175566
+ type: string;
175567
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175568
+ message: string;
175569
+ };
175570
+ } | {
175571
+ /** ID of the action attempt. */
175572
+ action_attempt_id: string;
175573
+ status: 'pending';
175574
+ /** Result of the action attempt. Null for pending action attempts. */
175575
+ result: null;
175576
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175577
+ error: null;
175578
+ /** Syncing access codes is pending. */
175579
+ action_type: 'SYNC_ACCESS_CODES';
175580
+ } | {
175581
+ /** ID of the action attempt. */
175582
+ action_attempt_id: string;
175583
+ status: 'success';
175584
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175585
+ error: null;
175586
+ /** Syncing access codes succeeded. */
175587
+ action_type: 'SYNC_ACCESS_CODES';
175588
+ /** Result of the action. */
175589
+ result: {};
175590
+ } | {
175591
+ /** ID of the action attempt. */
175592
+ action_attempt_id: string;
175593
+ status: 'error';
175594
+ /** Result of the action attempt. Null for failed action attempts. */
175595
+ result: null;
175596
+ /** Syncing access codes failed. */
175597
+ action_type: 'SYNC_ACCESS_CODES';
175598
+ /** Error associated with the action. */
175599
+ error: {
175600
+ /** Type of the error. */
175601
+ type: string;
175602
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175603
+ message: string;
175604
+ };
175605
+ } | {
175606
+ /** ID of the action attempt. */
175607
+ action_attempt_id: string;
175608
+ status: 'pending';
175609
+ /** Result of the action attempt. Null for pending action attempts. */
175610
+ result: null;
175611
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175612
+ error: null;
175613
+ /** Creating an access code is pending. */
175614
+ action_type: 'CREATE_ACCESS_CODE';
175615
+ } | {
175616
+ /** ID of the action attempt. */
175617
+ action_attempt_id: string;
175618
+ status: 'success';
175619
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175620
+ error: null;
175621
+ /** Creating an access code succeeded. */
175622
+ action_type: 'CREATE_ACCESS_CODE';
175623
+ /** Result of the action. */
175624
+ result: {
175625
+ /** Created access code. */
175626
+ access_code?: any;
175627
+ };
175628
+ } | {
175629
+ /** ID of the action attempt. */
175630
+ action_attempt_id: string;
175631
+ status: 'error';
175632
+ /** Result of the action attempt. Null for failed action attempts. */
175633
+ result: null;
175634
+ /** Creating an access code failed. */
175635
+ action_type: 'CREATE_ACCESS_CODE';
175636
+ /** Error associated with the action. */
175637
+ error: {
175638
+ /** Type of the error. */
175639
+ type: string;
175640
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175641
+ message: string;
175642
+ };
175643
+ } | {
175644
+ /** ID of the action attempt. */
175645
+ action_attempt_id: string;
175646
+ status: 'pending';
175647
+ /** Result of the action attempt. Null for pending action attempts. */
175648
+ result: null;
175649
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175650
+ error: null;
175651
+ /** Deleting an access code is pending. */
175652
+ action_type: 'DELETE_ACCESS_CODE';
175653
+ } | {
175654
+ /** ID of the action attempt. */
175655
+ action_attempt_id: string;
175656
+ status: 'success';
175657
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175658
+ error: null;
175659
+ /** Deleting an access code succeeded. */
175660
+ action_type: 'DELETE_ACCESS_CODE';
175661
+ /** Result of the action. */
175662
+ result: {};
175663
+ } | {
175664
+ /** ID of the action attempt. */
175665
+ action_attempt_id: string;
175666
+ status: 'error';
175667
+ /** Result of the action attempt. Null for failed action attempts. */
175668
+ result: null;
175669
+ /** Deleting an access code failed. */
175670
+ action_type: 'DELETE_ACCESS_CODE';
175671
+ /** Error associated with the action. */
175672
+ error: {
175673
+ /** Type of the error. */
175674
+ type: string;
175675
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175676
+ message: string;
175677
+ };
175678
+ } | {
175679
+ /** ID of the action attempt. */
175680
+ action_attempt_id: string;
175681
+ status: 'pending';
175682
+ /** Result of the action attempt. Null for pending action attempts. */
175683
+ result: null;
175684
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175685
+ error: null;
175686
+ /** Updating an access code is pending. */
175687
+ action_type: 'UPDATE_ACCESS_CODE';
175688
+ } | {
175689
+ /** ID of the action attempt. */
175690
+ action_attempt_id: string;
175691
+ status: 'success';
175692
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175693
+ error: null;
175694
+ /** Updating an access code succeeded. */
175695
+ action_type: 'UPDATE_ACCESS_CODE';
175696
+ /** Result of the action. */
175697
+ result: {
175698
+ /** Updated access code. */
175699
+ access_code?: any;
175700
+ };
175701
+ } | {
175702
+ /** ID of the action attempt. */
175703
+ action_attempt_id: string;
175704
+ status: 'error';
175705
+ /** Result of the action attempt. Null for failed action attempts. */
175706
+ result: null;
175707
+ /** Updating an access code failed. */
175708
+ action_type: 'UPDATE_ACCESS_CODE';
175709
+ /** Error associated with the action. */
175710
+ error: {
175711
+ /** Type of the error. */
175712
+ type: string;
175713
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175714
+ message: string;
175715
+ };
175716
+ } | {
175717
+ /** ID of the action attempt. */
175718
+ action_attempt_id: string;
175719
+ status: 'pending';
175720
+ /** Result of the action attempt. Null for pending action attempts. */
175721
+ result: null;
175722
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175723
+ error: null;
175724
+ /** Creating a noise threshold is pending. */
175725
+ action_type: 'CREATE_NOISE_THRESHOLD';
175726
+ } | {
175727
+ /** ID of the action attempt. */
175728
+ action_attempt_id: string;
175729
+ status: 'success';
175730
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175731
+ error: null;
175732
+ /** Creating a noise threshold succeeded. */
175733
+ action_type: 'CREATE_NOISE_THRESHOLD';
175734
+ /** Result of the action. */
175735
+ result: {
175736
+ /** Created noise threshold. */
175737
+ noise_threshold?: any;
175738
+ };
175739
+ } | {
175740
+ /** ID of the action attempt. */
175741
+ action_attempt_id: string;
175742
+ status: 'error';
175743
+ /** Result of the action attempt. Null for failed action attempts. */
175744
+ result: null;
175745
+ /** Creating a noise threshold failed. */
175746
+ action_type: 'CREATE_NOISE_THRESHOLD';
175747
+ /** Error associated with the action. */
175748
+ error: {
175749
+ /** Type of the error. */
175750
+ type: string;
175751
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175752
+ message: string;
175753
+ };
175754
+ } | {
175755
+ /** ID of the action attempt. */
175756
+ action_attempt_id: string;
175757
+ status: 'pending';
175758
+ /** Result of the action attempt. Null for pending action attempts. */
175759
+ result: null;
175760
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175761
+ error: null;
175762
+ /** Deleting a noise threshold is pending. */
175763
+ action_type: 'DELETE_NOISE_THRESHOLD';
175764
+ } | {
175765
+ /** ID of the action attempt. */
175766
+ action_attempt_id: string;
175767
+ status: 'success';
175768
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175769
+ error: null;
175770
+ /** Deleting a noise threshold succeeded. */
175771
+ action_type: 'DELETE_NOISE_THRESHOLD';
175772
+ /** Result of the action. */
175773
+ result: {};
175774
+ } | {
175775
+ /** ID of the action attempt. */
175776
+ action_attempt_id: string;
175777
+ status: 'error';
175778
+ /** Result of the action attempt. Null for failed action attempts. */
175779
+ result: null;
175780
+ /** Deleting a noise threshold failed. */
175781
+ action_type: 'DELETE_NOISE_THRESHOLD';
175782
+ /** Error associated with the action. */
175783
+ error: {
175784
+ /** Type of the error. */
175785
+ type: string;
175786
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175787
+ message: string;
175788
+ };
175789
+ } | {
175790
+ /** ID of the action attempt. */
175791
+ action_attempt_id: string;
175792
+ status: 'pending';
175793
+ /** Result of the action attempt. Null for pending action attempts. */
175794
+ result: null;
175795
+ /** Errors associated with the action attempt. Null for pending action attempts. */
175796
+ error: null;
175797
+ /** Updating a noise threshold is pending. */
175798
+ action_type: 'UPDATE_NOISE_THRESHOLD';
175799
+ } | {
175800
+ /** ID of the action attempt. */
175801
+ action_attempt_id: string;
175802
+ status: 'success';
175803
+ /** Errors associated with the action attempt. Null for successful action attempts. */
175804
+ error: null;
175805
+ /** Updating a noise threshold succeeded. */
175806
+ action_type: 'UPDATE_NOISE_THRESHOLD';
175807
+ /** Result of the action. */
175808
+ result: {
175809
+ /** Updated noise threshold. */
175810
+ noise_threshold?: any;
175811
+ };
175812
+ } | {
175813
+ /** ID of the action attempt. */
175814
+ action_attempt_id: string;
175815
+ status: 'error';
175816
+ /** Result of the action attempt. Null for failed action attempts. */
175817
+ result: null;
175818
+ /** Updating a noise threshold failed. */
175819
+ action_type: 'UPDATE_NOISE_THRESHOLD';
175820
+ /** Error associated with the action. */
175821
+ error: {
175822
+ /** Type of the error. */
175823
+ type: string;
175824
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
175825
+ message: string;
175826
+ };
175827
+ };
175828
+ };
175829
+ maxDuration: undefined;
175830
+ };
173737
175831
  '/locks/get': {
173738
175832
  route: '/locks/get';
173739
175833
  method: 'GET' | 'POST';
@@ -174124,6 +176218,8 @@ type Routes = {
174124
176218
  incomplete_keyboard_passcode: boolean;
174125
176219
  /** Indicates whether a TTLock device supports Wi-Fi. */
174126
176220
  wifi: boolean;
176221
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
176222
+ auto_lock_time_config: boolean;
174127
176223
  };
174128
176224
  /** Indicates whether a TTLock device has a gateway. */
174129
176225
  has_gateway?: boolean | undefined;
@@ -174413,6 +176509,10 @@ type Routes = {
174413
176509
  } | undefined) | undefined;
174414
176510
  /** Indicates whether the door is open. */
174415
176511
  door_open?: (boolean | undefined) | undefined;
176512
+ /** Indicates whether automatic locking is enabled. */
176513
+ auto_lock_enabled?: (boolean | undefined) | undefined;
176514
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
176515
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
174416
176516
  } & {
174417
176517
  /** Reported temperature in °F. */
174418
176518
  temperature_fahrenheit?: number | undefined;
@@ -175059,6 +177159,7 @@ type Routes = {
175059
177159
  can_simulate_hub_connection?: boolean | undefined;
175060
177160
  can_simulate_hub_disconnection?: boolean | undefined;
175061
177161
  can_simulate_paid_subscription?: boolean | undefined;
177162
+ can_configure_auto_lock?: boolean | undefined;
175062
177163
  };
175063
177164
  /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
175064
177165
  device: {
@@ -175437,6 +177538,8 @@ type Routes = {
175437
177538
  incomplete_keyboard_passcode: boolean;
175438
177539
  /** Indicates whether a TTLock device supports Wi-Fi. */
175439
177540
  wifi: boolean;
177541
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
177542
+ auto_lock_time_config: boolean;
175440
177543
  };
175441
177544
  /** Indicates whether a TTLock device has a gateway. */
175442
177545
  has_gateway?: boolean | undefined;
@@ -175726,6 +177829,10 @@ type Routes = {
175726
177829
  } | undefined) | undefined;
175727
177830
  /** Indicates whether the door is open. */
175728
177831
  door_open?: (boolean | undefined) | undefined;
177832
+ /** Indicates whether automatic locking is enabled. */
177833
+ auto_lock_enabled?: (boolean | undefined) | undefined;
177834
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
177835
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
175729
177836
  } & {
175730
177837
  /** Reported temperature in °F. */
175731
177838
  temperature_fahrenheit?: number | undefined;
@@ -176372,6 +178479,7 @@ type Routes = {
176372
178479
  can_simulate_hub_connection?: boolean | undefined;
176373
178480
  can_simulate_hub_disconnection?: boolean | undefined;
176374
178481
  can_simulate_paid_subscription?: boolean | undefined;
178482
+ can_configure_auto_lock?: boolean | undefined;
176375
178483
  };
176376
178484
  };
176377
178485
  maxDuration: undefined;
@@ -176411,9 +178519,9 @@ type Routes = {
176411
178519
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
176412
178520
  page_cursor?: (string | undefined) | null;
176413
178521
  /** */
176414
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
178522
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
176415
178523
  /** */
176416
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
178524
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
176417
178525
  /**
176418
178526
  * @deprecated Use `space_id`.*/
176419
178527
  unstable_location_id?: (string | null) | undefined;
@@ -176800,6 +178908,8 @@ type Routes = {
176800
178908
  incomplete_keyboard_passcode: boolean;
176801
178909
  /** Indicates whether a TTLock device supports Wi-Fi. */
176802
178910
  wifi: boolean;
178911
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
178912
+ auto_lock_time_config: boolean;
176803
178913
  };
176804
178914
  /** Indicates whether a TTLock device has a gateway. */
176805
178915
  has_gateway?: boolean | undefined;
@@ -177089,6 +179199,10 @@ type Routes = {
177089
179199
  } | undefined) | undefined;
177090
179200
  /** Indicates whether the door is open. */
177091
179201
  door_open?: (boolean | undefined) | undefined;
179202
+ /** Indicates whether automatic locking is enabled. */
179203
+ auto_lock_enabled?: (boolean | undefined) | undefined;
179204
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
179205
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
177092
179206
  } & {
177093
179207
  /** Reported temperature in °F. */
177094
179208
  temperature_fahrenheit?: number | undefined;
@@ -177735,6 +179849,7 @@ type Routes = {
177735
179849
  can_simulate_hub_connection?: boolean | undefined;
177736
179850
  can_simulate_hub_disconnection?: boolean | undefined;
177737
179851
  can_simulate_paid_subscription?: boolean | undefined;
179852
+ can_configure_auto_lock?: boolean | undefined;
177738
179853
  }[];
177739
179854
  devices: {
177740
179855
  /** ID of the device. */
@@ -178112,6 +180227,8 @@ type Routes = {
178112
180227
  incomplete_keyboard_passcode: boolean;
178113
180228
  /** Indicates whether a TTLock device supports Wi-Fi. */
178114
180229
  wifi: boolean;
180230
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
180231
+ auto_lock_time_config: boolean;
178115
180232
  };
178116
180233
  /** Indicates whether a TTLock device has a gateway. */
178117
180234
  has_gateway?: boolean | undefined;
@@ -178401,6 +180518,10 @@ type Routes = {
178401
180518
  } | undefined) | undefined;
178402
180519
  /** Indicates whether the door is open. */
178403
180520
  door_open?: (boolean | undefined) | undefined;
180521
+ /** Indicates whether automatic locking is enabled. */
180522
+ auto_lock_enabled?: (boolean | undefined) | undefined;
180523
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
180524
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
178404
180525
  } & {
178405
180526
  /** Reported temperature in °F. */
178406
180527
  temperature_fahrenheit?: number | undefined;
@@ -179047,6 +181168,7 @@ type Routes = {
179047
181168
  can_simulate_hub_connection?: boolean | undefined;
179048
181169
  can_simulate_hub_disconnection?: boolean | undefined;
179049
181170
  can_simulate_paid_subscription?: boolean | undefined;
181171
+ can_configure_auto_lock?: boolean | undefined;
179050
181172
  }[];
179051
181173
  };
179052
181174
  maxDuration: undefined;
@@ -180067,6 +182189,41 @@ type Routes = {
180067
182189
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
180068
182190
  message: string;
180069
182191
  };
182192
+ } | {
182193
+ /** ID of the action attempt. */
182194
+ action_attempt_id: string;
182195
+ status: 'pending';
182196
+ /** Result of the action attempt. Null for pending action attempts. */
182197
+ result: null;
182198
+ /** Errors associated with the action attempt. Null for pending action attempts. */
182199
+ error: null;
182200
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
182201
+ action_type: 'CONFIGURE_AUTO_LOCK';
182202
+ } | {
182203
+ /** ID of the action attempt. */
182204
+ action_attempt_id: string;
182205
+ status: 'success';
182206
+ /** Errors associated with the action attempt. Null for successful action attempts. */
182207
+ error: null;
182208
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
182209
+ action_type: 'CONFIGURE_AUTO_LOCK';
182210
+ /** Result of the action. */
182211
+ result: {};
182212
+ } | {
182213
+ /** ID of the action attempt. */
182214
+ action_attempt_id: string;
182215
+ status: 'error';
182216
+ /** Result of the action attempt. Null for failed action attempts. */
182217
+ result: null;
182218
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
182219
+ action_type: 'CONFIGURE_AUTO_LOCK';
182220
+ /** Error associated with the action. */
182221
+ error: {
182222
+ /** Type of the error. */
182223
+ type: string;
182224
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
182225
+ message: string;
182226
+ };
180070
182227
  } | {
180071
182228
  /** ID of the action attempt. */
180072
182229
  action_attempt_id: string;
@@ -181344,6 +183501,41 @@ type Routes = {
181344
183501
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
181345
183502
  message: string;
181346
183503
  };
183504
+ } | {
183505
+ /** ID of the action attempt. */
183506
+ action_attempt_id: string;
183507
+ status: 'pending';
183508
+ /** Result of the action attempt. Null for pending action attempts. */
183509
+ result: null;
183510
+ /** Errors associated with the action attempt. Null for pending action attempts. */
183511
+ error: null;
183512
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
183513
+ action_type: 'CONFIGURE_AUTO_LOCK';
183514
+ } | {
183515
+ /** ID of the action attempt. */
183516
+ action_attempt_id: string;
183517
+ status: 'success';
183518
+ /** Errors associated with the action attempt. Null for successful action attempts. */
183519
+ error: null;
183520
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
183521
+ action_type: 'CONFIGURE_AUTO_LOCK';
183522
+ /** Result of the action. */
183523
+ result: {};
183524
+ } | {
183525
+ /** ID of the action attempt. */
183526
+ action_attempt_id: string;
183527
+ status: 'error';
183528
+ /** Result of the action attempt. Null for failed action attempts. */
183529
+ result: null;
183530
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
183531
+ action_type: 'CONFIGURE_AUTO_LOCK';
183532
+ /** Error associated with the action. */
183533
+ error: {
183534
+ /** Type of the error. */
183535
+ type: string;
183536
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
183537
+ message: string;
183538
+ };
181347
183539
  } | {
181348
183540
  /** ID of the action attempt. */
181349
183541
  action_attempt_id: string;
@@ -182619,6 +184811,41 @@ type Routes = {
182619
184811
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
182620
184812
  message: string;
182621
184813
  };
184814
+ } | {
184815
+ /** ID of the action attempt. */
184816
+ action_attempt_id: string;
184817
+ status: 'pending';
184818
+ /** Result of the action attempt. Null for pending action attempts. */
184819
+ result: null;
184820
+ /** Errors associated with the action attempt. Null for pending action attempts. */
184821
+ error: null;
184822
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
184823
+ action_type: 'CONFIGURE_AUTO_LOCK';
184824
+ } | {
184825
+ /** ID of the action attempt. */
184826
+ action_attempt_id: string;
184827
+ status: 'success';
184828
+ /** Errors associated with the action attempt. Null for successful action attempts. */
184829
+ error: null;
184830
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
184831
+ action_type: 'CONFIGURE_AUTO_LOCK';
184832
+ /** Result of the action. */
184833
+ result: {};
184834
+ } | {
184835
+ /** ID of the action attempt. */
184836
+ action_attempt_id: string;
184837
+ status: 'error';
184838
+ /** Result of the action attempt. Null for failed action attempts. */
184839
+ result: null;
184840
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
184841
+ action_type: 'CONFIGURE_AUTO_LOCK';
184842
+ /** Error associated with the action. */
184843
+ error: {
184844
+ /** Type of the error. */
184845
+ type: string;
184846
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
184847
+ message: string;
184848
+ };
182622
184849
  } | {
182623
184850
  /** ID of the action attempt. */
182624
184851
  action_attempt_id: string;
@@ -183896,6 +186123,41 @@ type Routes = {
183896
186123
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
183897
186124
  message: string;
183898
186125
  };
186126
+ } | {
186127
+ /** ID of the action attempt. */
186128
+ action_attempt_id: string;
186129
+ status: 'pending';
186130
+ /** Result of the action attempt. Null for pending action attempts. */
186131
+ result: null;
186132
+ /** Errors associated with the action attempt. Null for pending action attempts. */
186133
+ error: null;
186134
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
186135
+ action_type: 'CONFIGURE_AUTO_LOCK';
186136
+ } | {
186137
+ /** ID of the action attempt. */
186138
+ action_attempt_id: string;
186139
+ status: 'success';
186140
+ /** Errors associated with the action attempt. Null for successful action attempts. */
186141
+ error: null;
186142
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
186143
+ action_type: 'CONFIGURE_AUTO_LOCK';
186144
+ /** Result of the action. */
186145
+ result: {};
186146
+ } | {
186147
+ /** ID of the action attempt. */
186148
+ action_attempt_id: string;
186149
+ status: 'error';
186150
+ /** Result of the action attempt. Null for failed action attempts. */
186151
+ result: null;
186152
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
186153
+ action_type: 'CONFIGURE_AUTO_LOCK';
186154
+ /** Error associated with the action. */
186155
+ error: {
186156
+ /** Type of the error. */
186157
+ type: string;
186158
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
186159
+ message: string;
186160
+ };
183899
186161
  } | {
183900
186162
  /** ID of the action attempt. */
183901
186163
  action_attempt_id: string;
@@ -184192,9 +186454,9 @@ type Routes = {
184192
186454
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
184193
186455
  page_cursor?: (string | undefined) | null;
184194
186456
  /** */
184195
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
186457
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
184196
186458
  /** */
184197
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
186459
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
184198
186460
  /**
184199
186461
  * @deprecated Use `space_id`.*/
184200
186462
  unstable_location_id?: (string | null) | undefined;
@@ -184581,6 +186843,8 @@ type Routes = {
184581
186843
  incomplete_keyboard_passcode: boolean;
184582
186844
  /** Indicates whether a TTLock device supports Wi-Fi. */
184583
186845
  wifi: boolean;
186846
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
186847
+ auto_lock_time_config: boolean;
184584
186848
  };
184585
186849
  /** Indicates whether a TTLock device has a gateway. */
184586
186850
  has_gateway?: boolean | undefined;
@@ -184870,6 +187134,10 @@ type Routes = {
184870
187134
  } | undefined) | undefined;
184871
187135
  /** Indicates whether the door is open. */
184872
187136
  door_open?: (boolean | undefined) | undefined;
187137
+ /** Indicates whether automatic locking is enabled. */
187138
+ auto_lock_enabled?: (boolean | undefined) | undefined;
187139
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
187140
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
184873
187141
  } & {
184874
187142
  /** Reported temperature in °F. */
184875
187143
  temperature_fahrenheit?: number | undefined;
@@ -185516,6 +187784,7 @@ type Routes = {
185516
187784
  can_simulate_hub_connection?: boolean | undefined;
185517
187785
  can_simulate_hub_disconnection?: boolean | undefined;
185518
187786
  can_simulate_paid_subscription?: boolean | undefined;
187787
+ can_configure_auto_lock?: boolean | undefined;
185519
187788
  }[];
185520
187789
  devices: {
185521
187790
  /** ID of the device. */
@@ -185893,6 +188162,8 @@ type Routes = {
185893
188162
  incomplete_keyboard_passcode: boolean;
185894
188163
  /** Indicates whether a TTLock device supports Wi-Fi. */
185895
188164
  wifi: boolean;
188165
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
188166
+ auto_lock_time_config: boolean;
185896
188167
  };
185897
188168
  /** Indicates whether a TTLock device has a gateway. */
185898
188169
  has_gateway?: boolean | undefined;
@@ -186182,6 +188453,10 @@ type Routes = {
186182
188453
  } | undefined) | undefined;
186183
188454
  /** Indicates whether the door is open. */
186184
188455
  door_open?: (boolean | undefined) | undefined;
188456
+ /** Indicates whether automatic locking is enabled. */
188457
+ auto_lock_enabled?: (boolean | undefined) | undefined;
188458
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
188459
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
186185
188460
  } & {
186186
188461
  /** Reported temperature in °F. */
186187
188462
  temperature_fahrenheit?: number | undefined;
@@ -186828,6 +189103,7 @@ type Routes = {
186828
189103
  can_simulate_hub_connection?: boolean | undefined;
186829
189104
  can_simulate_hub_disconnection?: boolean | undefined;
186830
189105
  can_simulate_paid_subscription?: boolean | undefined;
189106
+ can_configure_auto_lock?: boolean | undefined;
186831
189107
  }[];
186832
189108
  };
186833
189109
  maxDuration: undefined;
@@ -187858,6 +190134,41 @@ type Routes = {
187858
190134
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
187859
190135
  message: string;
187860
190136
  };
190137
+ } | {
190138
+ /** ID of the action attempt. */
190139
+ action_attempt_id: string;
190140
+ status: 'pending';
190141
+ /** Result of the action attempt. Null for pending action attempts. */
190142
+ result: null;
190143
+ /** Errors associated with the action attempt. Null for pending action attempts. */
190144
+ error: null;
190145
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
190146
+ action_type: 'CONFIGURE_AUTO_LOCK';
190147
+ } | {
190148
+ /** ID of the action attempt. */
190149
+ action_attempt_id: string;
190150
+ status: 'success';
190151
+ /** Errors associated with the action attempt. Null for successful action attempts. */
190152
+ error: null;
190153
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
190154
+ action_type: 'CONFIGURE_AUTO_LOCK';
190155
+ /** Result of the action. */
190156
+ result: {};
190157
+ } | {
190158
+ /** ID of the action attempt. */
190159
+ action_attempt_id: string;
190160
+ status: 'error';
190161
+ /** Result of the action attempt. Null for failed action attempts. */
190162
+ result: null;
190163
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
190164
+ action_type: 'CONFIGURE_AUTO_LOCK';
190165
+ /** Error associated with the action. */
190166
+ error: {
190167
+ /** Type of the error. */
190168
+ type: string;
190169
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
190170
+ message: string;
190171
+ };
187861
190172
  } | {
187862
190173
  /** ID of the action attempt. */
187863
190174
  action_attempt_id: string;
@@ -189154,6 +191465,41 @@ type Routes = {
189154
191465
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
189155
191466
  message: string;
189156
191467
  };
191468
+ } | {
191469
+ /** ID of the action attempt. */
191470
+ action_attempt_id: string;
191471
+ status: 'pending';
191472
+ /** Result of the action attempt. Null for pending action attempts. */
191473
+ result: null;
191474
+ /** Errors associated with the action attempt. Null for pending action attempts. */
191475
+ error: null;
191476
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
191477
+ action_type: 'CONFIGURE_AUTO_LOCK';
191478
+ } | {
191479
+ /** ID of the action attempt. */
191480
+ action_attempt_id: string;
191481
+ status: 'success';
191482
+ /** Errors associated with the action attempt. Null for successful action attempts. */
191483
+ error: null;
191484
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
191485
+ action_type: 'CONFIGURE_AUTO_LOCK';
191486
+ /** Result of the action. */
191487
+ result: {};
191488
+ } | {
191489
+ /** ID of the action attempt. */
191490
+ action_attempt_id: string;
191491
+ status: 'error';
191492
+ /** Result of the action attempt. Null for failed action attempts. */
191493
+ result: null;
191494
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
191495
+ action_type: 'CONFIGURE_AUTO_LOCK';
191496
+ /** Error associated with the action. */
191497
+ error: {
191498
+ /** Type of the error. */
191499
+ type: string;
191500
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
191501
+ message: string;
191502
+ };
189157
191503
  } | {
189158
191504
  /** ID of the action attempt. */
189159
191505
  action_attempt_id: string;
@@ -190506,6 +192852,41 @@ type Routes = {
190506
192852
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
190507
192853
  message: string;
190508
192854
  };
192855
+ } | {
192856
+ /** ID of the action attempt. */
192857
+ action_attempt_id: string;
192858
+ status: 'pending';
192859
+ /** Result of the action attempt. Null for pending action attempts. */
192860
+ result: null;
192861
+ /** Errors associated with the action attempt. Null for pending action attempts. */
192862
+ error: null;
192863
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
192864
+ action_type: 'CONFIGURE_AUTO_LOCK';
192865
+ } | {
192866
+ /** ID of the action attempt. */
192867
+ action_attempt_id: string;
192868
+ status: 'success';
192869
+ /** Errors associated with the action attempt. Null for successful action attempts. */
192870
+ error: null;
192871
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
192872
+ action_type: 'CONFIGURE_AUTO_LOCK';
192873
+ /** Result of the action. */
192874
+ result: {};
192875
+ } | {
192876
+ /** ID of the action attempt. */
192877
+ action_attempt_id: string;
192878
+ status: 'error';
192879
+ /** Result of the action attempt. Null for failed action attempts. */
192880
+ result: null;
192881
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
192882
+ action_type: 'CONFIGURE_AUTO_LOCK';
192883
+ /** Error associated with the action. */
192884
+ error: {
192885
+ /** Type of the error. */
192886
+ type: string;
192887
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
192888
+ message: string;
192889
+ };
190509
192890
  } | {
190510
192891
  /** ID of the action attempt. */
190511
192892
  action_attempt_id: string;
@@ -192752,6 +195133,41 @@ type Routes = {
192752
195133
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
192753
195134
  message: string;
192754
195135
  };
195136
+ } | {
195137
+ /** ID of the action attempt. */
195138
+ action_attempt_id: string;
195139
+ status: 'pending';
195140
+ /** Result of the action attempt. Null for pending action attempts. */
195141
+ result: null;
195142
+ /** Errors associated with the action attempt. Null for pending action attempts. */
195143
+ error: null;
195144
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
195145
+ action_type: 'CONFIGURE_AUTO_LOCK';
195146
+ } | {
195147
+ /** ID of the action attempt. */
195148
+ action_attempt_id: string;
195149
+ status: 'success';
195150
+ /** Errors associated with the action attempt. Null for successful action attempts. */
195151
+ error: null;
195152
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
195153
+ action_type: 'CONFIGURE_AUTO_LOCK';
195154
+ /** Result of the action. */
195155
+ result: {};
195156
+ } | {
195157
+ /** ID of the action attempt. */
195158
+ action_attempt_id: string;
195159
+ status: 'error';
195160
+ /** Result of the action attempt. Null for failed action attempts. */
195161
+ result: null;
195162
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
195163
+ action_type: 'CONFIGURE_AUTO_LOCK';
195164
+ /** Error associated with the action. */
195165
+ error: {
195166
+ /** Type of the error. */
195167
+ type: string;
195168
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
195169
+ message: string;
195170
+ };
192755
195171
  } | {
192756
195172
  /** ID of the action attempt. */
192757
195173
  action_attempt_id: string;
@@ -198641,6 +201057,8 @@ type Routes = {
198641
201057
  incomplete_keyboard_passcode: boolean;
198642
201058
  /** Indicates whether a TTLock device supports Wi-Fi. */
198643
201059
  wifi: boolean;
201060
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
201061
+ auto_lock_time_config: boolean;
198644
201062
  };
198645
201063
  /** Indicates whether a TTLock device has a gateway. */
198646
201064
  has_gateway?: boolean | undefined;
@@ -198930,6 +201348,10 @@ type Routes = {
198930
201348
  } | undefined) | undefined;
198931
201349
  /** Indicates whether the door is open. */
198932
201350
  door_open?: (boolean | undefined) | undefined;
201351
+ /** Indicates whether automatic locking is enabled. */
201352
+ auto_lock_enabled?: (boolean | undefined) | undefined;
201353
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
201354
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
198933
201355
  } & {
198934
201356
  /** Reported temperature in °F. */
198935
201357
  temperature_fahrenheit?: number | undefined;
@@ -199576,6 +201998,7 @@ type Routes = {
199576
201998
  can_simulate_hub_connection?: boolean | undefined;
199577
201999
  can_simulate_hub_disconnection?: boolean | undefined;
199578
202000
  can_simulate_paid_subscription?: boolean | undefined;
202001
+ can_configure_auto_lock?: boolean | undefined;
199579
202002
  }[] | undefined;
199580
202003
  acs_entrances?: {
199581
202004
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -201213,6 +203636,41 @@ type Routes = {
201213
203636
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
201214
203637
  message: string;
201215
203638
  };
203639
+ } | {
203640
+ /** ID of the action attempt. */
203641
+ action_attempt_id: string;
203642
+ status: 'pending';
203643
+ /** Result of the action attempt. Null for pending action attempts. */
203644
+ result: null;
203645
+ /** Errors associated with the action attempt. Null for pending action attempts. */
203646
+ error: null;
203647
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
203648
+ action_type: 'CONFIGURE_AUTO_LOCK';
203649
+ } | {
203650
+ /** ID of the action attempt. */
203651
+ action_attempt_id: string;
203652
+ status: 'success';
203653
+ /** Errors associated with the action attempt. Null for successful action attempts. */
203654
+ error: null;
203655
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
203656
+ action_type: 'CONFIGURE_AUTO_LOCK';
203657
+ /** Result of the action. */
203658
+ result: {};
203659
+ } | {
203660
+ /** ID of the action attempt. */
203661
+ action_attempt_id: string;
203662
+ status: 'error';
203663
+ /** Result of the action attempt. Null for failed action attempts. */
203664
+ result: null;
203665
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
203666
+ action_type: 'CONFIGURE_AUTO_LOCK';
203667
+ /** Error associated with the action. */
203668
+ error: {
203669
+ /** Type of the error. */
203670
+ type: string;
203671
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
203672
+ message: string;
203673
+ };
201216
203674
  } | {
201217
203675
  /** ID of the action attempt. */
201218
203676
  action_attempt_id: string;
@@ -202494,6 +204952,41 @@ type Routes = {
202494
204952
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
202495
204953
  message: string;
202496
204954
  };
204955
+ } | {
204956
+ /** ID of the action attempt. */
204957
+ action_attempt_id: string;
204958
+ status: 'pending';
204959
+ /** Result of the action attempt. Null for pending action attempts. */
204960
+ result: null;
204961
+ /** Errors associated with the action attempt. Null for pending action attempts. */
204962
+ error: null;
204963
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
204964
+ action_type: 'CONFIGURE_AUTO_LOCK';
204965
+ } | {
204966
+ /** ID of the action attempt. */
204967
+ action_attempt_id: string;
204968
+ status: 'success';
204969
+ /** Errors associated with the action attempt. Null for successful action attempts. */
204970
+ error: null;
204971
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
204972
+ action_type: 'CONFIGURE_AUTO_LOCK';
204973
+ /** Result of the action. */
204974
+ result: {};
204975
+ } | {
204976
+ /** ID of the action attempt. */
204977
+ action_attempt_id: string;
204978
+ status: 'error';
204979
+ /** Result of the action attempt. Null for failed action attempts. */
204980
+ result: null;
204981
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
204982
+ action_type: 'CONFIGURE_AUTO_LOCK';
204983
+ /** Error associated with the action. */
204984
+ error: {
204985
+ /** Type of the error. */
204986
+ type: string;
204987
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
204988
+ message: string;
204989
+ };
202497
204990
  } | {
202498
204991
  /** ID of the action attempt. */
202499
204992
  action_attempt_id: string;
@@ -203881,6 +206374,41 @@ type Routes = {
203881
206374
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
203882
206375
  message: string;
203883
206376
  };
206377
+ } | {
206378
+ /** ID of the action attempt. */
206379
+ action_attempt_id: string;
206380
+ status: 'pending';
206381
+ /** Result of the action attempt. Null for pending action attempts. */
206382
+ result: null;
206383
+ /** Errors associated with the action attempt. Null for pending action attempts. */
206384
+ error: null;
206385
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
206386
+ action_type: 'CONFIGURE_AUTO_LOCK';
206387
+ } | {
206388
+ /** ID of the action attempt. */
206389
+ action_attempt_id: string;
206390
+ status: 'success';
206391
+ /** Errors associated with the action attempt. Null for successful action attempts. */
206392
+ error: null;
206393
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
206394
+ action_type: 'CONFIGURE_AUTO_LOCK';
206395
+ /** Result of the action. */
206396
+ result: {};
206397
+ } | {
206398
+ /** ID of the action attempt. */
206399
+ action_attempt_id: string;
206400
+ status: 'error';
206401
+ /** Result of the action attempt. Null for failed action attempts. */
206402
+ result: null;
206403
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
206404
+ action_type: 'CONFIGURE_AUTO_LOCK';
206405
+ /** Error associated with the action. */
206406
+ error: {
206407
+ /** Type of the error. */
206408
+ type: string;
206409
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
206410
+ message: string;
206411
+ };
203884
206412
  } | {
203885
206413
  /** ID of the action attempt. */
203886
206414
  action_attempt_id: string;
@@ -204547,6 +207075,8 @@ type Routes = {
204547
207075
  incomplete_keyboard_passcode: boolean;
204548
207076
  /** Indicates whether a TTLock device supports Wi-Fi. */
204549
207077
  wifi: boolean;
207078
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
207079
+ auto_lock_time_config: boolean;
204550
207080
  };
204551
207081
  /** Indicates whether a TTLock device has a gateway. */
204552
207082
  has_gateway?: boolean | undefined;
@@ -204836,6 +207366,10 @@ type Routes = {
204836
207366
  } | undefined) | undefined;
204837
207367
  /** Indicates whether the door is open. */
204838
207368
  door_open?: (boolean | undefined) | undefined;
207369
+ /** Indicates whether automatic locking is enabled. */
207370
+ auto_lock_enabled?: (boolean | undefined) | undefined;
207371
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
207372
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
204839
207373
  } & {
204840
207374
  /** Reported temperature in °F. */
204841
207375
  temperature_fahrenheit?: number | undefined;
@@ -205482,6 +208016,7 @@ type Routes = {
205482
208016
  can_simulate_hub_connection?: boolean | undefined;
205483
208017
  can_simulate_hub_disconnection?: boolean | undefined;
205484
208018
  can_simulate_paid_subscription?: boolean | undefined;
208019
+ can_configure_auto_lock?: boolean | undefined;
205485
208020
  };
205486
208021
  };
205487
208022
  maxDuration: undefined;
@@ -206506,6 +209041,41 @@ type Routes = {
206506
209041
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
206507
209042
  message: string;
206508
209043
  };
209044
+ } | {
209045
+ /** ID of the action attempt. */
209046
+ action_attempt_id: string;
209047
+ status: 'pending';
209048
+ /** Result of the action attempt. Null for pending action attempts. */
209049
+ result: null;
209050
+ /** Errors associated with the action attempt. Null for pending action attempts. */
209051
+ error: null;
209052
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
209053
+ action_type: 'CONFIGURE_AUTO_LOCK';
209054
+ } | {
209055
+ /** ID of the action attempt. */
209056
+ action_attempt_id: string;
209057
+ status: 'success';
209058
+ /** Errors associated with the action attempt. Null for successful action attempts. */
209059
+ error: null;
209060
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
209061
+ action_type: 'CONFIGURE_AUTO_LOCK';
209062
+ /** Result of the action. */
209063
+ result: {};
209064
+ } | {
209065
+ /** ID of the action attempt. */
209066
+ action_attempt_id: string;
209067
+ status: 'error';
209068
+ /** Result of the action attempt. Null for failed action attempts. */
209069
+ result: null;
209070
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
209071
+ action_type: 'CONFIGURE_AUTO_LOCK';
209072
+ /** Error associated with the action. */
209073
+ error: {
209074
+ /** Type of the error. */
209075
+ type: string;
209076
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
209077
+ message: string;
209078
+ };
206509
209079
  } | {
206510
209080
  /** ID of the action attempt. */
206511
209081
  action_attempt_id: string;
@@ -207791,6 +210361,41 @@ type Routes = {
207791
210361
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
207792
210362
  message: string;
207793
210363
  };
210364
+ } | {
210365
+ /** ID of the action attempt. */
210366
+ action_attempt_id: string;
210367
+ status: 'pending';
210368
+ /** Result of the action attempt. Null for pending action attempts. */
210369
+ result: null;
210370
+ /** Errors associated with the action attempt. Null for pending action attempts. */
210371
+ error: null;
210372
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
210373
+ action_type: 'CONFIGURE_AUTO_LOCK';
210374
+ } | {
210375
+ /** ID of the action attempt. */
210376
+ action_attempt_id: string;
210377
+ status: 'success';
210378
+ /** Errors associated with the action attempt. Null for successful action attempts. */
210379
+ error: null;
210380
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
210381
+ action_type: 'CONFIGURE_AUTO_LOCK';
210382
+ /** Result of the action. */
210383
+ result: {};
210384
+ } | {
210385
+ /** ID of the action attempt. */
210386
+ action_attempt_id: string;
210387
+ status: 'error';
210388
+ /** Result of the action attempt. Null for failed action attempts. */
210389
+ result: null;
210390
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
210391
+ action_type: 'CONFIGURE_AUTO_LOCK';
210392
+ /** Error associated with the action. */
210393
+ error: {
210394
+ /** Type of the error. */
210395
+ type: string;
210396
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
210397
+ message: string;
210398
+ };
207794
210399
  } | {
207795
210400
  /** ID of the action attempt. */
207796
210401
  action_attempt_id: string;
@@ -208087,9 +210692,9 @@ type Routes = {
208087
210692
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
208088
210693
  page_cursor?: (string | undefined) | null;
208089
210694
  /** */
208090
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
210695
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
208091
210696
  /** */
208092
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
210697
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_program_thermostat_programs_as_weekday_weekend' | 'can_program_thermostat_programs_as_different_each_day' | 'can_program_thermostat_programs_as_same_each_day' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription' | 'can_configure_auto_lock')[] | undefined;
208093
210698
  /**
208094
210699
  * @deprecated Use `space_id`.*/
208095
210700
  unstable_location_id?: (string | null) | undefined;
@@ -208476,6 +211081,8 @@ type Routes = {
208476
211081
  incomplete_keyboard_passcode: boolean;
208477
211082
  /** Indicates whether a TTLock device supports Wi-Fi. */
208478
211083
  wifi: boolean;
211084
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
211085
+ auto_lock_time_config: boolean;
208479
211086
  };
208480
211087
  /** Indicates whether a TTLock device has a gateway. */
208481
211088
  has_gateway?: boolean | undefined;
@@ -208765,6 +211372,10 @@ type Routes = {
208765
211372
  } | undefined) | undefined;
208766
211373
  /** Indicates whether the door is open. */
208767
211374
  door_open?: (boolean | undefined) | undefined;
211375
+ /** Indicates whether automatic locking is enabled. */
211376
+ auto_lock_enabled?: (boolean | undefined) | undefined;
211377
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
211378
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
208768
211379
  } & {
208769
211380
  /** Reported temperature in °F. */
208770
211381
  temperature_fahrenheit?: number | undefined;
@@ -209411,6 +212022,7 @@ type Routes = {
209411
212022
  can_simulate_hub_connection?: boolean | undefined;
209412
212023
  can_simulate_hub_disconnection?: boolean | undefined;
209413
212024
  can_simulate_paid_subscription?: boolean | undefined;
212025
+ can_configure_auto_lock?: boolean | undefined;
209414
212026
  }[];
209415
212027
  devices: {
209416
212028
  /** ID of the device. */
@@ -209788,6 +212400,8 @@ type Routes = {
209788
212400
  incomplete_keyboard_passcode: boolean;
209789
212401
  /** Indicates whether a TTLock device supports Wi-Fi. */
209790
212402
  wifi: boolean;
212403
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
212404
+ auto_lock_time_config: boolean;
209791
212405
  };
209792
212406
  /** Indicates whether a TTLock device has a gateway. */
209793
212407
  has_gateway?: boolean | undefined;
@@ -210077,6 +212691,10 @@ type Routes = {
210077
212691
  } | undefined) | undefined;
210078
212692
  /** Indicates whether the door is open. */
210079
212693
  door_open?: (boolean | undefined) | undefined;
212694
+ /** Indicates whether automatic locking is enabled. */
212695
+ auto_lock_enabled?: (boolean | undefined) | undefined;
212696
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
212697
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
210080
212698
  } & {
210081
212699
  /** Reported temperature in °F. */
210082
212700
  temperature_fahrenheit?: number | undefined;
@@ -210723,6 +213341,7 @@ type Routes = {
210723
213341
  can_simulate_hub_connection?: boolean | undefined;
210724
213342
  can_simulate_hub_disconnection?: boolean | undefined;
210725
213343
  can_simulate_paid_subscription?: boolean | undefined;
213344
+ can_configure_auto_lock?: boolean | undefined;
210726
213345
  }[];
210727
213346
  };
210728
213347
  maxDuration: undefined;
@@ -211743,6 +214362,41 @@ type Routes = {
211743
214362
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
211744
214363
  message: string;
211745
214364
  };
214365
+ } | {
214366
+ /** ID of the action attempt. */
214367
+ action_attempt_id: string;
214368
+ status: 'pending';
214369
+ /** Result of the action attempt. Null for pending action attempts. */
214370
+ result: null;
214371
+ /** Errors associated with the action attempt. Null for pending action attempts. */
214372
+ error: null;
214373
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
214374
+ action_type: 'CONFIGURE_AUTO_LOCK';
214375
+ } | {
214376
+ /** ID of the action attempt. */
214377
+ action_attempt_id: string;
214378
+ status: 'success';
214379
+ /** Errors associated with the action attempt. Null for successful action attempts. */
214380
+ error: null;
214381
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
214382
+ action_type: 'CONFIGURE_AUTO_LOCK';
214383
+ /** Result of the action. */
214384
+ result: {};
214385
+ } | {
214386
+ /** ID of the action attempt. */
214387
+ action_attempt_id: string;
214388
+ status: 'error';
214389
+ /** Result of the action attempt. Null for failed action attempts. */
214390
+ result: null;
214391
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
214392
+ action_type: 'CONFIGURE_AUTO_LOCK';
214393
+ /** Error associated with the action. */
214394
+ error: {
214395
+ /** Type of the error. */
214396
+ type: string;
214397
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
214398
+ message: string;
214399
+ };
211746
214400
  } | {
211747
214401
  /** ID of the action attempt. */
211748
214402
  action_attempt_id: string;
@@ -213223,6 +215877,41 @@ type Routes = {
213223
215877
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
213224
215878
  message: string;
213225
215879
  };
215880
+ } | {
215881
+ /** ID of the action attempt. */
215882
+ action_attempt_id: string;
215883
+ status: 'pending';
215884
+ /** Result of the action attempt. Null for pending action attempts. */
215885
+ result: null;
215886
+ /** Errors associated with the action attempt. Null for pending action attempts. */
215887
+ error: null;
215888
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
215889
+ action_type: 'CONFIGURE_AUTO_LOCK';
215890
+ } | {
215891
+ /** ID of the action attempt. */
215892
+ action_attempt_id: string;
215893
+ status: 'success';
215894
+ /** Errors associated with the action attempt. Null for successful action attempts. */
215895
+ error: null;
215896
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
215897
+ action_type: 'CONFIGURE_AUTO_LOCK';
215898
+ /** Result of the action. */
215899
+ result: {};
215900
+ } | {
215901
+ /** ID of the action attempt. */
215902
+ action_attempt_id: string;
215903
+ status: 'error';
215904
+ /** Result of the action attempt. Null for failed action attempts. */
215905
+ result: null;
215906
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
215907
+ action_type: 'CONFIGURE_AUTO_LOCK';
215908
+ /** Error associated with the action. */
215909
+ error: {
215910
+ /** Type of the error. */
215911
+ type: string;
215912
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
215913
+ message: string;
215914
+ };
213226
215915
  } | {
213227
215916
  /** ID of the action attempt. */
213228
215917
  action_attempt_id: string;
@@ -214531,6 +217220,41 @@ type Routes = {
214531
217220
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
214532
217221
  message: string;
214533
217222
  };
217223
+ } | {
217224
+ /** ID of the action attempt. */
217225
+ action_attempt_id: string;
217226
+ status: 'pending';
217227
+ /** Result of the action attempt. Null for pending action attempts. */
217228
+ result: null;
217229
+ /** Errors associated with the action attempt. Null for pending action attempts. */
217230
+ error: null;
217231
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
217232
+ action_type: 'CONFIGURE_AUTO_LOCK';
217233
+ } | {
217234
+ /** ID of the action attempt. */
217235
+ action_attempt_id: string;
217236
+ status: 'success';
217237
+ /** Errors associated with the action attempt. Null for successful action attempts. */
217238
+ error: null;
217239
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
217240
+ action_type: 'CONFIGURE_AUTO_LOCK';
217241
+ /** Result of the action. */
217242
+ result: {};
217243
+ } | {
217244
+ /** ID of the action attempt. */
217245
+ action_attempt_id: string;
217246
+ status: 'error';
217247
+ /** Result of the action attempt. Null for failed action attempts. */
217248
+ result: null;
217249
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
217250
+ action_type: 'CONFIGURE_AUTO_LOCK';
217251
+ /** Error associated with the action. */
217252
+ error: {
217253
+ /** Type of the error. */
217254
+ type: string;
217255
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
217256
+ message: string;
217257
+ };
214534
217258
  } | {
214535
217259
  /** ID of the action attempt. */
214536
217260
  action_attempt_id: string;
@@ -215951,6 +218675,41 @@ type Routes = {
215951
218675
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
215952
218676
  message: string;
215953
218677
  };
218678
+ } | {
218679
+ /** ID of the action attempt. */
218680
+ action_attempt_id: string;
218681
+ status: 'pending';
218682
+ /** Result of the action attempt. Null for pending action attempts. */
218683
+ result: null;
218684
+ /** Errors associated with the action attempt. Null for pending action attempts. */
218685
+ error: null;
218686
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
218687
+ action_type: 'CONFIGURE_AUTO_LOCK';
218688
+ } | {
218689
+ /** ID of the action attempt. */
218690
+ action_attempt_id: string;
218691
+ status: 'success';
218692
+ /** Errors associated with the action attempt. Null for successful action attempts. */
218693
+ error: null;
218694
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
218695
+ action_type: 'CONFIGURE_AUTO_LOCK';
218696
+ /** Result of the action. */
218697
+ result: {};
218698
+ } | {
218699
+ /** ID of the action attempt. */
218700
+ action_attempt_id: string;
218701
+ status: 'error';
218702
+ /** Result of the action attempt. Null for failed action attempts. */
218703
+ result: null;
218704
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
218705
+ action_type: 'CONFIGURE_AUTO_LOCK';
218706
+ /** Error associated with the action. */
218707
+ error: {
218708
+ /** Type of the error. */
218709
+ type: string;
218710
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
218711
+ message: string;
218712
+ };
215954
218713
  } | {
215955
218714
  /** ID of the action attempt. */
215956
218715
  action_attempt_id: string;
@@ -217146,6 +219905,8 @@ type Routes = {
217146
219905
  incomplete_keyboard_passcode: boolean;
217147
219906
  /** Indicates whether a TTLock device supports Wi-Fi. */
217148
219907
  wifi: boolean;
219908
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
219909
+ auto_lock_time_config: boolean;
217149
219910
  };
217150
219911
  /** Indicates whether a TTLock device has a gateway. */
217151
219912
  has_gateway?: boolean | undefined;
@@ -217435,6 +220196,10 @@ type Routes = {
217435
220196
  } | undefined) | undefined;
217436
220197
  /** Indicates whether the door is open. */
217437
220198
  door_open?: (boolean | undefined) | undefined;
220199
+ /** Indicates whether automatic locking is enabled. */
220200
+ auto_lock_enabled?: (boolean | undefined) | undefined;
220201
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
220202
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
217438
220203
  } & {
217439
220204
  /** Reported temperature in °F. */
217440
220205
  temperature_fahrenheit?: number | undefined;
@@ -218081,6 +220846,7 @@ type Routes = {
218081
220846
  can_simulate_hub_connection?: boolean | undefined;
218082
220847
  can_simulate_hub_disconnection?: boolean | undefined;
218083
220848
  can_simulate_paid_subscription?: boolean | undefined;
220849
+ can_configure_auto_lock?: boolean | undefined;
218084
220850
  }[];
218085
220851
  /**
218086
220852
  * @deprecated Use devices.*/
@@ -218460,6 +221226,8 @@ type Routes = {
218460
221226
  incomplete_keyboard_passcode: boolean;
218461
221227
  /** Indicates whether a TTLock device supports Wi-Fi. */
218462
221228
  wifi: boolean;
221229
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
221230
+ auto_lock_time_config: boolean;
218463
221231
  };
218464
221232
  /** Indicates whether a TTLock device has a gateway. */
218465
221233
  has_gateway?: boolean | undefined;
@@ -218749,6 +221517,10 @@ type Routes = {
218749
221517
  } | undefined) | undefined;
218750
221518
  /** Indicates whether the door is open. */
218751
221519
  door_open?: (boolean | undefined) | undefined;
221520
+ /** Indicates whether automatic locking is enabled. */
221521
+ auto_lock_enabled?: (boolean | undefined) | undefined;
221522
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
221523
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
218752
221524
  } & {
218753
221525
  /** Reported temperature in °F. */
218754
221526
  temperature_fahrenheit?: number | undefined;
@@ -219395,6 +222167,7 @@ type Routes = {
219395
222167
  can_simulate_hub_connection?: boolean | undefined;
219396
222168
  can_simulate_hub_disconnection?: boolean | undefined;
219397
222169
  can_simulate_paid_subscription?: boolean | undefined;
222170
+ can_configure_auto_lock?: boolean | undefined;
219398
222171
  }[];
219399
222172
  };
219400
222173
  maxDuration: undefined;
@@ -220752,6 +223525,8 @@ type Routes = {
220752
223525
  incomplete_keyboard_passcode: boolean;
220753
223526
  /** Indicates whether a TTLock device supports Wi-Fi. */
220754
223527
  wifi: boolean;
223528
+ /** Indicates whether a TTLock device supports auto-lock time configuration. */
223529
+ auto_lock_time_config: boolean;
220755
223530
  };
220756
223531
  /** Indicates whether a TTLock device has a gateway. */
220757
223532
  has_gateway?: boolean | undefined;
@@ -221041,6 +223816,10 @@ type Routes = {
221041
223816
  } | undefined) | undefined;
221042
223817
  /** Indicates whether the door is open. */
221043
223818
  door_open?: (boolean | undefined) | undefined;
223819
+ /** Indicates whether automatic locking is enabled. */
223820
+ auto_lock_enabled?: (boolean | undefined) | undefined;
223821
+ /** The delay in seconds before the lock automatically locks after being unlocked. */
223822
+ auto_lock_delay_seconds?: (number | undefined) | undefined;
221044
223823
  } & {
221045
223824
  /** Reported temperature in °F. */
221046
223825
  temperature_fahrenheit?: number | undefined;
@@ -221687,6 +224466,7 @@ type Routes = {
221687
224466
  can_simulate_hub_connection?: boolean | undefined;
221688
224467
  can_simulate_hub_disconnection?: boolean | undefined;
221689
224468
  can_simulate_paid_subscription?: boolean | undefined;
224469
+ can_configure_auto_lock?: boolean | undefined;
221690
224470
  }[] | undefined;
221691
224471
  acs_entrances?: {
221692
224472
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -223348,6 +226128,41 @@ type Routes = {
223348
226128
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
223349
226129
  message: string;
223350
226130
  };
226131
+ } | {
226132
+ /** ID of the action attempt. */
226133
+ action_attempt_id: string;
226134
+ status: 'pending';
226135
+ /** Result of the action attempt. Null for pending action attempts. */
226136
+ result: null;
226137
+ /** Errors associated with the action attempt. Null for pending action attempts. */
226138
+ error: null;
226139
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
226140
+ action_type: 'CONFIGURE_AUTO_LOCK';
226141
+ } | {
226142
+ /** ID of the action attempt. */
226143
+ action_attempt_id: string;
226144
+ status: 'success';
226145
+ /** Errors associated with the action attempt. Null for successful action attempts. */
226146
+ error: null;
226147
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
226148
+ action_type: 'CONFIGURE_AUTO_LOCK';
226149
+ /** Result of the action. */
226150
+ result: {};
226151
+ } | {
226152
+ /** ID of the action attempt. */
226153
+ action_attempt_id: string;
226154
+ status: 'error';
226155
+ /** Result of the action attempt. Null for failed action attempts. */
226156
+ result: null;
226157
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
226158
+ action_type: 'CONFIGURE_AUTO_LOCK';
226159
+ /** Error associated with the action. */
226160
+ error: {
226161
+ /** Type of the error. */
226162
+ type: string;
226163
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
226164
+ message: string;
226165
+ };
223351
226166
  } | {
223352
226167
  /** ID of the action attempt. */
223353
226168
  action_attempt_id: string;
@@ -224451,6 +227266,7 @@ type Routes = {
224451
227266
  can_simulate_hub_connection?: boolean | undefined;
224452
227267
  can_simulate_hub_disconnection?: boolean | undefined;
224453
227268
  can_simulate_paid_subscription?: boolean | undefined;
227269
+ can_configure_auto_lock?: boolean | undefined;
224454
227270
  }[] | undefined;
224455
227271
  connect_webviews?: {
224456
227272
  /** ID of the Connect Webview. */
@@ -230153,6 +232969,41 @@ type Routes = {
230153
232969
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
230154
232970
  message: string;
230155
232971
  };
232972
+ } | {
232973
+ /** ID of the action attempt. */
232974
+ action_attempt_id: string;
232975
+ status: 'pending';
232976
+ /** Result of the action attempt. Null for pending action attempts. */
232977
+ result: null;
232978
+ /** Errors associated with the action attempt. Null for pending action attempts. */
232979
+ error: null;
232980
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
232981
+ action_type: 'CONFIGURE_AUTO_LOCK';
232982
+ } | {
232983
+ /** ID of the action attempt. */
232984
+ action_attempt_id: string;
232985
+ status: 'success';
232986
+ /** Errors associated with the action attempt. Null for successful action attempts. */
232987
+ error: null;
232988
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
232989
+ action_type: 'CONFIGURE_AUTO_LOCK';
232990
+ /** Result of the action. */
232991
+ result: {};
232992
+ } | {
232993
+ /** ID of the action attempt. */
232994
+ action_attempt_id: string;
232995
+ status: 'error';
232996
+ /** Result of the action attempt. Null for failed action attempts. */
232997
+ result: null;
232998
+ /** Action attempt to track the status of configuring the auto-lock on a lock. */
232999
+ action_type: 'CONFIGURE_AUTO_LOCK';
233000
+ /** Error associated with the action. */
233001
+ error: {
233002
+ /** Type of the error. */
233003
+ type: string;
233004
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
233005
+ message: string;
233006
+ };
230156
233007
  } | {
230157
233008
  /** ID of the action attempt. */
230158
233009
  action_attempt_id: string;