@seamapi/types 1.464.0 → 1.464.4

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 (46) hide show
  1. package/LICENSE.txt +1 -1
  2. package/dist/connect.d.cts +2793 -2269
  3. package/dist/devicedb.d.cts +0 -4
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  5. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +6 -6
  8. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
  9. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
  10. package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
  11. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
  12. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
  14. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
  15. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
  17. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
  18. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
  19. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
  20. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
  21. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
  22. package/lib/seam/connect/models/batch.d.ts +2564 -2564
  23. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
  24. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +12 -12
  25. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
  26. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  27. package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
  28. package/lib/seam/connect/models/devices/device.d.ts +132 -132
  29. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -100
  30. package/lib/seam/connect/models/events/devices.d.ts +16 -16
  31. package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
  32. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  33. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  34. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
  35. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
  36. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  37. package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
  38. package/lib/seam/connect/openapi.js +6 -6
  39. package/lib/seam/connect/openapi.js.map +1 -1
  40. package/lib/seam/connect/route-types.d.ts +2793 -2269
  41. package/lib/seam/devicedb/models/device-model.d.ts +116 -116
  42. package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
  43. package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
  44. package/lib/seam/devicedb/route-specs.d.ts +210 -214
  45. package/package.json +12 -13
  46. package/src/lib/seam/connect/route-types.ts +3007 -2362
@@ -8,15 +8,15 @@ export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"stat
8
8
  } & {
9
9
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
10
10
  }, "strip", z.ZodTypeAny, {
11
- error: null;
12
11
  status: "pending";
13
12
  action_attempt_id: string;
13
+ error: null;
14
14
  result: null;
15
15
  action_type: "SET_HVAC_MODE";
16
16
  }, {
17
- error: null;
18
17
  status: "pending";
19
18
  action_attempt_id: string;
19
+ error: null;
20
20
  result: null;
21
21
  action_type: "SET_HVAC_MODE";
22
22
  }>, z.ZodObject<{
@@ -28,15 +28,15 @@ export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"stat
28
28
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
29
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- error: null;
32
31
  status: "success";
33
32
  action_attempt_id: string;
33
+ error: null;
34
34
  result: {};
35
35
  action_type: "SET_HVAC_MODE";
36
36
  }, {
37
- error: null;
38
37
  status: "success";
39
38
  action_attempt_id: string;
39
+ error: null;
40
40
  result: {};
41
41
  action_type: "SET_HVAC_MODE";
42
42
  }>, z.ZodObject<{
@@ -50,28 +50,28 @@ export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"stat
50
50
  type: z.ZodString;
51
51
  message: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
- type: string;
54
53
  message: string;
55
- }, {
56
54
  type: string;
55
+ }, {
57
56
  message: string;
57
+ type: string;
58
58
  }>;
59
59
  }, "strip", z.ZodTypeAny, {
60
+ status: "error";
61
+ action_attempt_id: string;
60
62
  error: {
61
- type: string;
62
63
  message: string;
64
+ type: string;
63
65
  };
64
- status: "error";
65
- action_attempt_id: string;
66
66
  result: null;
67
67
  action_type: "SET_HVAC_MODE";
68
68
  }, {
69
+ status: "error";
70
+ action_attempt_id: string;
69
71
  error: {
70
- type: string;
71
72
  message: string;
73
+ type: string;
72
74
  };
73
- status: "error";
74
- action_attempt_id: string;
75
75
  result: null;
76
76
  action_type: "SET_HVAC_MODE";
77
77
  }>]>;
@@ -8,15 +8,15 @@ export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminat
8
8
  } & {
9
9
  action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
10
10
  }, "strip", z.ZodTypeAny, {
11
- error: null;
12
11
  status: "pending";
13
12
  action_attempt_id: string;
13
+ error: null;
14
14
  result: null;
15
15
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
16
16
  }, {
17
- error: null;
18
17
  status: "pending";
19
18
  action_attempt_id: string;
19
+ error: null;
20
20
  result: null;
21
21
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
22
22
  }>, z.ZodObject<{
@@ -28,15 +28,15 @@ export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminat
28
28
  action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
29
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- error: null;
32
31
  status: "success";
33
32
  action_attempt_id: string;
33
+ error: null;
34
34
  result: {};
35
35
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
36
36
  }, {
37
- error: null;
38
37
  status: "success";
39
38
  action_attempt_id: string;
39
+ error: null;
40
40
  result: {};
41
41
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
42
42
  }>, z.ZodObject<{
@@ -50,28 +50,28 @@ export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminat
50
50
  type: z.ZodString;
51
51
  message: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
- type: string;
54
53
  message: string;
55
- }, {
56
54
  type: string;
55
+ }, {
57
56
  message: string;
57
+ type: string;
58
58
  }>;
59
59
  }, "strip", z.ZodTypeAny, {
60
+ status: "error";
61
+ action_attempt_id: string;
60
62
  error: {
61
- type: string;
62
63
  message: string;
64
+ type: string;
63
65
  };
64
- status: "error";
65
- action_attempt_id: string;
66
66
  result: null;
67
67
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
68
68
  }, {
69
+ status: "error";
70
+ action_attempt_id: string;
69
71
  error: {
70
- type: string;
71
72
  message: string;
73
+ type: string;
72
74
  };
73
- status: "error";
74
- action_attempt_id: string;
75
75
  result: null;
76
76
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
77
77
  }>]>;
@@ -8,15 +8,15 @@ export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscri
8
8
  } & {
9
9
  action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
10
10
  }, "strip", z.ZodTypeAny, {
11
- error: null;
12
11
  status: "pending";
13
12
  action_attempt_id: string;
13
+ error: null;
14
14
  result: null;
15
15
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
16
16
  }, {
17
- error: null;
18
17
  status: "pending";
19
18
  action_attempt_id: string;
19
+ error: null;
20
20
  result: null;
21
21
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
22
22
  }>, z.ZodObject<{
@@ -28,15 +28,15 @@ export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscri
28
28
  action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
29
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- error: null;
32
31
  status: "success";
33
32
  action_attempt_id: string;
33
+ error: null;
34
34
  result: {};
35
35
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
36
36
  }, {
37
- error: null;
38
37
  status: "success";
39
38
  action_attempt_id: string;
39
+ error: null;
40
40
  result: {};
41
41
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
42
42
  }>, z.ZodObject<{
@@ -50,28 +50,28 @@ export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscri
50
50
  type: z.ZodString;
51
51
  message: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
- type: string;
54
53
  message: string;
55
- }, {
56
54
  type: string;
55
+ }, {
57
56
  message: string;
57
+ type: string;
58
58
  }>;
59
59
  }, "strip", z.ZodTypeAny, {
60
+ status: "error";
61
+ action_attempt_id: string;
60
62
  error: {
61
- type: string;
62
63
  message: string;
64
+ type: string;
63
65
  };
64
- status: "error";
65
- action_attempt_id: string;
66
66
  result: null;
67
67
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
68
68
  }, {
69
+ status: "error";
70
+ action_attempt_id: string;
69
71
  error: {
70
- type: string;
71
72
  message: string;
73
+ type: string;
72
74
  };
73
- status: "error";
74
- action_attempt_id: string;
75
75
  result: null;
76
76
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
77
77
  }>]>;
@@ -8,15 +8,15 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
8
8
  } & {
9
9
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
10
10
  }, "strip", z.ZodTypeAny, {
11
- error: null;
12
11
  status: "pending";
13
12
  action_attempt_id: string;
13
+ error: null;
14
14
  result: null;
15
15
  action_type: "UNLOCK_DOOR";
16
16
  }, {
17
- error: null;
18
17
  status: "pending";
19
18
  action_attempt_id: string;
19
+ error: null;
20
20
  result: null;
21
21
  action_type: "UNLOCK_DOOR";
22
22
  }>, z.ZodObject<{
@@ -28,15 +28,15 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
28
28
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
29
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- error: null;
32
31
  status: "success";
33
32
  action_attempt_id: string;
33
+ error: null;
34
34
  result: {};
35
35
  action_type: "UNLOCK_DOOR";
36
36
  }, {
37
- error: null;
38
37
  status: "success";
39
38
  action_attempt_id: string;
39
+ error: null;
40
40
  result: {};
41
41
  action_type: "UNLOCK_DOOR";
42
42
  }>, z.ZodObject<{
@@ -50,28 +50,28 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
50
50
  type: z.ZodString;
51
51
  message: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
- type: string;
54
53
  message: string;
55
- }, {
56
54
  type: string;
55
+ }, {
57
56
  message: string;
57
+ type: string;
58
58
  }>;
59
59
  }, "strip", z.ZodTypeAny, {
60
+ status: "error";
61
+ action_attempt_id: string;
60
62
  error: {
61
- type: string;
62
63
  message: string;
64
+ type: string;
63
65
  };
64
- status: "error";
65
- action_attempt_id: string;
66
66
  result: null;
67
67
  action_type: "UNLOCK_DOOR";
68
68
  }, {
69
+ status: "error";
70
+ action_attempt_id: string;
69
71
  error: {
70
- type: string;
71
72
  message: string;
73
+ type: string;
72
74
  };
73
- status: "error";
74
- action_attempt_id: string;
75
75
  result: null;
76
76
  action_type: "UNLOCK_DOOR";
77
77
  }>]>;