@seamapi/types 1.766.0 → 1.768.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 (42) hide show
  1. package/dist/connect.cjs +410 -130
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2887 -10
  4. package/dist/index.cjs +410 -130
  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/customer/customer-portal.js +6 -2
  14. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  15. package/lib/seam/connect/models/customer/user-identity-resources.js +1 -0
  16. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
  17. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -0
  18. package/lib/seam/connect/models/devices/capability-properties/lock.d.ts +6 -0
  19. package/lib/seam/connect/models/devices/capability-properties/lock.js +12 -0
  20. package/lib/seam/connect/models/devices/capability-properties/lock.js.map +1 -1
  21. package/lib/seam/connect/models/devices/device-metadata.d.ts +7 -0
  22. package/lib/seam/connect/models/devices/device-metadata.js +3 -0
  23. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
  25. package/lib/seam/connect/models/devices/device.d.ts +25 -0
  26. package/lib/seam/connect/models/devices/device.js +1 -0
  27. package/lib/seam/connect/models/devices/device.js.map +1 -1
  28. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +17 -0
  29. package/lib/seam/connect/openapi.d.ts +142 -0
  30. package/lib/seam/connect/openapi.js +239 -0
  31. package/lib/seam/connect/openapi.js.map +1 -1
  32. package/lib/seam/connect/route-types.d.ts +2758 -306
  33. package/package.json +1 -1
  34. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  35. package/src/lib/seam/connect/models/action-attempts/configure-auto-lock.ts +46 -0
  36. package/src/lib/seam/connect/models/customer/customer-portal.ts +6 -4
  37. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +1 -0
  38. package/src/lib/seam/connect/models/devices/capability-properties/lock.ts +12 -0
  39. package/src/lib/seam/connect/models/devices/device-metadata.ts +5 -0
  40. package/src/lib/seam/connect/models/devices/device.ts +1 -0
  41. package/src/lib/seam/connect/openapi.ts +264 -0
  42. package/src/lib/seam/connect/route-types.ts +3085 -330
@@ -3277,6 +3277,81 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3277
3277
  status: z.ZodLiteral<"pending">;
3278
3278
  result: z.ZodNull;
3279
3279
  error: z.ZodNull;
3280
+ } & {
3281
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
3282
+ }, "strip", z.ZodTypeAny, {
3283
+ status: "pending";
3284
+ action_attempt_id: string;
3285
+ error: null;
3286
+ result: null;
3287
+ action_type: "CONFIGURE_AUTO_LOCK";
3288
+ }, {
3289
+ status: "pending";
3290
+ action_attempt_id: string;
3291
+ error: null;
3292
+ result: null;
3293
+ action_type: "CONFIGURE_AUTO_LOCK";
3294
+ }>, z.ZodObject<{
3295
+ action_attempt_id: z.ZodString;
3296
+ } & {
3297
+ status: z.ZodLiteral<"success">;
3298
+ error: z.ZodNull;
3299
+ } & {
3300
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
3301
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3302
+ }, "strip", z.ZodTypeAny, {
3303
+ status: "success";
3304
+ action_attempt_id: string;
3305
+ error: null;
3306
+ result: {};
3307
+ action_type: "CONFIGURE_AUTO_LOCK";
3308
+ }, {
3309
+ status: "success";
3310
+ action_attempt_id: string;
3311
+ error: null;
3312
+ result: {};
3313
+ action_type: "CONFIGURE_AUTO_LOCK";
3314
+ }>, z.ZodObject<{
3315
+ action_attempt_id: z.ZodString;
3316
+ } & {
3317
+ status: z.ZodLiteral<"error">;
3318
+ result: z.ZodNull;
3319
+ } & {
3320
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
3321
+ error: z.ZodObject<{
3322
+ type: z.ZodString;
3323
+ message: z.ZodString;
3324
+ }, "strip", z.ZodTypeAny, {
3325
+ message: string;
3326
+ type: string;
3327
+ }, {
3328
+ message: string;
3329
+ type: string;
3330
+ }>;
3331
+ }, "strip", z.ZodTypeAny, {
3332
+ status: "error";
3333
+ action_attempt_id: string;
3334
+ error: {
3335
+ message: string;
3336
+ type: string;
3337
+ };
3338
+ result: null;
3339
+ action_type: "CONFIGURE_AUTO_LOCK";
3340
+ }, {
3341
+ status: "error";
3342
+ action_attempt_id: string;
3343
+ error: {
3344
+ message: string;
3345
+ type: string;
3346
+ };
3347
+ result: null;
3348
+ action_type: "CONFIGURE_AUTO_LOCK";
3349
+ }>, z.ZodObject<{
3350
+ action_attempt_id: z.ZodString;
3351
+ } & {
3352
+ status: z.ZodLiteral<"pending">;
3353
+ result: z.ZodNull;
3354
+ error: z.ZodNull;
3280
3355
  } & {
3281
3356
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
3282
3357
  }, "strip", z.ZodTypeAny, {
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { activate_climate_preset_action_attempt } from './activate-climate-preset.js';
3
+ import { configure_auto_lock_action_attempt } from './configure-auto-lock.js';
3
4
  import { deprecated_action_attempts } from './deprecated.js';
4
5
  import { encode_credential_action_attempt } from './encode-credential.js';
5
6
  import { lock_door_action_attempt } from './lock-door.js';
@@ -23,6 +24,7 @@ export const action_attempt = z.union([
23
24
  ...simulate_keypad_code_entry_action_attempt.options,
24
25
  ...simulate_manual_lock_via_keypad_action_attempt.options,
25
26
  ...push_thermostat_programs_action_attempt.options,
27
+ ...configure_auto_lock_action_attempt.options,
26
28
  ...deprecated_action_attempts,
27
29
  ]).describe(`
28
30
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAA;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAA;AAC3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,sCAAsC,CAAA;AACrG,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,yCAAyC,CAAC,OAAO;IACpD,GAAG,8CAA8C,CAAC,OAAO;IACzD,GAAG,uCAAuC,CAAC,OAAO;IAClD,GAAG,0BAA0B;CAC9B,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;CASX,CAAC,CAAA"}
1
+ {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAA;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAA;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAA;AAC3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,sCAAsC,CAAA;AACrG,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,yCAAyC,CAAC,OAAO;IACpD,GAAG,8CAA8C,CAAC,OAAO;IACzD,GAAG,uCAAuC,CAAC,OAAO;IAClD,GAAG,kCAAkC,CAAC,OAAO;IAC7C,GAAG,0BAA0B;CAC9B,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;CASX,CAAC,CAAA"}
@@ -0,0 +1,77 @@
1
+ import { z } from 'zod';
2
+ export declare const configure_auto_lock_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
+ action_attempt_id: z.ZodString;
4
+ } & {
5
+ status: z.ZodLiteral<"pending">;
6
+ result: z.ZodNull;
7
+ error: z.ZodNull;
8
+ } & {
9
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
10
+ }, "strip", z.ZodTypeAny, {
11
+ status: "pending";
12
+ action_attempt_id: string;
13
+ error: null;
14
+ result: null;
15
+ action_type: "CONFIGURE_AUTO_LOCK";
16
+ }, {
17
+ status: "pending";
18
+ action_attempt_id: string;
19
+ error: null;
20
+ result: null;
21
+ action_type: "CONFIGURE_AUTO_LOCK";
22
+ }>, z.ZodObject<{
23
+ action_attempt_id: z.ZodString;
24
+ } & {
25
+ status: z.ZodLiteral<"success">;
26
+ error: z.ZodNull;
27
+ } & {
28
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
29
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ status: "success";
32
+ action_attempt_id: string;
33
+ error: null;
34
+ result: {};
35
+ action_type: "CONFIGURE_AUTO_LOCK";
36
+ }, {
37
+ status: "success";
38
+ action_attempt_id: string;
39
+ error: null;
40
+ result: {};
41
+ action_type: "CONFIGURE_AUTO_LOCK";
42
+ }>, z.ZodObject<{
43
+ action_attempt_id: z.ZodString;
44
+ } & {
45
+ status: z.ZodLiteral<"error">;
46
+ result: z.ZodNull;
47
+ } & {
48
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
49
+ error: z.ZodObject<{
50
+ type: z.ZodString;
51
+ message: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ message: string;
54
+ type: string;
55
+ }, {
56
+ message: string;
57
+ type: string;
58
+ }>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ status: "error";
61
+ action_attempt_id: string;
62
+ error: {
63
+ message: string;
64
+ type: string;
65
+ };
66
+ result: null;
67
+ action_type: "CONFIGURE_AUTO_LOCK";
68
+ }, {
69
+ status: "error";
70
+ action_attempt_id: string;
71
+ error: {
72
+ message: string;
73
+ type: string;
74
+ };
75
+ result: null;
76
+ action_type: "CONFIGURE_AUTO_LOCK";
77
+ }>]>;
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
3
+ const action_type = z
4
+ .literal('CONFIGURE_AUTO_LOCK')
5
+ .describe('Action attempt to track the status of configuring the auto-lock on a lock.');
6
+ const error = z
7
+ .object({
8
+ type: z.string().describe('Type of the error.'),
9
+ message: z
10
+ .string()
11
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
12
+ })
13
+ .describe('Error associated with the action.');
14
+ const result = z.object({}).describe('Result of the action.');
15
+ export const configure_auto_lock_action_attempt = z.discriminatedUnion('status', [
16
+ common_pending_action_attempt
17
+ .extend({
18
+ action_type,
19
+ })
20
+ .describe('Configuring the auto-lock is pending.'),
21
+ common_succeeded_action_attempt
22
+ .extend({
23
+ action_type,
24
+ result,
25
+ })
26
+ .describe('Configuring the auto-lock succeeded.'),
27
+ common_failed_action_attempt
28
+ .extend({ action_type, error })
29
+ .describe('Configuring the auto-lock failed.'),
30
+ ]);
31
+ //# sourceMappingURL=configure-auto-lock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configure-auto-lock.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/configure-auto-lock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,qBAAqB,CAAC;KAC9B,QAAQ,CACP,4EAA4E,CAC7E,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,kBAAkB,CACpE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,uCAAuC,CAAC;IACpD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,sCAAsC,CAAC;IACnD,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,mCAAmC,CAAC;CACjD,CACF,CAAA"}
@@ -849,6 +849,7 @@ export declare const batch: z.ZodObject<{
849
849
  lock_command: z.ZodBoolean;
850
850
  incomplete_keyboard_passcode: z.ZodBoolean;
851
851
  wifi: z.ZodBoolean;
852
+ auto_lock_time_config: z.ZodBoolean;
852
853
  }, "strip", z.ZodTypeAny, {
853
854
  passcode: boolean;
854
855
  passcode_management: boolean;
@@ -856,6 +857,7 @@ export declare const batch: z.ZodObject<{
856
857
  lock_command: boolean;
857
858
  incomplete_keyboard_passcode: boolean;
858
859
  wifi: boolean;
860
+ auto_lock_time_config: boolean;
859
861
  }, {
860
862
  passcode: boolean;
861
863
  passcode_management: boolean;
@@ -863,6 +865,7 @@ export declare const batch: z.ZodObject<{
863
865
  lock_command: boolean;
864
866
  incomplete_keyboard_passcode: boolean;
865
867
  wifi: boolean;
868
+ auto_lock_time_config: boolean;
866
869
  }>;
867
870
  has_gateway: z.ZodOptional<z.ZodBoolean>;
868
871
  wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -886,6 +889,7 @@ export declare const batch: z.ZodObject<{
886
889
  lock_command: boolean;
887
890
  incomplete_keyboard_passcode: boolean;
888
891
  wifi: boolean;
892
+ auto_lock_time_config: boolean;
889
893
  };
890
894
  has_gateway?: boolean | undefined;
891
895
  wireless_keypads?: {
@@ -903,6 +907,7 @@ export declare const batch: z.ZodObject<{
903
907
  lock_command: boolean;
904
908
  incomplete_keyboard_passcode: boolean;
905
909
  wifi: boolean;
910
+ auto_lock_time_config: boolean;
906
911
  };
907
912
  has_gateway?: boolean | undefined;
908
913
  wireless_keypads?: {
@@ -1434,6 +1439,7 @@ export declare const batch: z.ZodObject<{
1434
1439
  lock_command: boolean;
1435
1440
  incomplete_keyboard_passcode: boolean;
1436
1441
  wifi: boolean;
1442
+ auto_lock_time_config: boolean;
1437
1443
  };
1438
1444
  has_gateway?: boolean | undefined;
1439
1445
  wireless_keypads?: {
@@ -1711,6 +1717,7 @@ export declare const batch: z.ZodObject<{
1711
1717
  lock_command: boolean;
1712
1718
  incomplete_keyboard_passcode: boolean;
1713
1719
  wifi: boolean;
1720
+ auto_lock_time_config: boolean;
1714
1721
  };
1715
1722
  has_gateway?: boolean | undefined;
1716
1723
  wireless_keypads?: {
@@ -1880,6 +1887,8 @@ export declare const batch: z.ZodObject<{
1880
1887
  level: number;
1881
1888
  }>>>;
1882
1889
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1890
+ auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1891
+ auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1883
1892
  }, "strip", z.ZodTypeAny, {
1884
1893
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1885
1894
  code_constraints?: ({
@@ -1898,6 +1907,8 @@ export declare const batch: z.ZodObject<{
1898
1907
  level: number;
1899
1908
  } | undefined;
1900
1909
  door_open?: boolean | undefined;
1910
+ auto_lock_enabled?: boolean | undefined;
1911
+ auto_lock_delay_seconds?: number | undefined;
1901
1912
  }, {
1902
1913
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1903
1914
  code_constraints?: ({
@@ -1916,6 +1927,8 @@ export declare const batch: z.ZodObject<{
1916
1927
  level: number;
1917
1928
  } | undefined;
1918
1929
  door_open?: boolean | undefined;
1930
+ auto_lock_enabled?: boolean | undefined;
1931
+ auto_lock_delay_seconds?: number | undefined;
1919
1932
  }>, z.ZodObject<{
1920
1933
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
1921
1934
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -3256,6 +3269,7 @@ export declare const batch: z.ZodObject<{
3256
3269
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
3257
3270
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
3258
3271
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
3272
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
3259
3273
  }, "strip", z.ZodTypeAny, {
3260
3274
  display_name: string;
3261
3275
  device_id: string;
@@ -3651,6 +3665,7 @@ export declare const batch: z.ZodObject<{
3651
3665
  lock_command: boolean;
3652
3666
  incomplete_keyboard_passcode: boolean;
3653
3667
  wifi: boolean;
3668
+ auto_lock_time_config: boolean;
3654
3669
  };
3655
3670
  has_gateway?: boolean | undefined;
3656
3671
  wireless_keypads?: {
@@ -3803,6 +3818,8 @@ export declare const batch: z.ZodObject<{
3803
3818
  level: number;
3804
3819
  } | undefined;
3805
3820
  door_open?: boolean | undefined;
3821
+ auto_lock_enabled?: boolean | undefined;
3822
+ auto_lock_delay_seconds?: number | undefined;
3806
3823
  } & {
3807
3824
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
3808
3825
  temperature_fahrenheit?: number | undefined;
@@ -3961,6 +3978,7 @@ export declare const batch: z.ZodObject<{
3961
3978
  can_simulate_hub_connection?: boolean | undefined;
3962
3979
  can_simulate_hub_disconnection?: boolean | undefined;
3963
3980
  can_simulate_paid_subscription?: boolean | undefined;
3981
+ can_configure_auto_lock?: boolean | undefined;
3964
3982
  nickname?: string | undefined;
3965
3983
  device_provider?: {
3966
3984
  display_name: string;
@@ -4368,6 +4386,7 @@ export declare const batch: z.ZodObject<{
4368
4386
  lock_command: boolean;
4369
4387
  incomplete_keyboard_passcode: boolean;
4370
4388
  wifi: boolean;
4389
+ auto_lock_time_config: boolean;
4371
4390
  };
4372
4391
  has_gateway?: boolean | undefined;
4373
4392
  wireless_keypads?: {
@@ -4520,6 +4539,8 @@ export declare const batch: z.ZodObject<{
4520
4539
  level: number;
4521
4540
  } | undefined;
4522
4541
  door_open?: boolean | undefined;
4542
+ auto_lock_enabled?: boolean | undefined;
4543
+ auto_lock_delay_seconds?: number | undefined;
4523
4544
  } & {
4524
4545
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
4525
4546
  temperature_fahrenheit?: number | undefined;
@@ -4678,6 +4699,7 @@ export declare const batch: z.ZodObject<{
4678
4699
  can_simulate_hub_connection?: boolean | undefined;
4679
4700
  can_simulate_hub_disconnection?: boolean | undefined;
4680
4701
  can_simulate_paid_subscription?: boolean | undefined;
4702
+ can_configure_auto_lock?: boolean | undefined;
4681
4703
  nickname?: string | undefined;
4682
4704
  device_provider?: {
4683
4705
  display_name: string;
@@ -10795,6 +10817,81 @@ export declare const batch: z.ZodObject<{
10795
10817
  status: z.ZodLiteral<"pending">;
10796
10818
  result: z.ZodNull;
10797
10819
  error: z.ZodNull;
10820
+ } & {
10821
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
10822
+ }, "strip", z.ZodTypeAny, {
10823
+ status: "pending";
10824
+ action_attempt_id: string;
10825
+ error: null;
10826
+ result: null;
10827
+ action_type: "CONFIGURE_AUTO_LOCK";
10828
+ }, {
10829
+ status: "pending";
10830
+ action_attempt_id: string;
10831
+ error: null;
10832
+ result: null;
10833
+ action_type: "CONFIGURE_AUTO_LOCK";
10834
+ }>, z.ZodObject<{
10835
+ action_attempt_id: z.ZodString;
10836
+ } & {
10837
+ status: z.ZodLiteral<"success">;
10838
+ error: z.ZodNull;
10839
+ } & {
10840
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
10841
+ result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
10842
+ }, "strip", z.ZodTypeAny, {
10843
+ status: "success";
10844
+ action_attempt_id: string;
10845
+ error: null;
10846
+ result: {};
10847
+ action_type: "CONFIGURE_AUTO_LOCK";
10848
+ }, {
10849
+ status: "success";
10850
+ action_attempt_id: string;
10851
+ error: null;
10852
+ result: {};
10853
+ action_type: "CONFIGURE_AUTO_LOCK";
10854
+ }>, z.ZodObject<{
10855
+ action_attempt_id: z.ZodString;
10856
+ } & {
10857
+ status: z.ZodLiteral<"error">;
10858
+ result: z.ZodNull;
10859
+ } & {
10860
+ action_type: z.ZodLiteral<"CONFIGURE_AUTO_LOCK">;
10861
+ error: z.ZodObject<{
10862
+ type: z.ZodString;
10863
+ message: z.ZodString;
10864
+ }, "strip", z.ZodTypeAny, {
10865
+ message: string;
10866
+ type: string;
10867
+ }, {
10868
+ message: string;
10869
+ type: string;
10870
+ }>;
10871
+ }, "strip", z.ZodTypeAny, {
10872
+ status: "error";
10873
+ action_attempt_id: string;
10874
+ error: {
10875
+ message: string;
10876
+ type: string;
10877
+ };
10878
+ result: null;
10879
+ action_type: "CONFIGURE_AUTO_LOCK";
10880
+ }, {
10881
+ status: "error";
10882
+ action_attempt_id: string;
10883
+ error: {
10884
+ message: string;
10885
+ type: string;
10886
+ };
10887
+ result: null;
10888
+ action_type: "CONFIGURE_AUTO_LOCK";
10889
+ }>, z.ZodObject<{
10890
+ action_attempt_id: z.ZodString;
10891
+ } & {
10892
+ status: z.ZodLiteral<"pending">;
10893
+ result: z.ZodNull;
10894
+ error: z.ZodNull;
10798
10895
  } & {
10799
10896
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
10800
10897
  }, "strip", z.ZodTypeAny, {
@@ -13188,6 +13285,7 @@ export declare const batch: z.ZodObject<{
13188
13285
  lock_command: z.ZodBoolean;
13189
13286
  incomplete_keyboard_passcode: z.ZodBoolean;
13190
13287
  wifi: z.ZodBoolean;
13288
+ auto_lock_time_config: z.ZodBoolean;
13191
13289
  }, "strip", z.ZodTypeAny, {
13192
13290
  passcode: boolean;
13193
13291
  passcode_management: boolean;
@@ -13195,6 +13293,7 @@ export declare const batch: z.ZodObject<{
13195
13293
  lock_command: boolean;
13196
13294
  incomplete_keyboard_passcode: boolean;
13197
13295
  wifi: boolean;
13296
+ auto_lock_time_config: boolean;
13198
13297
  }, {
13199
13298
  passcode: boolean;
13200
13299
  passcode_management: boolean;
@@ -13202,6 +13301,7 @@ export declare const batch: z.ZodObject<{
13202
13301
  lock_command: boolean;
13203
13302
  incomplete_keyboard_passcode: boolean;
13204
13303
  wifi: boolean;
13304
+ auto_lock_time_config: boolean;
13205
13305
  }>;
13206
13306
  has_gateway: z.ZodOptional<z.ZodBoolean>;
13207
13307
  wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -13225,6 +13325,7 @@ export declare const batch: z.ZodObject<{
13225
13325
  lock_command: boolean;
13226
13326
  incomplete_keyboard_passcode: boolean;
13227
13327
  wifi: boolean;
13328
+ auto_lock_time_config: boolean;
13228
13329
  };
13229
13330
  has_gateway?: boolean | undefined;
13230
13331
  wireless_keypads?: {
@@ -13242,6 +13343,7 @@ export declare const batch: z.ZodObject<{
13242
13343
  lock_command: boolean;
13243
13344
  incomplete_keyboard_passcode: boolean;
13244
13345
  wifi: boolean;
13346
+ auto_lock_time_config: boolean;
13245
13347
  };
13246
13348
  has_gateway?: boolean | undefined;
13247
13349
  wireless_keypads?: {
@@ -13773,6 +13875,7 @@ export declare const batch: z.ZodObject<{
13773
13875
  lock_command: boolean;
13774
13876
  incomplete_keyboard_passcode: boolean;
13775
13877
  wifi: boolean;
13878
+ auto_lock_time_config: boolean;
13776
13879
  };
13777
13880
  has_gateway?: boolean | undefined;
13778
13881
  wireless_keypads?: {
@@ -14050,6 +14153,7 @@ export declare const batch: z.ZodObject<{
14050
14153
  lock_command: boolean;
14051
14154
  incomplete_keyboard_passcode: boolean;
14052
14155
  wifi: boolean;
14156
+ auto_lock_time_config: boolean;
14053
14157
  };
14054
14158
  has_gateway?: boolean | undefined;
14055
14159
  wireless_keypads?: {
@@ -14219,6 +14323,8 @@ export declare const batch: z.ZodObject<{
14219
14323
  level: number;
14220
14324
  }>>>;
14221
14325
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
14326
+ auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
14327
+ auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
14222
14328
  }, "strip", z.ZodTypeAny, {
14223
14329
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
14224
14330
  code_constraints?: ({
@@ -14237,6 +14343,8 @@ export declare const batch: z.ZodObject<{
14237
14343
  level: number;
14238
14344
  } | undefined;
14239
14345
  door_open?: boolean | undefined;
14346
+ auto_lock_enabled?: boolean | undefined;
14347
+ auto_lock_delay_seconds?: number | undefined;
14240
14348
  }, {
14241
14349
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
14242
14350
  code_constraints?: ({
@@ -14255,6 +14363,8 @@ export declare const batch: z.ZodObject<{
14255
14363
  level: number;
14256
14364
  } | undefined;
14257
14365
  door_open?: boolean | undefined;
14366
+ auto_lock_enabled?: boolean | undefined;
14367
+ auto_lock_delay_seconds?: number | undefined;
14258
14368
  }>, z.ZodObject<{
14259
14369
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
14260
14370
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -15595,6 +15705,7 @@ export declare const batch: z.ZodObject<{
15595
15705
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
15596
15706
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
15597
15707
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
15708
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
15598
15709
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
15599
15710
  is_managed: z.ZodLiteral<false>;
15600
15711
  properties: z.ZodObject<Pick<{
@@ -15751,6 +15862,7 @@ export declare const batch: z.ZodObject<{
15751
15862
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
15752
15863
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
15753
15864
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
15865
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
15754
15866
  }, "strip", z.ZodTypeAny, {
15755
15867
  device_id: string;
15756
15868
  workspace_id: string;
@@ -16006,6 +16118,7 @@ export declare const batch: z.ZodObject<{
16006
16118
  can_simulate_hub_connection?: boolean | undefined;
16007
16119
  can_simulate_hub_disconnection?: boolean | undefined;
16008
16120
  can_simulate_paid_subscription?: boolean | undefined;
16121
+ can_configure_auto_lock?: boolean | undefined;
16009
16122
  }, {
16010
16123
  device_id: string;
16011
16124
  workspace_id: string;
@@ -16261,6 +16374,7 @@ export declare const batch: z.ZodObject<{
16261
16374
  can_simulate_hub_connection?: boolean | undefined;
16262
16375
  can_simulate_hub_disconnection?: boolean | undefined;
16263
16376
  can_simulate_paid_subscription?: boolean | undefined;
16377
+ can_configure_auto_lock?: boolean | undefined;
16264
16378
  }>, "many">>;
16265
16379
  connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
16266
16380
  connect_webview_id: z.ZodString;
@@ -25658,6 +25772,7 @@ export declare const batch: z.ZodObject<{
25658
25772
  lock_command: boolean;
25659
25773
  incomplete_keyboard_passcode: boolean;
25660
25774
  wifi: boolean;
25775
+ auto_lock_time_config: boolean;
25661
25776
  };
25662
25777
  has_gateway?: boolean | undefined;
25663
25778
  wireless_keypads?: {
@@ -25810,6 +25925,8 @@ export declare const batch: z.ZodObject<{
25810
25925
  level: number;
25811
25926
  } | undefined;
25812
25927
  door_open?: boolean | undefined;
25928
+ auto_lock_enabled?: boolean | undefined;
25929
+ auto_lock_delay_seconds?: number | undefined;
25813
25930
  } & {
25814
25931
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
25815
25932
  temperature_fahrenheit?: number | undefined;
@@ -25968,6 +26085,7 @@ export declare const batch: z.ZodObject<{
25968
26085
  can_simulate_hub_connection?: boolean | undefined;
25969
26086
  can_simulate_hub_disconnection?: boolean | undefined;
25970
26087
  can_simulate_paid_subscription?: boolean | undefined;
26088
+ can_configure_auto_lock?: boolean | undefined;
25971
26089
  nickname?: string | undefined;
25972
26090
  device_provider?: {
25973
26091
  display_name: string;
@@ -26600,6 +26718,27 @@ export declare const batch: z.ZodObject<{
26600
26718
  };
26601
26719
  result: null;
26602
26720
  action_type: "ACTIVATE_CLIMATE_PRESET";
26721
+ } | {
26722
+ status: "pending";
26723
+ action_attempt_id: string;
26724
+ error: null;
26725
+ result: null;
26726
+ action_type: "CONFIGURE_AUTO_LOCK";
26727
+ } | {
26728
+ status: "success";
26729
+ action_attempt_id: string;
26730
+ error: null;
26731
+ result: {};
26732
+ action_type: "CONFIGURE_AUTO_LOCK";
26733
+ } | {
26734
+ status: "error";
26735
+ action_attempt_id: string;
26736
+ error: {
26737
+ message: string;
26738
+ type: string;
26739
+ };
26740
+ result: null;
26741
+ action_type: "CONFIGURE_AUTO_LOCK";
26603
26742
  } | {
26604
26743
  status: "pending";
26605
26744
  action_attempt_id: string;
@@ -27804,6 +27943,7 @@ export declare const batch: z.ZodObject<{
27804
27943
  can_simulate_hub_connection?: boolean | undefined;
27805
27944
  can_simulate_hub_disconnection?: boolean | undefined;
27806
27945
  can_simulate_paid_subscription?: boolean | undefined;
27946
+ can_configure_auto_lock?: boolean | undefined;
27807
27947
  }[] | undefined;
27808
27948
  connect_webviews?: {
27809
27949
  status: "pending" | "failed" | "authorized";
@@ -30478,6 +30618,7 @@ export declare const batch: z.ZodObject<{
30478
30618
  lock_command: boolean;
30479
30619
  incomplete_keyboard_passcode: boolean;
30480
30620
  wifi: boolean;
30621
+ auto_lock_time_config: boolean;
30481
30622
  };
30482
30623
  has_gateway?: boolean | undefined;
30483
30624
  wireless_keypads?: {
@@ -30630,6 +30771,8 @@ export declare const batch: z.ZodObject<{
30630
30771
  level: number;
30631
30772
  } | undefined;
30632
30773
  door_open?: boolean | undefined;
30774
+ auto_lock_enabled?: boolean | undefined;
30775
+ auto_lock_delay_seconds?: number | undefined;
30633
30776
  } & {
30634
30777
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
30635
30778
  temperature_fahrenheit?: number | undefined;
@@ -30788,6 +30931,7 @@ export declare const batch: z.ZodObject<{
30788
30931
  can_simulate_hub_connection?: boolean | undefined;
30789
30932
  can_simulate_hub_disconnection?: boolean | undefined;
30790
30933
  can_simulate_paid_subscription?: boolean | undefined;
30934
+ can_configure_auto_lock?: boolean | undefined;
30791
30935
  nickname?: string | undefined;
30792
30936
  device_provider?: {
30793
30937
  display_name: string;
@@ -31420,6 +31564,27 @@ export declare const batch: z.ZodObject<{
31420
31564
  };
31421
31565
  result: null;
31422
31566
  action_type: "ACTIVATE_CLIMATE_PRESET";
31567
+ } | {
31568
+ status: "pending";
31569
+ action_attempt_id: string;
31570
+ error: null;
31571
+ result: null;
31572
+ action_type: "CONFIGURE_AUTO_LOCK";
31573
+ } | {
31574
+ status: "success";
31575
+ action_attempt_id: string;
31576
+ error: null;
31577
+ result: {};
31578
+ action_type: "CONFIGURE_AUTO_LOCK";
31579
+ } | {
31580
+ status: "error";
31581
+ action_attempt_id: string;
31582
+ error: {
31583
+ message: string;
31584
+ type: string;
31585
+ };
31586
+ result: null;
31587
+ action_type: "CONFIGURE_AUTO_LOCK";
31423
31588
  } | {
31424
31589
  status: "pending";
31425
31590
  action_attempt_id: string;
@@ -32624,6 +32789,7 @@ export declare const batch: z.ZodObject<{
32624
32789
  can_simulate_hub_connection?: boolean | undefined;
32625
32790
  can_simulate_hub_disconnection?: boolean | undefined;
32626
32791
  can_simulate_paid_subscription?: boolean | undefined;
32792
+ can_configure_auto_lock?: boolean | undefined;
32627
32793
  }[] | undefined;
32628
32794
  connect_webviews?: {
32629
32795
  status: "pending" | "failed" | "authorized";
@@ -133,8 +133,12 @@ export const portal_configuration_base = z.object({
133
133
  resource_type: z.enum(['reservation', 'space']),
134
134
  resource_key: z.string(),
135
135
  })
136
- .optional()
137
- .describe('Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.'),
136
+ .optional().describe(`
137
+ ---
138
+ undocumented: Internal endpoint for customer portals.
139
+ ---
140
+ Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.
141
+ `),
138
142
  });
139
143
  export const portal_configuration = portal_configuration_base
140
144
  .extend({