@seamapi/types 1.463.0 → 1.464.3

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 (99) hide show
  1. package/LICENSE.txt +1 -1
  2. package/dist/connect.cjs +57 -55
  3. package/dist/connect.cjs.map +1 -1
  4. package/dist/connect.d.cts +2884 -2548
  5. package/dist/devicedb.d.cts +0 -4
  6. package/dist/index.cjs +57 -55
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +8 -8
  9. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
  10. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  11. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
  12. package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
  13. package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
  14. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  15. package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
  16. package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
  17. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  18. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  19. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  20. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  21. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  22. package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
  23. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  24. package/lib/seam/connect/models/acs/acs-system.d.ts +11 -10
  25. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  26. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  27. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
  28. package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
  29. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  30. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
  31. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
  32. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  33. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
  34. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
  35. package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
  36. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
  37. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
  38. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
  39. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
  40. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
  41. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
  42. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
  43. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
  44. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
  45. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
  46. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
  47. package/lib/seam/connect/models/batch.d.ts +2925 -3128
  48. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
  49. package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
  50. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  51. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
  52. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +16 -16
  53. package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
  54. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  55. package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
  56. package/lib/seam/connect/models/customer/customer-portal.js +18 -0
  57. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  58. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
  59. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  60. package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
  61. package/lib/seam/connect/models/devices/device.d.ts +136 -194
  62. package/lib/seam/connect/models/devices/device.js +2 -16
  63. package/lib/seam/connect/models/devices/device.js.map +1 -1
  64. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -121
  65. package/lib/seam/connect/models/events/devices.d.ts +16 -16
  66. package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
  67. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  68. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  69. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
  70. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
  71. package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
  72. package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
  73. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  74. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  75. package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
  76. package/lib/seam/connect/openapi.d.ts +58 -0
  77. package/lib/seam/connect/openapi.js +62 -50
  78. package/lib/seam/connect/openapi.js.map +1 -1
  79. package/lib/seam/connect/route-types.d.ts +2820 -2429
  80. package/lib/seam/devicedb/models/device-model.d.ts +116 -116
  81. package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
  82. package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
  83. package/lib/seam/devicedb/route-specs.d.ts +210 -214
  84. package/package.json +12 -13
  85. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
  86. package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
  87. package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
  88. package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
  89. package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
  90. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -4
  91. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
  92. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
  93. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
  94. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
  95. package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
  96. package/src/lib/seam/connect/models/devices/device.ts +4 -19
  97. package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
  98. package/src/lib/seam/connect/openapi.ts +60 -52
  99. package/src/lib/seam/connect/route-types.ts +3038 -2543
@@ -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
  }>]>;