@seamapi/types 1.441.2 → 1.443.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 (89) hide show
  1. package/dist/connect.cjs +127 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1966 -1914
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +127 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +81 -0
  69. package/lib/seam/connect/openapi.js +123 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -1
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +137 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -1
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,13 +19,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "SCAN_CREDENTIAL";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
31
29
  result: z.ZodObject<{
32
30
  acs_credential_on_encoder: z.ZodNullable<z.ZodObject<{
@@ -116,7 +114,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
116
114
  card_holder?: string | undefined;
117
115
  } | undefined;
118
116
  }>>;
119
- acs_credential_on_seam: z.ZodNullable<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
117
+ acs_credential_on_seam: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
120
118
  acs_credential_id: z.ZodString;
121
119
  acs_user_id: z.ZodOptional<z.ZodString>;
122
120
  user_identity_id: z.ZodOptional<z.ZodString>;
@@ -147,12 +145,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
147
145
  message: string;
148
146
  error_code: string;
149
147
  }>, "many">;
150
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
148
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
151
149
  created_at: z.ZodString;
152
150
  message: z.ZodString;
153
- }, {
151
+ } & {
154
152
  warning_code: z.ZodLiteral<"waiting_to_be_issued">;
155
- }>, "strip", z.ZodTypeAny, {
153
+ }, "strip", z.ZodTypeAny, {
156
154
  message: string;
157
155
  created_at: string;
158
156
  warning_code: "waiting_to_be_issued";
@@ -160,12 +158,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
160
158
  message: string;
161
159
  created_at: string;
162
160
  warning_code: "waiting_to_be_issued";
163
- }>, z.ZodObject<z.objectUtil.extendShape<{
161
+ }>, z.ZodObject<{
164
162
  created_at: z.ZodString;
165
163
  message: z.ZodString;
166
- }, {
164
+ } & {
167
165
  warning_code: z.ZodLiteral<"schedule_externally_modified">;
168
- }>, "strip", z.ZodTypeAny, {
166
+ }, "strip", z.ZodTypeAny, {
169
167
  message: string;
170
168
  created_at: string;
171
169
  warning_code: "schedule_externally_modified";
@@ -173,12 +171,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
173
171
  message: string;
174
172
  created_at: string;
175
173
  warning_code: "schedule_externally_modified";
176
- }>, z.ZodObject<z.objectUtil.extendShape<{
174
+ }>, z.ZodObject<{
177
175
  created_at: z.ZodString;
178
176
  message: z.ZodString;
179
- }, {
177
+ } & {
180
178
  warning_code: z.ZodLiteral<"schedule_modified">;
181
- }>, "strip", z.ZodTypeAny, {
179
+ }, "strip", z.ZodTypeAny, {
182
180
  message: string;
183
181
  created_at: string;
184
182
  warning_code: "schedule_modified";
@@ -186,12 +184,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
186
184
  message: string;
187
185
  created_at: string;
188
186
  warning_code: "schedule_modified";
189
- }>, z.ZodObject<z.objectUtil.extendShape<{
187
+ }>, z.ZodObject<{
190
188
  created_at: z.ZodString;
191
189
  message: z.ZodString;
192
- }, {
190
+ } & {
193
191
  warning_code: z.ZodLiteral<"being_deleted">;
194
- }>, "strip", z.ZodTypeAny, {
192
+ }, "strip", z.ZodTypeAny, {
195
193
  message: string;
196
194
  created_at: string;
197
195
  warning_code: "being_deleted";
@@ -199,12 +197,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
199
197
  message: string;
200
198
  created_at: string;
201
199
  warning_code: "being_deleted";
202
- }>, z.ZodObject<z.objectUtil.extendShape<{
200
+ }>, z.ZodObject<{
203
201
  created_at: z.ZodString;
204
202
  message: z.ZodString;
205
- }, {
203
+ } & {
206
204
  warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
207
- }>, "strip", z.ZodTypeAny, {
205
+ }, "strip", z.ZodTypeAny, {
208
206
  message: string;
209
207
  created_at: string;
210
208
  warning_code: "unknown_issue_with_acs_credential";
@@ -212,12 +210,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
212
210
  message: string;
213
211
  created_at: string;
214
212
  warning_code: "unknown_issue_with_acs_credential";
215
- }>, z.ZodObject<z.objectUtil.extendShape<{
213
+ }>, z.ZodObject<{
216
214
  created_at: z.ZodString;
217
215
  message: z.ZodString;
218
- }, {
216
+ } & {
219
217
  warning_code: z.ZodLiteral<"needs_to_be_reissued">;
220
- }>, "strip", z.ZodTypeAny, {
218
+ }, "strip", z.ZodTypeAny, {
221
219
  message: string;
222
220
  created_at: string;
223
221
  warning_code: "needs_to_be_reissued";
@@ -279,9 +277,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
279
277
  key_issuing_request_id?: string | undefined;
280
278
  door_names?: string[] | undefined;
281
279
  }>>;
282
- }, {
280
+ } & {
283
281
  is_managed: z.ZodLiteral<true>;
284
- }>, "strip", z.ZodTypeAny, {
282
+ }, "strip", z.ZodTypeAny, {
285
283
  display_name: string;
286
284
  workspace_id: string;
287
285
  created_at: string;
@@ -425,7 +423,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
425
423
  is_multi_phone_sync_credential?: boolean | undefined;
426
424
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
427
425
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
428
- }>, z.ZodObject<z.objectUtil.extendShape<{
426
+ }>, z.ZodObject<{
429
427
  acs_credential_id: z.ZodString;
430
428
  acs_user_id: z.ZodOptional<z.ZodString>;
431
429
  user_identity_id: z.ZodOptional<z.ZodString>;
@@ -456,12 +454,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
456
454
  message: string;
457
455
  error_code: string;
458
456
  }>, "many">;
459
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
457
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
460
458
  created_at: z.ZodString;
461
459
  message: z.ZodString;
462
- }, {
460
+ } & {
463
461
  warning_code: z.ZodLiteral<"waiting_to_be_issued">;
464
- }>, "strip", z.ZodTypeAny, {
462
+ }, "strip", z.ZodTypeAny, {
465
463
  message: string;
466
464
  created_at: string;
467
465
  warning_code: "waiting_to_be_issued";
@@ -469,12 +467,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
469
467
  message: string;
470
468
  created_at: string;
471
469
  warning_code: "waiting_to_be_issued";
472
- }>, z.ZodObject<z.objectUtil.extendShape<{
470
+ }>, z.ZodObject<{
473
471
  created_at: z.ZodString;
474
472
  message: z.ZodString;
475
- }, {
473
+ } & {
476
474
  warning_code: z.ZodLiteral<"schedule_externally_modified">;
477
- }>, "strip", z.ZodTypeAny, {
475
+ }, "strip", z.ZodTypeAny, {
478
476
  message: string;
479
477
  created_at: string;
480
478
  warning_code: "schedule_externally_modified";
@@ -482,12 +480,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
482
480
  message: string;
483
481
  created_at: string;
484
482
  warning_code: "schedule_externally_modified";
485
- }>, z.ZodObject<z.objectUtil.extendShape<{
483
+ }>, z.ZodObject<{
486
484
  created_at: z.ZodString;
487
485
  message: z.ZodString;
488
- }, {
486
+ } & {
489
487
  warning_code: z.ZodLiteral<"schedule_modified">;
490
- }>, "strip", z.ZodTypeAny, {
488
+ }, "strip", z.ZodTypeAny, {
491
489
  message: string;
492
490
  created_at: string;
493
491
  warning_code: "schedule_modified";
@@ -495,12 +493,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
495
493
  message: string;
496
494
  created_at: string;
497
495
  warning_code: "schedule_modified";
498
- }>, z.ZodObject<z.objectUtil.extendShape<{
496
+ }>, z.ZodObject<{
499
497
  created_at: z.ZodString;
500
498
  message: z.ZodString;
501
- }, {
499
+ } & {
502
500
  warning_code: z.ZodLiteral<"being_deleted">;
503
- }>, "strip", z.ZodTypeAny, {
501
+ }, "strip", z.ZodTypeAny, {
504
502
  message: string;
505
503
  created_at: string;
506
504
  warning_code: "being_deleted";
@@ -508,12 +506,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
508
506
  message: string;
509
507
  created_at: string;
510
508
  warning_code: "being_deleted";
511
- }>, z.ZodObject<z.objectUtil.extendShape<{
509
+ }>, z.ZodObject<{
512
510
  created_at: z.ZodString;
513
511
  message: z.ZodString;
514
- }, {
512
+ } & {
515
513
  warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
516
- }>, "strip", z.ZodTypeAny, {
514
+ }, "strip", z.ZodTypeAny, {
517
515
  message: string;
518
516
  created_at: string;
519
517
  warning_code: "unknown_issue_with_acs_credential";
@@ -521,12 +519,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
521
519
  message: string;
522
520
  created_at: string;
523
521
  warning_code: "unknown_issue_with_acs_credential";
524
- }>, z.ZodObject<z.objectUtil.extendShape<{
522
+ }>, z.ZodObject<{
525
523
  created_at: z.ZodString;
526
524
  message: z.ZodString;
527
- }, {
525
+ } & {
528
526
  warning_code: z.ZodLiteral<"needs_to_be_reissued">;
529
- }>, "strip", z.ZodTypeAny, {
527
+ }, "strip", z.ZodTypeAny, {
530
528
  message: string;
531
529
  created_at: string;
532
530
  warning_code: "needs_to_be_reissued";
@@ -588,9 +586,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
588
586
  key_issuing_request_id?: string | undefined;
589
587
  door_names?: string[] | undefined;
590
588
  }>>;
591
- }, {
589
+ } & {
592
590
  is_managed: z.ZodLiteral<false>;
593
- }>, "strip", z.ZodTypeAny, {
591
+ }, "strip", z.ZodTypeAny, {
594
592
  display_name: string;
595
593
  workspace_id: string;
596
594
  created_at: string;
@@ -1088,7 +1086,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1088
1086
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
1089
1087
  } | null;
1090
1088
  }>;
1091
- }>, "strip", z.ZodTypeAny, {
1089
+ }, "strip", z.ZodTypeAny, {
1092
1090
  error: null;
1093
1091
  status: "success";
1094
1092
  action_attempt_id: string;
@@ -1442,13 +1440,12 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1442
1440
  } | null;
1443
1441
  };
1444
1442
  action_type: "SCAN_CREDENTIAL";
1445
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1443
+ }>, z.ZodObject<{
1446
1444
  action_attempt_id: z.ZodString;
1447
- status: z.ZodEnum<["pending", "success", "error"]>;
1448
- }, {
1445
+ } & {
1449
1446
  status: z.ZodLiteral<"error">;
1450
1447
  result: z.ZodNull;
1451
- }>, {
1448
+ } & {
1452
1449
  action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
1453
1450
  error: z.ZodUnion<[z.ZodObject<{
1454
1451
  type: z.ZodLiteral<"uncategorized_error">;
@@ -1478,7 +1475,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1478
1475
  type: "no_credential_on_encoder";
1479
1476
  message: string;
1480
1477
  }>]>;
1481
- }>, "strip", z.ZodTypeAny, {
1478
+ }, "strip", z.ZodTypeAny, {
1482
1479
  error: {
1483
1480
  type: "uncategorized_error";
1484
1481
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "SET_FAN_MODE";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "SET_FAN_MODE";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const set_fan_mode_action_attempt: z.ZodDiscriminatedUnion<"statu
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"stat
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "SET_HVAC_MODE";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"stat
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "SET_HVAC_MODE";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"stat
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminat
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminat
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const simulate_keypad_code_entry_action_attempt: z.ZodDiscriminat
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscri
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscri
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const simulate_manual_lock_via_keypad_action_attempt: z.ZodDiscri
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "UNLOCK_DOOR";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "UNLOCK_DOOR";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"UNLOCK_DOOR">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const unlock_door_action_attempt: z.ZodDiscriminatedUnion<"status
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;