@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 action_attempt: z.ZodUnion<[z.ZodObject<{
8
8
  } & {
9
9
  action_type: z.ZodLiteral<"LOCK_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: "LOCK_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: "LOCK_DOOR";
22
22
  }>, z.ZodObject<{
@@ -28,15 +28,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
28
28
  action_type: z.ZodLiteral<"LOCK_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: "LOCK_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: "LOCK_DOOR";
42
42
  }>, z.ZodObject<{
@@ -50,28 +50,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
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: "LOCK_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: "LOCK_DOOR";
77
77
  }>, z.ZodObject<{
@@ -83,15 +83,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
83
83
  } & {
84
84
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
85
85
  }, "strip", z.ZodTypeAny, {
86
- error: null;
87
86
  status: "pending";
88
87
  action_attempt_id: string;
88
+ error: null;
89
89
  result: null;
90
90
  action_type: "UNLOCK_DOOR";
91
91
  }, {
92
- error: null;
93
92
  status: "pending";
94
93
  action_attempt_id: string;
94
+ error: null;
95
95
  result: null;
96
96
  action_type: "UNLOCK_DOOR";
97
97
  }>, z.ZodObject<{
@@ -103,15 +103,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
103
103
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
104
104
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
105
105
  }, "strip", z.ZodTypeAny, {
106
- error: null;
107
106
  status: "success";
108
107
  action_attempt_id: string;
108
+ error: null;
109
109
  result: {};
110
110
  action_type: "UNLOCK_DOOR";
111
111
  }, {
112
- error: null;
113
112
  status: "success";
114
113
  action_attempt_id: string;
114
+ error: null;
115
115
  result: {};
116
116
  action_type: "UNLOCK_DOOR";
117
117
  }>, z.ZodObject<{
@@ -125,28 +125,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
125
125
  type: z.ZodString;
126
126
  message: z.ZodString;
127
127
  }, "strip", z.ZodTypeAny, {
128
- type: string;
129
128
  message: string;
130
- }, {
131
129
  type: string;
130
+ }, {
132
131
  message: string;
132
+ type: string;
133
133
  }>;
134
134
  }, "strip", z.ZodTypeAny, {
135
+ status: "error";
136
+ action_attempt_id: string;
135
137
  error: {
136
- type: string;
137
138
  message: string;
139
+ type: string;
138
140
  };
139
- status: "error";
140
- action_attempt_id: string;
141
141
  result: null;
142
142
  action_type: "UNLOCK_DOOR";
143
143
  }, {
144
+ status: "error";
145
+ action_attempt_id: string;
144
146
  error: {
145
- type: string;
146
147
  message: string;
148
+ type: string;
147
149
  };
148
- status: "error";
149
- action_attempt_id: string;
150
150
  result: null;
151
151
  action_type: "UNLOCK_DOOR";
152
152
  }>, z.ZodObject<{
@@ -158,15 +158,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
158
158
  } & {
159
159
  action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
160
160
  }, "strip", z.ZodTypeAny, {
161
- error: null;
162
161
  status: "pending";
163
162
  action_attempt_id: string;
163
+ error: null;
164
164
  result: null;
165
165
  action_type: "SCAN_CREDENTIAL";
166
166
  }, {
167
- error: null;
168
167
  status: "pending";
169
168
  action_attempt_id: string;
169
+ error: null;
170
170
  result: null;
171
171
  action_type: "SCAN_CREDENTIAL";
172
172
  }>, z.ZodObject<{
@@ -197,10 +197,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
197
197
  guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
198
198
  common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
199
199
  }, "strip", z.ZodTypeAny, {
200
- expired: boolean;
201
200
  card_id: string;
202
201
  cancelled: boolean;
203
202
  discarded: boolean;
203
+ expired: boolean;
204
204
  overwritten: boolean;
205
205
  pending_auto_update: boolean;
206
206
  card_format: "TLCode" | "rfid48";
@@ -210,10 +210,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
210
210
  overridden?: boolean | undefined;
211
211
  card_holder?: string | undefined;
212
212
  }, {
213
- expired: boolean;
214
213
  card_id: string;
215
214
  cancelled: boolean;
216
215
  discarded: boolean;
216
+ expired: boolean;
217
217
  overwritten: boolean;
218
218
  pending_auto_update: boolean;
219
219
  card_format: "TLCode" | "rfid48";
@@ -230,10 +230,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
230
230
  is_issued: boolean | null;
231
231
  card_number: string | null;
232
232
  visionline_metadata?: {
233
- expired: boolean;
234
233
  card_id: string;
235
234
  cancelled: boolean;
236
235
  discarded: boolean;
236
+ expired: boolean;
237
237
  overwritten: boolean;
238
238
  pending_auto_update: boolean;
239
239
  card_format: "TLCode" | "rfid48";
@@ -250,10 +250,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
250
250
  is_issued: boolean | null;
251
251
  card_number: string | null;
252
252
  visionline_metadata?: {
253
- expired: boolean;
254
253
  card_id: string;
255
254
  cancelled: boolean;
256
255
  discarded: boolean;
256
+ expired: boolean;
257
257
  overwritten: boolean;
258
258
  pending_auto_update: boolean;
259
259
  card_format: "TLCode" | "rfid48";
@@ -905,10 +905,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
905
905
  is_issued: boolean | null;
906
906
  card_number: string | null;
907
907
  visionline_metadata?: {
908
- expired: boolean;
909
908
  card_id: string;
910
909
  cancelled: boolean;
911
910
  discarded: boolean;
911
+ expired: boolean;
912
912
  overwritten: boolean;
913
913
  pending_auto_update: boolean;
914
914
  card_format: "TLCode" | "rfid48";
@@ -1076,10 +1076,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1076
1076
  is_issued: boolean | null;
1077
1077
  card_number: string | null;
1078
1078
  visionline_metadata?: {
1079
- expired: boolean;
1080
1079
  card_id: string;
1081
1080
  cancelled: boolean;
1082
1081
  discarded: boolean;
1082
+ expired: boolean;
1083
1083
  overwritten: boolean;
1084
1084
  pending_auto_update: boolean;
1085
1085
  card_format: "TLCode" | "rfid48";
@@ -1237,9 +1237,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1237
1237
  } | null;
1238
1238
  }>;
1239
1239
  }, "strip", z.ZodTypeAny, {
1240
- error: null;
1241
1240
  status: "success";
1242
1241
  action_attempt_id: string;
1242
+ error: null;
1243
1243
  result: {
1244
1244
  warnings: {
1245
1245
  warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
@@ -1252,10 +1252,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1252
1252
  is_issued: boolean | null;
1253
1253
  card_number: string | null;
1254
1254
  visionline_metadata?: {
1255
- expired: boolean;
1256
1255
  card_id: string;
1257
1256
  cancelled: boolean;
1258
1257
  discarded: boolean;
1258
+ expired: boolean;
1259
1259
  overwritten: boolean;
1260
1260
  pending_auto_update: boolean;
1261
1261
  card_format: "TLCode" | "rfid48";
@@ -1414,9 +1414,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1414
1414
  };
1415
1415
  action_type: "SCAN_CREDENTIAL";
1416
1416
  }, {
1417
- error: null;
1418
1417
  status: "success";
1419
1418
  action_attempt_id: string;
1419
+ error: null;
1420
1420
  result: {
1421
1421
  warnings: {
1422
1422
  warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
@@ -1429,10 +1429,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1429
1429
  is_issued: boolean | null;
1430
1430
  card_number: string | null;
1431
1431
  visionline_metadata?: {
1432
- expired: boolean;
1433
1432
  card_id: string;
1434
1433
  cancelled: boolean;
1435
1434
  discarded: boolean;
1435
+ expired: boolean;
1436
1436
  overwritten: boolean;
1437
1437
  pending_auto_update: boolean;
1438
1438
  card_format: "TLCode" | "rfid48";
@@ -1601,58 +1601,58 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1601
1601
  type: z.ZodLiteral<"uncategorized_error">;
1602
1602
  message: z.ZodString;
1603
1603
  }, "strip", z.ZodTypeAny, {
1604
- type: "uncategorized_error";
1605
1604
  message: string;
1606
- }, {
1607
1605
  type: "uncategorized_error";
1606
+ }, {
1608
1607
  message: string;
1608
+ type: "uncategorized_error";
1609
1609
  }>, z.ZodObject<{
1610
1610
  type: z.ZodLiteral<"action_attempt_expired">;
1611
1611
  message: z.ZodString;
1612
1612
  }, "strip", z.ZodTypeAny, {
1613
- type: "action_attempt_expired";
1614
1613
  message: string;
1615
- }, {
1616
1614
  type: "action_attempt_expired";
1615
+ }, {
1617
1616
  message: string;
1617
+ type: "action_attempt_expired";
1618
1618
  }>, z.ZodObject<{
1619
1619
  type: z.ZodLiteral<"no_credential_on_encoder">;
1620
1620
  message: z.ZodString;
1621
1621
  }, "strip", z.ZodTypeAny, {
1622
- type: "no_credential_on_encoder";
1623
1622
  message: string;
1624
- }, {
1625
1623
  type: "no_credential_on_encoder";
1624
+ }, {
1626
1625
  message: string;
1626
+ type: "no_credential_on_encoder";
1627
1627
  }>]>;
1628
1628
  }, "strip", z.ZodTypeAny, {
1629
+ status: "error";
1630
+ action_attempt_id: string;
1629
1631
  error: {
1630
- type: "uncategorized_error";
1631
1632
  message: string;
1633
+ type: "uncategorized_error";
1632
1634
  } | {
1633
- type: "action_attempt_expired";
1634
1635
  message: string;
1636
+ type: "action_attempt_expired";
1635
1637
  } | {
1636
- type: "no_credential_on_encoder";
1637
1638
  message: string;
1639
+ type: "no_credential_on_encoder";
1638
1640
  };
1639
- status: "error";
1640
- action_attempt_id: string;
1641
1641
  result: null;
1642
1642
  action_type: "SCAN_CREDENTIAL";
1643
1643
  }, {
1644
+ status: "error";
1645
+ action_attempt_id: string;
1644
1646
  error: {
1645
- type: "uncategorized_error";
1646
1647
  message: string;
1648
+ type: "uncategorized_error";
1647
1649
  } | {
1648
- type: "action_attempt_expired";
1649
1650
  message: string;
1651
+ type: "action_attempt_expired";
1650
1652
  } | {
1651
- type: "no_credential_on_encoder";
1652
1653
  message: string;
1654
+ type: "no_credential_on_encoder";
1653
1655
  };
1654
- status: "error";
1655
- action_attempt_id: string;
1656
1656
  result: null;
1657
1657
  action_type: "SCAN_CREDENTIAL";
1658
1658
  }>, z.ZodObject<{
@@ -1664,15 +1664,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
1664
1664
  } & {
1665
1665
  action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
1666
1666
  }, "strip", z.ZodTypeAny, {
1667
- error: null;
1668
1667
  status: "pending";
1669
1668
  action_attempt_id: string;
1669
+ error: null;
1670
1670
  result: null;
1671
1671
  action_type: "ENCODE_CREDENTIAL";
1672
1672
  }, {
1673
- error: null;
1674
1673
  status: "pending";
1675
1674
  action_attempt_id: string;
1675
+ error: null;
1676
1676
  result: null;
1677
1677
  action_type: "ENCODE_CREDENTIAL";
1678
1678
  }>, z.ZodObject<{
@@ -2302,9 +2302,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2302
2302
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
2303
2303
  }>]>;
2304
2304
  }, "strip", z.ZodTypeAny, {
2305
- error: null;
2306
2305
  status: "success";
2307
2306
  action_attempt_id: string;
2307
+ error: null;
2308
2308
  result: {
2309
2309
  display_name: string;
2310
2310
  workspace_id: string;
@@ -2452,9 +2452,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2452
2452
  };
2453
2453
  action_type: "ENCODE_CREDENTIAL";
2454
2454
  }, {
2455
- error: null;
2456
2455
  status: "success";
2457
2456
  action_attempt_id: string;
2457
+ error: null;
2458
2458
  result: {
2459
2459
  display_name: string;
2460
2460
  workspace_id: string;
@@ -2612,88 +2612,88 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2612
2612
  type: z.ZodLiteral<"uncategorized_error">;
2613
2613
  message: z.ZodString;
2614
2614
  }, "strip", z.ZodTypeAny, {
2615
- type: "uncategorized_error";
2616
2615
  message: string;
2617
- }, {
2618
2616
  type: "uncategorized_error";
2617
+ }, {
2619
2618
  message: string;
2619
+ type: "uncategorized_error";
2620
2620
  }>, z.ZodObject<{
2621
2621
  type: z.ZodLiteral<"action_attempt_expired">;
2622
2622
  message: z.ZodString;
2623
2623
  }, "strip", z.ZodTypeAny, {
2624
- type: "action_attempt_expired";
2625
2624
  message: string;
2626
- }, {
2627
2625
  type: "action_attempt_expired";
2626
+ }, {
2628
2627
  message: string;
2628
+ type: "action_attempt_expired";
2629
2629
  }>, z.ZodObject<{
2630
2630
  type: z.ZodLiteral<"no_credential_on_encoder">;
2631
2631
  message: z.ZodString;
2632
2632
  }, "strip", z.ZodTypeAny, {
2633
- type: "no_credential_on_encoder";
2634
2633
  message: string;
2635
- }, {
2636
2634
  type: "no_credential_on_encoder";
2635
+ }, {
2637
2636
  message: string;
2637
+ type: "no_credential_on_encoder";
2638
2638
  }>, z.ZodObject<{
2639
2639
  type: z.ZodLiteral<"incompatible_card_format">;
2640
2640
  message: z.ZodString;
2641
2641
  }, "strip", z.ZodTypeAny, {
2642
- type: "incompatible_card_format";
2643
2642
  message: string;
2644
- }, {
2645
2643
  type: "incompatible_card_format";
2644
+ }, {
2646
2645
  message: string;
2646
+ type: "incompatible_card_format";
2647
2647
  }>, z.ZodObject<{
2648
2648
  type: z.ZodLiteral<"credential_cannot_be_reissued">;
2649
2649
  message: z.ZodString;
2650
2650
  }, "strip", z.ZodTypeAny, {
2651
- type: "credential_cannot_be_reissued";
2652
2651
  message: string;
2653
- }, {
2654
2652
  type: "credential_cannot_be_reissued";
2653
+ }, {
2655
2654
  message: string;
2655
+ type: "credential_cannot_be_reissued";
2656
2656
  }>]>;
2657
2657
  }, "strip", z.ZodTypeAny, {
2658
+ status: "error";
2659
+ action_attempt_id: string;
2658
2660
  error: {
2659
- type: "uncategorized_error";
2660
2661
  message: string;
2662
+ type: "uncategorized_error";
2661
2663
  } | {
2662
- type: "action_attempt_expired";
2663
2664
  message: string;
2665
+ type: "action_attempt_expired";
2664
2666
  } | {
2665
- type: "no_credential_on_encoder";
2666
2667
  message: string;
2668
+ type: "no_credential_on_encoder";
2667
2669
  } | {
2668
- type: "incompatible_card_format";
2669
2670
  message: string;
2671
+ type: "incompatible_card_format";
2670
2672
  } | {
2671
- type: "credential_cannot_be_reissued";
2672
2673
  message: string;
2674
+ type: "credential_cannot_be_reissued";
2673
2675
  };
2674
- status: "error";
2675
- action_attempt_id: string;
2676
2676
  result: null;
2677
2677
  action_type: "ENCODE_CREDENTIAL";
2678
2678
  }, {
2679
+ status: "error";
2680
+ action_attempt_id: string;
2679
2681
  error: {
2680
- type: "uncategorized_error";
2681
2682
  message: string;
2683
+ type: "uncategorized_error";
2682
2684
  } | {
2683
- type: "action_attempt_expired";
2684
2685
  message: string;
2686
+ type: "action_attempt_expired";
2685
2687
  } | {
2686
- type: "no_credential_on_encoder";
2687
2688
  message: string;
2689
+ type: "no_credential_on_encoder";
2688
2690
  } | {
2689
- type: "incompatible_card_format";
2690
2691
  message: string;
2692
+ type: "incompatible_card_format";
2691
2693
  } | {
2692
- type: "credential_cannot_be_reissued";
2693
2694
  message: string;
2695
+ type: "credential_cannot_be_reissued";
2694
2696
  };
2695
- status: "error";
2696
- action_attempt_id: string;
2697
2697
  result: null;
2698
2698
  action_type: "ENCODE_CREDENTIAL";
2699
2699
  }>, z.ZodObject<{
@@ -2705,15 +2705,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2705
2705
  } & {
2706
2706
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
2707
2707
  }, "strip", z.ZodTypeAny, {
2708
- error: null;
2709
2708
  status: "pending";
2710
2709
  action_attempt_id: string;
2710
+ error: null;
2711
2711
  result: null;
2712
2712
  action_type: "RESET_SANDBOX_WORKSPACE";
2713
2713
  }, {
2714
- error: null;
2715
2714
  status: "pending";
2716
2715
  action_attempt_id: string;
2716
+ error: null;
2717
2717
  result: null;
2718
2718
  action_type: "RESET_SANDBOX_WORKSPACE";
2719
2719
  }>, z.ZodObject<{
@@ -2725,15 +2725,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2725
2725
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
2726
2726
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2727
2727
  }, "strip", z.ZodTypeAny, {
2728
- error: null;
2729
2728
  status: "success";
2730
2729
  action_attempt_id: string;
2730
+ error: null;
2731
2731
  result: {};
2732
2732
  action_type: "RESET_SANDBOX_WORKSPACE";
2733
2733
  }, {
2734
- error: null;
2735
2734
  status: "success";
2736
2735
  action_attempt_id: string;
2736
+ error: null;
2737
2737
  result: {};
2738
2738
  action_type: "RESET_SANDBOX_WORKSPACE";
2739
2739
  }>, z.ZodObject<{
@@ -2747,28 +2747,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2747
2747
  type: z.ZodString;
2748
2748
  message: z.ZodString;
2749
2749
  }, "strip", z.ZodTypeAny, {
2750
- type: string;
2751
2750
  message: string;
2752
- }, {
2753
2751
  type: string;
2752
+ }, {
2754
2753
  message: string;
2754
+ type: string;
2755
2755
  }>;
2756
2756
  }, "strip", z.ZodTypeAny, {
2757
+ status: "error";
2758
+ action_attempt_id: string;
2757
2759
  error: {
2758
- type: string;
2759
2760
  message: string;
2761
+ type: string;
2760
2762
  };
2761
- status: "error";
2762
- action_attempt_id: string;
2763
2763
  result: null;
2764
2764
  action_type: "RESET_SANDBOX_WORKSPACE";
2765
2765
  }, {
2766
+ status: "error";
2767
+ action_attempt_id: string;
2766
2768
  error: {
2767
- type: string;
2768
2769
  message: string;
2770
+ type: string;
2769
2771
  };
2770
- status: "error";
2771
- action_attempt_id: string;
2772
2772
  result: null;
2773
2773
  action_type: "RESET_SANDBOX_WORKSPACE";
2774
2774
  }>, z.ZodObject<{
@@ -2780,15 +2780,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2780
2780
  } & {
2781
2781
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
2782
2782
  }, "strip", z.ZodTypeAny, {
2783
- error: null;
2784
2783
  status: "pending";
2785
2784
  action_attempt_id: string;
2785
+ error: null;
2786
2786
  result: null;
2787
2787
  action_type: "SET_FAN_MODE";
2788
2788
  }, {
2789
- error: null;
2790
2789
  status: "pending";
2791
2790
  action_attempt_id: string;
2791
+ error: null;
2792
2792
  result: null;
2793
2793
  action_type: "SET_FAN_MODE";
2794
2794
  }>, z.ZodObject<{
@@ -2800,15 +2800,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2800
2800
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
2801
2801
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2802
2802
  }, "strip", z.ZodTypeAny, {
2803
- error: null;
2804
2803
  status: "success";
2805
2804
  action_attempt_id: string;
2805
+ error: null;
2806
2806
  result: {};
2807
2807
  action_type: "SET_FAN_MODE";
2808
2808
  }, {
2809
- error: null;
2810
2809
  status: "success";
2811
2810
  action_attempt_id: string;
2811
+ error: null;
2812
2812
  result: {};
2813
2813
  action_type: "SET_FAN_MODE";
2814
2814
  }>, z.ZodObject<{
@@ -2822,28 +2822,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2822
2822
  type: z.ZodString;
2823
2823
  message: z.ZodString;
2824
2824
  }, "strip", z.ZodTypeAny, {
2825
- type: string;
2826
2825
  message: string;
2827
- }, {
2828
2826
  type: string;
2827
+ }, {
2829
2828
  message: string;
2829
+ type: string;
2830
2830
  }>;
2831
2831
  }, "strip", z.ZodTypeAny, {
2832
+ status: "error";
2833
+ action_attempt_id: string;
2832
2834
  error: {
2833
- type: string;
2834
2835
  message: string;
2836
+ type: string;
2835
2837
  };
2836
- status: "error";
2837
- action_attempt_id: string;
2838
2838
  result: null;
2839
2839
  action_type: "SET_FAN_MODE";
2840
2840
  }, {
2841
+ status: "error";
2842
+ action_attempt_id: string;
2841
2843
  error: {
2842
- type: string;
2843
2844
  message: string;
2845
+ type: string;
2844
2846
  };
2845
- status: "error";
2846
- action_attempt_id: string;
2847
2847
  result: null;
2848
2848
  action_type: "SET_FAN_MODE";
2849
2849
  }>, z.ZodObject<{
@@ -2855,15 +2855,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2855
2855
  } & {
2856
2856
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
2857
2857
  }, "strip", z.ZodTypeAny, {
2858
- error: null;
2859
2858
  status: "pending";
2860
2859
  action_attempt_id: string;
2860
+ error: null;
2861
2861
  result: null;
2862
2862
  action_type: "SET_HVAC_MODE";
2863
2863
  }, {
2864
- error: null;
2865
2864
  status: "pending";
2866
2865
  action_attempt_id: string;
2866
+ error: null;
2867
2867
  result: null;
2868
2868
  action_type: "SET_HVAC_MODE";
2869
2869
  }>, z.ZodObject<{
@@ -2875,15 +2875,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2875
2875
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
2876
2876
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2877
2877
  }, "strip", z.ZodTypeAny, {
2878
- error: null;
2879
2878
  status: "success";
2880
2879
  action_attempt_id: string;
2880
+ error: null;
2881
2881
  result: {};
2882
2882
  action_type: "SET_HVAC_MODE";
2883
2883
  }, {
2884
- error: null;
2885
2884
  status: "success";
2886
2885
  action_attempt_id: string;
2886
+ error: null;
2887
2887
  result: {};
2888
2888
  action_type: "SET_HVAC_MODE";
2889
2889
  }>, z.ZodObject<{
@@ -2897,28 +2897,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2897
2897
  type: z.ZodString;
2898
2898
  message: z.ZodString;
2899
2899
  }, "strip", z.ZodTypeAny, {
2900
- type: string;
2901
2900
  message: string;
2902
- }, {
2903
2901
  type: string;
2902
+ }, {
2904
2903
  message: string;
2904
+ type: string;
2905
2905
  }>;
2906
2906
  }, "strip", z.ZodTypeAny, {
2907
+ status: "error";
2908
+ action_attempt_id: string;
2907
2909
  error: {
2908
- type: string;
2909
2910
  message: string;
2911
+ type: string;
2910
2912
  };
2911
- status: "error";
2912
- action_attempt_id: string;
2913
2913
  result: null;
2914
2914
  action_type: "SET_HVAC_MODE";
2915
2915
  }, {
2916
+ status: "error";
2917
+ action_attempt_id: string;
2916
2918
  error: {
2917
- type: string;
2918
2919
  message: string;
2920
+ type: string;
2919
2921
  };
2920
- status: "error";
2921
- action_attempt_id: string;
2922
2922
  result: null;
2923
2923
  action_type: "SET_HVAC_MODE";
2924
2924
  }>, z.ZodObject<{
@@ -2930,15 +2930,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2930
2930
  } & {
2931
2931
  action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
2932
2932
  }, "strip", z.ZodTypeAny, {
2933
- error: null;
2934
2933
  status: "pending";
2935
2934
  action_attempt_id: string;
2935
+ error: null;
2936
2936
  result: null;
2937
2937
  action_type: "ACTIVATE_CLIMATE_PRESET";
2938
2938
  }, {
2939
- error: null;
2940
2939
  status: "pending";
2941
2940
  action_attempt_id: string;
2941
+ error: null;
2942
2942
  result: null;
2943
2943
  action_type: "ACTIVATE_CLIMATE_PRESET";
2944
2944
  }>, z.ZodObject<{
@@ -2950,15 +2950,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2950
2950
  action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
2951
2951
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2952
2952
  }, "strip", z.ZodTypeAny, {
2953
- error: null;
2954
2953
  status: "success";
2955
2954
  action_attempt_id: string;
2955
+ error: null;
2956
2956
  result: {};
2957
2957
  action_type: "ACTIVATE_CLIMATE_PRESET";
2958
2958
  }, {
2959
- error: null;
2960
2959
  status: "success";
2961
2960
  action_attempt_id: string;
2961
+ error: null;
2962
2962
  result: {};
2963
2963
  action_type: "ACTIVATE_CLIMATE_PRESET";
2964
2964
  }>, z.ZodObject<{
@@ -2972,28 +2972,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2972
2972
  type: z.ZodString;
2973
2973
  message: z.ZodString;
2974
2974
  }, "strip", z.ZodTypeAny, {
2975
- type: string;
2976
2975
  message: string;
2977
- }, {
2978
2976
  type: string;
2977
+ }, {
2979
2978
  message: string;
2979
+ type: string;
2980
2980
  }>;
2981
2981
  }, "strip", z.ZodTypeAny, {
2982
+ status: "error";
2983
+ action_attempt_id: string;
2982
2984
  error: {
2983
- type: string;
2984
2985
  message: string;
2986
+ type: string;
2985
2987
  };
2986
- status: "error";
2987
- action_attempt_id: string;
2988
2988
  result: null;
2989
2989
  action_type: "ACTIVATE_CLIMATE_PRESET";
2990
2990
  }, {
2991
+ status: "error";
2992
+ action_attempt_id: string;
2991
2993
  error: {
2992
- type: string;
2993
2994
  message: string;
2995
+ type: string;
2994
2996
  };
2995
- status: "error";
2996
- action_attempt_id: string;
2997
2997
  result: null;
2998
2998
  action_type: "ACTIVATE_CLIMATE_PRESET";
2999
2999
  }>, z.ZodObject<{
@@ -3005,15 +3005,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3005
3005
  } & {
3006
3006
  action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
3007
3007
  }, "strip", z.ZodTypeAny, {
3008
- error: null;
3009
3008
  status: "pending";
3010
3009
  action_attempt_id: string;
3010
+ error: null;
3011
3011
  result: null;
3012
3012
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
3013
3013
  }, {
3014
- error: null;
3015
3014
  status: "pending";
3016
3015
  action_attempt_id: string;
3016
+ error: null;
3017
3017
  result: null;
3018
3018
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
3019
3019
  }>, z.ZodObject<{
@@ -3025,15 +3025,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3025
3025
  action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
3026
3026
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3027
3027
  }, "strip", z.ZodTypeAny, {
3028
- error: null;
3029
3028
  status: "success";
3030
3029
  action_attempt_id: string;
3030
+ error: null;
3031
3031
  result: {};
3032
3032
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
3033
3033
  }, {
3034
- error: null;
3035
3034
  status: "success";
3036
3035
  action_attempt_id: string;
3036
+ error: null;
3037
3037
  result: {};
3038
3038
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
3039
3039
  }>, z.ZodObject<{
@@ -3047,28 +3047,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3047
3047
  type: z.ZodString;
3048
3048
  message: z.ZodString;
3049
3049
  }, "strip", z.ZodTypeAny, {
3050
- type: string;
3051
3050
  message: string;
3052
- }, {
3053
3051
  type: string;
3052
+ }, {
3054
3053
  message: string;
3054
+ type: string;
3055
3055
  }>;
3056
3056
  }, "strip", z.ZodTypeAny, {
3057
+ status: "error";
3058
+ action_attempt_id: string;
3057
3059
  error: {
3058
- type: string;
3059
3060
  message: string;
3061
+ type: string;
3060
3062
  };
3061
- status: "error";
3062
- action_attempt_id: string;
3063
3063
  result: null;
3064
3064
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
3065
3065
  }, {
3066
+ status: "error";
3067
+ action_attempt_id: string;
3066
3068
  error: {
3067
- type: string;
3068
3069
  message: string;
3070
+ type: string;
3069
3071
  };
3070
- status: "error";
3071
- action_attempt_id: string;
3072
3072
  result: null;
3073
3073
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
3074
3074
  }>, z.ZodObject<{
@@ -3080,15 +3080,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3080
3080
  } & {
3081
3081
  action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
3082
3082
  }, "strip", z.ZodTypeAny, {
3083
- error: null;
3084
3083
  status: "pending";
3085
3084
  action_attempt_id: string;
3085
+ error: null;
3086
3086
  result: null;
3087
3087
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
3088
3088
  }, {
3089
- error: null;
3090
3089
  status: "pending";
3091
3090
  action_attempt_id: string;
3091
+ error: null;
3092
3092
  result: null;
3093
3093
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
3094
3094
  }>, z.ZodObject<{
@@ -3100,15 +3100,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3100
3100
  action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
3101
3101
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3102
3102
  }, "strip", z.ZodTypeAny, {
3103
- error: null;
3104
3103
  status: "success";
3105
3104
  action_attempt_id: string;
3105
+ error: null;
3106
3106
  result: {};
3107
3107
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
3108
3108
  }, {
3109
- error: null;
3110
3109
  status: "success";
3111
3110
  action_attempt_id: string;
3111
+ error: null;
3112
3112
  result: {};
3113
3113
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
3114
3114
  }>, z.ZodObject<{
@@ -3122,28 +3122,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3122
3122
  type: z.ZodString;
3123
3123
  message: z.ZodString;
3124
3124
  }, "strip", z.ZodTypeAny, {
3125
- type: string;
3126
3125
  message: string;
3127
- }, {
3128
3126
  type: string;
3127
+ }, {
3129
3128
  message: string;
3129
+ type: string;
3130
3130
  }>;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
+ status: "error";
3133
+ action_attempt_id: string;
3132
3134
  error: {
3133
- type: string;
3134
3135
  message: string;
3136
+ type: string;
3135
3137
  };
3136
- status: "error";
3137
- action_attempt_id: string;
3138
3138
  result: null;
3139
3139
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
3140
3140
  }, {
3141
+ status: "error";
3142
+ action_attempt_id: string;
3141
3143
  error: {
3142
- type: string;
3143
3144
  message: string;
3145
+ type: string;
3144
3146
  };
3145
- status: "error";
3146
- action_attempt_id: string;
3147
3147
  result: null;
3148
3148
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
3149
3149
  }>, z.ZodObject<{
@@ -3155,15 +3155,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3155
3155
  } & {
3156
3156
  action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
3157
3157
  }, "strip", z.ZodTypeAny, {
3158
- error: null;
3159
3158
  status: "pending";
3160
3159
  action_attempt_id: string;
3160
+ error: null;
3161
3161
  result: null;
3162
3162
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
3163
3163
  }, {
3164
- error: null;
3165
3164
  status: "pending";
3166
3165
  action_attempt_id: string;
3166
+ error: null;
3167
3167
  result: null;
3168
3168
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
3169
3169
  }>, z.ZodObject<{
@@ -3175,15 +3175,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3175
3175
  action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
3176
3176
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3177
3177
  }, "strip", z.ZodTypeAny, {
3178
- error: null;
3179
3178
  status: "success";
3180
3179
  action_attempt_id: string;
3180
+ error: null;
3181
3181
  result: {};
3182
3182
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
3183
3183
  }, {
3184
- error: null;
3185
3184
  status: "success";
3186
3185
  action_attempt_id: string;
3186
+ error: null;
3187
3187
  result: {};
3188
3188
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
3189
3189
  }>, z.ZodObject<{
@@ -3197,28 +3197,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3197
3197
  type: z.ZodString;
3198
3198
  message: z.ZodString;
3199
3199
  }, "strip", z.ZodTypeAny, {
3200
- type: string;
3201
3200
  message: string;
3202
- }, {
3203
3201
  type: string;
3202
+ }, {
3204
3203
  message: string;
3204
+ type: string;
3205
3205
  }>;
3206
3206
  }, "strip", z.ZodTypeAny, {
3207
+ status: "error";
3208
+ action_attempt_id: string;
3207
3209
  error: {
3208
- type: string;
3209
3210
  message: string;
3211
+ type: string;
3210
3212
  };
3211
- status: "error";
3212
- action_attempt_id: string;
3213
3213
  result: null;
3214
3214
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
3215
3215
  }, {
3216
+ status: "error";
3217
+ action_attempt_id: string;
3216
3218
  error: {
3217
- type: string;
3218
3219
  message: string;
3220
+ type: string;
3219
3221
  };
3220
- status: "error";
3221
- action_attempt_id: string;
3222
3222
  result: null;
3223
3223
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
3224
3224
  }>, z.ZodObject<{
@@ -3230,15 +3230,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3230
3230
  } & {
3231
3231
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
3232
3232
  }, "strip", z.ZodTypeAny, {
3233
- error: null;
3234
3233
  status: "pending";
3235
3234
  action_attempt_id: string;
3235
+ error: null;
3236
3236
  result: null;
3237
3237
  action_type: "SYNC_ACCESS_CODES";
3238
3238
  }, {
3239
- error: null;
3240
3239
  status: "pending";
3241
3240
  action_attempt_id: string;
3241
+ error: null;
3242
3242
  result: null;
3243
3243
  action_type: "SYNC_ACCESS_CODES";
3244
3244
  }>, z.ZodObject<{
@@ -3250,15 +3250,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3250
3250
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
3251
3251
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3252
3252
  }, "strip", z.ZodTypeAny, {
3253
- error: null;
3254
3253
  status: "success";
3255
3254
  action_attempt_id: string;
3255
+ error: null;
3256
3256
  result: {};
3257
3257
  action_type: "SYNC_ACCESS_CODES";
3258
3258
  }, {
3259
- error: null;
3260
3259
  status: "success";
3261
3260
  action_attempt_id: string;
3261
+ error: null;
3262
3262
  result: {};
3263
3263
  action_type: "SYNC_ACCESS_CODES";
3264
3264
  }>, z.ZodObject<{
@@ -3272,28 +3272,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3272
3272
  type: z.ZodString;
3273
3273
  message: z.ZodString;
3274
3274
  }, "strip", z.ZodTypeAny, {
3275
- type: string;
3276
3275
  message: string;
3277
- }, {
3278
3276
  type: string;
3277
+ }, {
3279
3278
  message: string;
3279
+ type: string;
3280
3280
  }>;
3281
3281
  }, "strip", z.ZodTypeAny, {
3282
+ status: "error";
3283
+ action_attempt_id: string;
3282
3284
  error: {
3283
- type: string;
3284
3285
  message: string;
3286
+ type: string;
3285
3287
  };
3286
- status: "error";
3287
- action_attempt_id: string;
3288
3288
  result: null;
3289
3289
  action_type: "SYNC_ACCESS_CODES";
3290
3290
  }, {
3291
+ status: "error";
3292
+ action_attempt_id: string;
3291
3293
  error: {
3292
- type: string;
3293
3294
  message: string;
3295
+ type: string;
3294
3296
  };
3295
- status: "error";
3296
- action_attempt_id: string;
3297
3297
  result: null;
3298
3298
  action_type: "SYNC_ACCESS_CODES";
3299
3299
  }>, z.ZodObject<{
@@ -3305,15 +3305,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3305
3305
  } & {
3306
3306
  action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
3307
3307
  }, "strip", z.ZodTypeAny, {
3308
- error: null;
3309
3308
  status: "pending";
3310
3309
  action_attempt_id: string;
3310
+ error: null;
3311
3311
  result: null;
3312
3312
  action_type: "CREATE_ACCESS_CODE";
3313
3313
  }, {
3314
- error: null;
3315
3314
  status: "pending";
3316
3315
  action_attempt_id: string;
3316
+ error: null;
3317
3317
  result: null;
3318
3318
  action_type: "CREATE_ACCESS_CODE";
3319
3319
  }>, z.ZodObject<{
@@ -3331,17 +3331,17 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3331
3331
  access_code?: any;
3332
3332
  }>;
3333
3333
  }, "strip", z.ZodTypeAny, {
3334
- error: null;
3335
3334
  status: "success";
3336
3335
  action_attempt_id: string;
3336
+ error: null;
3337
3337
  result: {
3338
3338
  access_code?: any;
3339
3339
  };
3340
3340
  action_type: "CREATE_ACCESS_CODE";
3341
3341
  }, {
3342
- error: null;
3343
3342
  status: "success";
3344
3343
  action_attempt_id: string;
3344
+ error: null;
3345
3345
  result: {
3346
3346
  access_code?: any;
3347
3347
  };
@@ -3357,28 +3357,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3357
3357
  type: z.ZodString;
3358
3358
  message: z.ZodString;
3359
3359
  }, "strip", z.ZodTypeAny, {
3360
- type: string;
3361
3360
  message: string;
3362
- }, {
3363
3361
  type: string;
3362
+ }, {
3364
3363
  message: string;
3364
+ type: string;
3365
3365
  }>;
3366
3366
  }, "strip", z.ZodTypeAny, {
3367
+ status: "error";
3368
+ action_attempt_id: string;
3367
3369
  error: {
3368
- type: string;
3369
3370
  message: string;
3371
+ type: string;
3370
3372
  };
3371
- status: "error";
3372
- action_attempt_id: string;
3373
3373
  result: null;
3374
3374
  action_type: "CREATE_ACCESS_CODE";
3375
3375
  }, {
3376
+ status: "error";
3377
+ action_attempt_id: string;
3376
3378
  error: {
3377
- type: string;
3378
3379
  message: string;
3380
+ type: string;
3379
3381
  };
3380
- status: "error";
3381
- action_attempt_id: string;
3382
3382
  result: null;
3383
3383
  action_type: "CREATE_ACCESS_CODE";
3384
3384
  }>, z.ZodObject<{
@@ -3390,15 +3390,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3390
3390
  } & {
3391
3391
  action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
3392
3392
  }, "strip", z.ZodTypeAny, {
3393
- error: null;
3394
3393
  status: "pending";
3395
3394
  action_attempt_id: string;
3395
+ error: null;
3396
3396
  result: null;
3397
3397
  action_type: "DELETE_ACCESS_CODE";
3398
3398
  }, {
3399
- error: null;
3400
3399
  status: "pending";
3401
3400
  action_attempt_id: string;
3401
+ error: null;
3402
3402
  result: null;
3403
3403
  action_type: "DELETE_ACCESS_CODE";
3404
3404
  }>, z.ZodObject<{
@@ -3410,15 +3410,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3410
3410
  action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
3411
3411
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3412
3412
  }, "strip", z.ZodTypeAny, {
3413
- error: null;
3414
3413
  status: "success";
3415
3414
  action_attempt_id: string;
3415
+ error: null;
3416
3416
  result: {};
3417
3417
  action_type: "DELETE_ACCESS_CODE";
3418
3418
  }, {
3419
- error: null;
3420
3419
  status: "success";
3421
3420
  action_attempt_id: string;
3421
+ error: null;
3422
3422
  result: {};
3423
3423
  action_type: "DELETE_ACCESS_CODE";
3424
3424
  }>, z.ZodObject<{
@@ -3432,28 +3432,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3432
3432
  type: z.ZodString;
3433
3433
  message: z.ZodString;
3434
3434
  }, "strip", z.ZodTypeAny, {
3435
- type: string;
3436
3435
  message: string;
3437
- }, {
3438
3436
  type: string;
3437
+ }, {
3439
3438
  message: string;
3439
+ type: string;
3440
3440
  }>;
3441
3441
  }, "strip", z.ZodTypeAny, {
3442
+ status: "error";
3443
+ action_attempt_id: string;
3442
3444
  error: {
3443
- type: string;
3444
3445
  message: string;
3446
+ type: string;
3445
3447
  };
3446
- status: "error";
3447
- action_attempt_id: string;
3448
3448
  result: null;
3449
3449
  action_type: "DELETE_ACCESS_CODE";
3450
3450
  }, {
3451
+ status: "error";
3452
+ action_attempt_id: string;
3451
3453
  error: {
3452
- type: string;
3453
3454
  message: string;
3455
+ type: string;
3454
3456
  };
3455
- status: "error";
3456
- action_attempt_id: string;
3457
3457
  result: null;
3458
3458
  action_type: "DELETE_ACCESS_CODE";
3459
3459
  }>, z.ZodObject<{
@@ -3465,15 +3465,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3465
3465
  } & {
3466
3466
  action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
3467
3467
  }, "strip", z.ZodTypeAny, {
3468
- error: null;
3469
3468
  status: "pending";
3470
3469
  action_attempt_id: string;
3470
+ error: null;
3471
3471
  result: null;
3472
3472
  action_type: "UPDATE_ACCESS_CODE";
3473
3473
  }, {
3474
- error: null;
3475
3474
  status: "pending";
3476
3475
  action_attempt_id: string;
3476
+ error: null;
3477
3477
  result: null;
3478
3478
  action_type: "UPDATE_ACCESS_CODE";
3479
3479
  }>, z.ZodObject<{
@@ -3491,17 +3491,17 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3491
3491
  access_code?: any;
3492
3492
  }>;
3493
3493
  }, "strip", z.ZodTypeAny, {
3494
- error: null;
3495
3494
  status: "success";
3496
3495
  action_attempt_id: string;
3496
+ error: null;
3497
3497
  result: {
3498
3498
  access_code?: any;
3499
3499
  };
3500
3500
  action_type: "UPDATE_ACCESS_CODE";
3501
3501
  }, {
3502
- error: null;
3503
3502
  status: "success";
3504
3503
  action_attempt_id: string;
3504
+ error: null;
3505
3505
  result: {
3506
3506
  access_code?: any;
3507
3507
  };
@@ -3517,28 +3517,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3517
3517
  type: z.ZodString;
3518
3518
  message: z.ZodString;
3519
3519
  }, "strip", z.ZodTypeAny, {
3520
- type: string;
3521
3520
  message: string;
3522
- }, {
3523
3521
  type: string;
3522
+ }, {
3524
3523
  message: string;
3524
+ type: string;
3525
3525
  }>;
3526
3526
  }, "strip", z.ZodTypeAny, {
3527
+ status: "error";
3528
+ action_attempt_id: string;
3527
3529
  error: {
3528
- type: string;
3529
3530
  message: string;
3531
+ type: string;
3530
3532
  };
3531
- status: "error";
3532
- action_attempt_id: string;
3533
3533
  result: null;
3534
3534
  action_type: "UPDATE_ACCESS_CODE";
3535
3535
  }, {
3536
+ status: "error";
3537
+ action_attempt_id: string;
3536
3538
  error: {
3537
- type: string;
3538
3539
  message: string;
3540
+ type: string;
3539
3541
  };
3540
- status: "error";
3541
- action_attempt_id: string;
3542
3542
  result: null;
3543
3543
  action_type: "UPDATE_ACCESS_CODE";
3544
3544
  }>, z.ZodObject<{
@@ -3550,15 +3550,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3550
3550
  } & {
3551
3551
  action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
3552
3552
  }, "strip", z.ZodTypeAny, {
3553
- error: null;
3554
3553
  status: "pending";
3555
3554
  action_attempt_id: string;
3555
+ error: null;
3556
3556
  result: null;
3557
3557
  action_type: "CREATE_NOISE_THRESHOLD";
3558
3558
  }, {
3559
- error: null;
3560
3559
  status: "pending";
3561
3560
  action_attempt_id: string;
3561
+ error: null;
3562
3562
  result: null;
3563
3563
  action_type: "CREATE_NOISE_THRESHOLD";
3564
3564
  }>, z.ZodObject<{
@@ -3576,17 +3576,17 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3576
3576
  noise_threshold?: any;
3577
3577
  }>;
3578
3578
  }, "strip", z.ZodTypeAny, {
3579
- error: null;
3580
3579
  status: "success";
3581
3580
  action_attempt_id: string;
3581
+ error: null;
3582
3582
  result: {
3583
3583
  noise_threshold?: any;
3584
3584
  };
3585
3585
  action_type: "CREATE_NOISE_THRESHOLD";
3586
3586
  }, {
3587
- error: null;
3588
3587
  status: "success";
3589
3588
  action_attempt_id: string;
3589
+ error: null;
3590
3590
  result: {
3591
3591
  noise_threshold?: any;
3592
3592
  };
@@ -3602,28 +3602,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3602
3602
  type: z.ZodString;
3603
3603
  message: z.ZodString;
3604
3604
  }, "strip", z.ZodTypeAny, {
3605
- type: string;
3606
3605
  message: string;
3607
- }, {
3608
3606
  type: string;
3607
+ }, {
3609
3608
  message: string;
3609
+ type: string;
3610
3610
  }>;
3611
3611
  }, "strip", z.ZodTypeAny, {
3612
+ status: "error";
3613
+ action_attempt_id: string;
3612
3614
  error: {
3613
- type: string;
3614
3615
  message: string;
3616
+ type: string;
3615
3617
  };
3616
- status: "error";
3617
- action_attempt_id: string;
3618
3618
  result: null;
3619
3619
  action_type: "CREATE_NOISE_THRESHOLD";
3620
3620
  }, {
3621
+ status: "error";
3622
+ action_attempt_id: string;
3621
3623
  error: {
3622
- type: string;
3623
3624
  message: string;
3625
+ type: string;
3624
3626
  };
3625
- status: "error";
3626
- action_attempt_id: string;
3627
3627
  result: null;
3628
3628
  action_type: "CREATE_NOISE_THRESHOLD";
3629
3629
  }>, z.ZodObject<{
@@ -3635,15 +3635,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3635
3635
  } & {
3636
3636
  action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
3637
3637
  }, "strip", z.ZodTypeAny, {
3638
- error: null;
3639
3638
  status: "pending";
3640
3639
  action_attempt_id: string;
3640
+ error: null;
3641
3641
  result: null;
3642
3642
  action_type: "DELETE_NOISE_THRESHOLD";
3643
3643
  }, {
3644
- error: null;
3645
3644
  status: "pending";
3646
3645
  action_attempt_id: string;
3646
+ error: null;
3647
3647
  result: null;
3648
3648
  action_type: "DELETE_NOISE_THRESHOLD";
3649
3649
  }>, z.ZodObject<{
@@ -3655,15 +3655,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3655
3655
  action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
3656
3656
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3657
3657
  }, "strip", z.ZodTypeAny, {
3658
- error: null;
3659
3658
  status: "success";
3660
3659
  action_attempt_id: string;
3660
+ error: null;
3661
3661
  result: {};
3662
3662
  action_type: "DELETE_NOISE_THRESHOLD";
3663
3663
  }, {
3664
- error: null;
3665
3664
  status: "success";
3666
3665
  action_attempt_id: string;
3666
+ error: null;
3667
3667
  result: {};
3668
3668
  action_type: "DELETE_NOISE_THRESHOLD";
3669
3669
  }>, z.ZodObject<{
@@ -3677,28 +3677,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3677
3677
  type: z.ZodString;
3678
3678
  message: z.ZodString;
3679
3679
  }, "strip", z.ZodTypeAny, {
3680
- type: string;
3681
3680
  message: string;
3682
- }, {
3683
3681
  type: string;
3682
+ }, {
3684
3683
  message: string;
3684
+ type: string;
3685
3685
  }>;
3686
3686
  }, "strip", z.ZodTypeAny, {
3687
+ status: "error";
3688
+ action_attempt_id: string;
3687
3689
  error: {
3688
- type: string;
3689
3690
  message: string;
3691
+ type: string;
3690
3692
  };
3691
- status: "error";
3692
- action_attempt_id: string;
3693
3693
  result: null;
3694
3694
  action_type: "DELETE_NOISE_THRESHOLD";
3695
3695
  }, {
3696
+ status: "error";
3697
+ action_attempt_id: string;
3696
3698
  error: {
3697
- type: string;
3698
3699
  message: string;
3700
+ type: string;
3699
3701
  };
3700
- status: "error";
3701
- action_attempt_id: string;
3702
3702
  result: null;
3703
3703
  action_type: "DELETE_NOISE_THRESHOLD";
3704
3704
  }>, z.ZodObject<{
@@ -3710,15 +3710,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3710
3710
  } & {
3711
3711
  action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
3712
3712
  }, "strip", z.ZodTypeAny, {
3713
- error: null;
3714
3713
  status: "pending";
3715
3714
  action_attempt_id: string;
3715
+ error: null;
3716
3716
  result: null;
3717
3717
  action_type: "UPDATE_NOISE_THRESHOLD";
3718
3718
  }, {
3719
- error: null;
3720
3719
  status: "pending";
3721
3720
  action_attempt_id: string;
3721
+ error: null;
3722
3722
  result: null;
3723
3723
  action_type: "UPDATE_NOISE_THRESHOLD";
3724
3724
  }>, z.ZodObject<{
@@ -3736,17 +3736,17 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3736
3736
  noise_threshold?: any;
3737
3737
  }>;
3738
3738
  }, "strip", z.ZodTypeAny, {
3739
- error: null;
3740
3739
  status: "success";
3741
3740
  action_attempt_id: string;
3741
+ error: null;
3742
3742
  result: {
3743
3743
  noise_threshold?: any;
3744
3744
  };
3745
3745
  action_type: "UPDATE_NOISE_THRESHOLD";
3746
3746
  }, {
3747
- error: null;
3748
3747
  status: "success";
3749
3748
  action_attempt_id: string;
3749
+ error: null;
3750
3750
  result: {
3751
3751
  noise_threshold?: any;
3752
3752
  };
@@ -3762,28 +3762,28 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
3762
3762
  type: z.ZodString;
3763
3763
  message: z.ZodString;
3764
3764
  }, "strip", z.ZodTypeAny, {
3765
- type: string;
3766
3765
  message: string;
3767
- }, {
3768
3766
  type: string;
3767
+ }, {
3769
3768
  message: string;
3769
+ type: string;
3770
3770
  }>;
3771
3771
  }, "strip", z.ZodTypeAny, {
3772
+ status: "error";
3773
+ action_attempt_id: string;
3772
3774
  error: {
3773
- type: string;
3774
3775
  message: string;
3776
+ type: string;
3775
3777
  };
3776
- status: "error";
3777
- action_attempt_id: string;
3778
3778
  result: null;
3779
3779
  action_type: "UPDATE_NOISE_THRESHOLD";
3780
3780
  }, {
3781
+ status: "error";
3782
+ action_attempt_id: string;
3781
3783
  error: {
3782
- type: string;
3783
3784
  message: string;
3785
+ type: string;
3784
3786
  };
3785
- status: "error";
3786
- action_attempt_id: string;
3787
3787
  result: null;
3788
3788
  action_type: "UPDATE_NOISE_THRESHOLD";
3789
3789
  }>]>;