@seamapi/types 1.395.0 → 1.395.2

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 (71) hide show
  1. package/dist/connect.cjs +58 -80
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +705 -778
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -9
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
  8. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  9. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  11. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
  13. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  14. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  15. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  16. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  18. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  19. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  20. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  21. package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
  22. package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
  23. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  24. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  25. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
  26. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
  27. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
  28. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  29. package/lib/seam/connect/models/devices/device.d.ts +37 -30
  30. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  31. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
  32. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  33. package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
  34. package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
  35. package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
  36. package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
  37. package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
  38. package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
  39. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  40. package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
  41. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  42. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  43. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
  44. package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
  45. package/lib/seam/connect/models/events/common.d.ts +2 -2
  46. package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
  47. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  48. package/lib/seam/connect/models/events/devices.d.ts +132 -132
  49. package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
  50. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  51. package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
  52. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
  53. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  54. package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
  55. package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
  56. package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
  57. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
  58. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
  59. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  60. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  61. package/lib/seam/connect/openapi.d.ts +35 -8
  62. package/lib/seam/connect/openapi.js +43 -65
  63. package/lib/seam/connect/openapi.js.map +1 -1
  64. package/lib/seam/connect/route-types.d.ts +136 -183
  65. package/package.json +2 -2
  66. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -12
  67. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
  68. package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
  69. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
  70. package/src/lib/seam/connect/openapi.ts +47 -74
  71. package/src/lib/seam/connect/route-types.ts +617 -595
@@ -180,22 +180,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
180
180
  message: z.ZodString;
181
181
  is_access_code_error: z.ZodLiteral<true>;
182
182
  created_at: z.ZodOptional<z.ZodString>;
183
- }, {
184
- error_code: z.ZodLiteral<"schlage_lock_exceeds_maximum_number_of_access_codes">;
185
- }>, "strip", z.ZodTypeAny, {
186
- message: string;
187
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
188
- is_access_code_error: true;
189
- created_at?: string | undefined;
190
- }, {
191
- message: string;
192
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
193
- is_access_code_error: true;
194
- created_at?: string | undefined;
195
- }>, z.ZodObject<z.objectUtil.extendShape<{
196
- message: z.ZodString;
197
- is_access_code_error: z.ZodLiteral<true>;
198
- created_at: z.ZodOptional<z.ZodString>;
199
183
  }, {
200
184
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
201
185
  }>, "strip", z.ZodTypeAny, {
@@ -766,22 +750,6 @@ declare const access_code: z.ZodObject<{
766
750
  message: z.ZodString;
767
751
  is_access_code_error: z.ZodLiteral<true>;
768
752
  created_at: z.ZodOptional<z.ZodString>;
769
- }, {
770
- error_code: z.ZodLiteral<"schlage_lock_exceeds_maximum_number_of_access_codes">;
771
- }>, "strip", z.ZodTypeAny, {
772
- message: string;
773
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
774
- is_access_code_error: true;
775
- created_at?: string | undefined;
776
- }, {
777
- message: string;
778
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
779
- is_access_code_error: true;
780
- created_at?: string | undefined;
781
- }>, z.ZodObject<z.objectUtil.extendShape<{
782
- message: z.ZodString;
783
- is_access_code_error: z.ZodLiteral<true>;
784
- created_at: z.ZodOptional<z.ZodString>;
785
753
  }, {
786
754
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
787
755
  }>, "strip", z.ZodTypeAny, {
@@ -1681,11 +1649,6 @@ declare const access_code: z.ZodObject<{
1681
1649
  error_code: "igloohome_offline_access_code_no_variance_available";
1682
1650
  is_access_code_error: true;
1683
1651
  created_at?: string | undefined;
1684
- } | {
1685
- message: string;
1686
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
1687
- is_access_code_error: true;
1688
- created_at?: string | undefined;
1689
1652
  } | {
1690
1653
  message: string;
1691
1654
  error_code: "august_lock_invalid_code_length";
@@ -1980,11 +1943,6 @@ declare const access_code: z.ZodObject<{
1980
1943
  error_code: "igloohome_offline_access_code_no_variance_available";
1981
1944
  is_access_code_error: true;
1982
1945
  created_at?: string | undefined;
1983
- } | {
1984
- message: string;
1985
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
1986
- is_access_code_error: true;
1987
- created_at?: string | undefined;
1988
1946
  } | {
1989
1947
  message: string;
1990
1948
  error_code: "august_lock_invalid_code_length";
@@ -2301,22 +2259,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2301
2259
  message: z.ZodString;
2302
2260
  is_access_code_error: z.ZodLiteral<true>;
2303
2261
  created_at: z.ZodOptional<z.ZodString>;
2304
- }, {
2305
- error_code: z.ZodLiteral<"schlage_lock_exceeds_maximum_number_of_access_codes">;
2306
- }>, "strip", z.ZodTypeAny, {
2307
- message: string;
2308
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
2309
- is_access_code_error: true;
2310
- created_at?: string | undefined;
2311
- }, {
2312
- message: string;
2313
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
2314
- is_access_code_error: true;
2315
- created_at?: string | undefined;
2316
- }>, z.ZodObject<z.objectUtil.extendShape<{
2317
- message: z.ZodString;
2318
- is_access_code_error: z.ZodLiteral<true>;
2319
- created_at: z.ZodOptional<z.ZodString>;
2320
2262
  }, {
2321
2263
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
2322
2264
  }>, "strip", z.ZodTypeAny, {
@@ -3219,11 +3161,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
3219
3161
  error_code: "igloohome_offline_access_code_no_variance_available";
3220
3162
  is_access_code_error: true;
3221
3163
  created_at?: string | undefined;
3222
- } | {
3223
- message: string;
3224
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
3225
- is_access_code_error: true;
3226
- created_at?: string | undefined;
3227
3164
  } | {
3228
3165
  message: string;
3229
3166
  error_code: "august_lock_invalid_code_length";
@@ -3509,11 +3446,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
3509
3446
  error_code: "igloohome_offline_access_code_no_variance_available";
3510
3447
  is_access_code_error: true;
3511
3448
  created_at?: string | undefined;
3512
- } | {
3513
- message: string;
3514
- error_code: "schlage_lock_exceeds_maximum_number_of_access_codes";
3515
- is_access_code_error: true;
3516
- created_at?: string | undefined;
3517
3449
  } | {
3518
3450
  message: string;
3519
3451
  error_code: "august_lock_invalid_code_length";
@@ -3661,13 +3593,13 @@ declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3661
3593
  }>, "strip", z.ZodTypeAny, {
3662
3594
  name: string;
3663
3595
  display_name: string;
3596
+ workspace_id: string;
3664
3597
  created_at: string;
3665
3598
  warnings: {
3666
3599
  message: string;
3667
3600
  created_at: string;
3668
3601
  warning_code: "unknown_issue_with_acs_access_group";
3669
3602
  }[];
3670
- workspace_id: string;
3671
3603
  is_managed: true;
3672
3604
  acs_access_group_id: string;
3673
3605
  acs_system_id: string;
@@ -3678,13 +3610,13 @@ declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3678
3610
  }, {
3679
3611
  name: string;
3680
3612
  display_name: string;
3613
+ workspace_id: string;
3681
3614
  created_at: string;
3682
3615
  warnings: {
3683
3616
  message: string;
3684
3617
  created_at: string;
3685
3618
  warning_code: "unknown_issue_with_acs_access_group";
3686
3619
  }[];
3687
- workspace_id: string;
3688
3620
  is_managed: true;
3689
3621
  acs_access_group_id: string;
3690
3622
  acs_system_id: string;
@@ -3723,13 +3655,13 @@ declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3723
3655
  }>, "strip", z.ZodTypeAny, {
3724
3656
  name: string;
3725
3657
  display_name: string;
3658
+ workspace_id: string;
3726
3659
  created_at: string;
3727
3660
  warnings: {
3728
3661
  message: string;
3729
3662
  created_at: string;
3730
3663
  warning_code: "unknown_issue_with_acs_access_group";
3731
3664
  }[];
3732
- workspace_id: string;
3733
3665
  is_managed: false;
3734
3666
  acs_access_group_id: string;
3735
3667
  acs_system_id: string;
@@ -3740,13 +3672,13 @@ declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3740
3672
  }, {
3741
3673
  name: string;
3742
3674
  display_name: string;
3675
+ workspace_id: string;
3743
3676
  created_at: string;
3744
3677
  warnings: {
3745
3678
  message: string;
3746
3679
  created_at: string;
3747
3680
  warning_code: "unknown_issue_with_acs_access_group";
3748
3681
  }[];
3749
- workspace_id: string;
3750
3682
  is_managed: false;
3751
3683
  acs_access_group_id: string;
3752
3684
  acs_system_id: string;
@@ -3922,6 +3854,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
3922
3854
  is_managed: z.ZodLiteral<true>;
3923
3855
  }>, "strip", z.ZodTypeAny, {
3924
3856
  display_name: string;
3857
+ workspace_id: string;
3925
3858
  created_at: string;
3926
3859
  errors: {
3927
3860
  message: string;
@@ -3952,7 +3885,6 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
3952
3885
  created_at: string;
3953
3886
  warning_code: "needs_to_be_reissued";
3954
3887
  })[];
3955
- workspace_id: string;
3956
3888
  is_managed: true;
3957
3889
  acs_system_id: string;
3958
3890
  acs_credential_id: string;
@@ -3992,6 +3924,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
3992
3924
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
3993
3925
  }, {
3994
3926
  display_name: string;
3927
+ workspace_id: string;
3995
3928
  created_at: string;
3996
3929
  errors: {
3997
3930
  message: string;
@@ -4022,7 +3955,6 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4022
3955
  created_at: string;
4023
3956
  warning_code: "needs_to_be_reissued";
4024
3957
  })[];
4025
- workspace_id: string;
4026
3958
  is_managed: true;
4027
3959
  acs_system_id: string;
4028
3960
  acs_credential_id: string;
@@ -4226,6 +4158,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4226
4158
  is_managed: z.ZodLiteral<false>;
4227
4159
  }>, "strip", z.ZodTypeAny, {
4228
4160
  display_name: string;
4161
+ workspace_id: string;
4229
4162
  created_at: string;
4230
4163
  errors: {
4231
4164
  message: string;
@@ -4256,7 +4189,6 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4256
4189
  created_at: string;
4257
4190
  warning_code: "needs_to_be_reissued";
4258
4191
  })[];
4259
- workspace_id: string;
4260
4192
  is_managed: false;
4261
4193
  acs_system_id: string;
4262
4194
  acs_credential_id: string;
@@ -4296,6 +4228,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4296
4228
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
4297
4229
  }, {
4298
4230
  display_name: string;
4231
+ workspace_id: string;
4299
4232
  created_at: string;
4300
4233
  errors: {
4301
4234
  message: string;
@@ -4326,7 +4259,6 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4326
4259
  created_at: string;
4327
4260
  warning_code: "needs_to_be_reissued";
4328
4261
  })[];
4329
- workspace_id: string;
4330
4262
  is_managed: false;
4331
4263
  acs_system_id: string;
4332
4264
  acs_credential_id: string;
@@ -4389,24 +4321,24 @@ declare const acs_encoder: z.ZodObject<{
4389
4321
  display_name: z.ZodString;
4390
4322
  }, "strip", z.ZodTypeAny, {
4391
4323
  display_name: string;
4324
+ workspace_id: string;
4392
4325
  created_at: string;
4393
4326
  errors: {
4394
4327
  message: string;
4395
4328
  created_at: string;
4396
4329
  error_code: "acs_encoder_removed";
4397
4330
  }[];
4398
- workspace_id: string;
4399
4331
  acs_system_id: string;
4400
4332
  acs_encoder_id: string;
4401
4333
  }, {
4402
4334
  display_name: string;
4335
+ workspace_id: string;
4403
4336
  created_at: string;
4404
4337
  errors: {
4405
4338
  message: string;
4406
4339
  created_at: string;
4407
4340
  error_code: "acs_encoder_removed";
4408
4341
  }[];
4409
- workspace_id: string;
4410
4342
  acs_system_id: string;
4411
4343
  acs_encoder_id: string;
4412
4344
  }>;
@@ -4812,6 +4744,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4812
4744
  can_update_user_group_membership: z.ZodOptional<z.ZodBoolean>;
4813
4745
  }>, "strip", z.ZodTypeAny, {
4814
4746
  name: string;
4747
+ workspace_id: string;
4815
4748
  created_at: string;
4816
4749
  errors: ({
4817
4750
  message: string;
@@ -4859,7 +4792,6 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4859
4792
  location: {
4860
4793
  time_zone: string | null;
4861
4794
  };
4862
- workspace_id: string;
4863
4795
  acs_system_id: string;
4864
4796
  is_credential_manager: boolean;
4865
4797
  connected_account_ids: string[];
@@ -4887,6 +4819,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4887
4819
  system_type_display_name?: string | undefined;
4888
4820
  }, {
4889
4821
  name: string;
4822
+ workspace_id: string;
4890
4823
  created_at: string;
4891
4824
  errors: ({
4892
4825
  message: string;
@@ -4934,7 +4867,6 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4934
4867
  location: {
4935
4868
  time_zone: string | null;
4936
4869
  };
4937
- workspace_id: string;
4938
4870
  acs_system_id: string;
4939
4871
  is_credential_manager: boolean;
4940
4872
  connected_account_ids: string[];
@@ -5342,6 +5274,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5342
5274
  is_managed: z.ZodLiteral<true>;
5343
5275
  }>, "strip", z.ZodTypeAny, {
5344
5276
  display_name: string;
5277
+ workspace_id: string;
5345
5278
  created_at: string;
5346
5279
  errors: ({
5347
5280
  message: string;
@@ -5385,7 +5318,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5385
5318
  created_at: string;
5386
5319
  warning_code: "latch_resident_user";
5387
5320
  })[];
5388
- workspace_id: string;
5389
5321
  is_managed: true;
5390
5322
  acs_system_id: string;
5391
5323
  acs_user_id: string;
@@ -5463,6 +5395,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5463
5395
  })[] | undefined;
5464
5396
  }, {
5465
5397
  display_name: string;
5398
+ workspace_id: string;
5466
5399
  created_at: string;
5467
5400
  errors: ({
5468
5401
  message: string;
@@ -5506,7 +5439,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5506
5439
  created_at: string;
5507
5440
  warning_code: "latch_resident_user";
5508
5441
  })[];
5509
- workspace_id: string;
5510
5442
  is_managed: true;
5511
5443
  acs_system_id: string;
5512
5444
  acs_user_id: string;
@@ -5962,6 +5894,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5962
5894
  is_managed: z.ZodLiteral<false>;
5963
5895
  }>, "strip", z.ZodTypeAny, {
5964
5896
  display_name: string;
5897
+ workspace_id: string;
5965
5898
  created_at: string;
5966
5899
  errors: ({
5967
5900
  message: string;
@@ -6005,7 +5938,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
6005
5938
  created_at: string;
6006
5939
  warning_code: "latch_resident_user";
6007
5940
  })[];
6008
- workspace_id: string;
6009
5941
  is_managed: false;
6010
5942
  acs_system_id: string;
6011
5943
  acs_user_id: string;
@@ -6083,6 +6015,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
6083
6015
  })[] | undefined;
6084
6016
  }, {
6085
6017
  display_name: string;
6018
+ workspace_id: string;
6086
6019
  created_at: string;
6087
6020
  errors: ({
6088
6021
  message: string;
@@ -6126,7 +6059,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
6126
6059
  created_at: string;
6127
6060
  warning_code: "latch_resident_user";
6128
6061
  })[];
6129
- workspace_id: string;
6130
6062
  is_managed: false;
6131
6063
  acs_system_id: string;
6132
6064
  acs_user_id: string;
@@ -6643,6 +6575,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6643
6575
  is_managed: z.ZodLiteral<true>;
6644
6576
  }>, "strip", z.ZodTypeAny, {
6645
6577
  display_name: string;
6578
+ workspace_id: string;
6646
6579
  created_at: string;
6647
6580
  errors: {
6648
6581
  message: string;
@@ -6673,7 +6606,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6673
6606
  created_at: string;
6674
6607
  warning_code: "needs_to_be_reissued";
6675
6608
  })[];
6676
- workspace_id: string;
6677
6609
  is_managed: true;
6678
6610
  acs_system_id: string;
6679
6611
  acs_credential_id: string;
@@ -6713,6 +6645,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6713
6645
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
6714
6646
  }, {
6715
6647
  display_name: string;
6648
+ workspace_id: string;
6716
6649
  created_at: string;
6717
6650
  errors: {
6718
6651
  message: string;
@@ -6743,7 +6676,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6743
6676
  created_at: string;
6744
6677
  warning_code: "needs_to_be_reissued";
6745
6678
  })[];
6746
- workspace_id: string;
6747
6679
  is_managed: true;
6748
6680
  acs_system_id: string;
6749
6681
  acs_credential_id: string;
@@ -6946,6 +6878,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6946
6878
  is_managed: z.ZodLiteral<false>;
6947
6879
  }>, "strip", z.ZodTypeAny, {
6948
6880
  display_name: string;
6881
+ workspace_id: string;
6949
6882
  created_at: string;
6950
6883
  errors: {
6951
6884
  message: string;
@@ -6976,7 +6909,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6976
6909
  created_at: string;
6977
6910
  warning_code: "needs_to_be_reissued";
6978
6911
  })[];
6979
- workspace_id: string;
6980
6912
  is_managed: false;
6981
6913
  acs_system_id: string;
6982
6914
  acs_credential_id: string;
@@ -7016,6 +6948,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7016
6948
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7017
6949
  }, {
7018
6950
  display_name: string;
6951
+ workspace_id: string;
7019
6952
  created_at: string;
7020
6953
  errors: {
7021
6954
  message: string;
@@ -7046,7 +6979,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7046
6979
  created_at: string;
7047
6980
  warning_code: "needs_to_be_reissued";
7048
6981
  })[];
7049
- workspace_id: string;
7050
6982
  is_managed: false;
7051
6983
  acs_system_id: string;
7052
6984
  acs_credential_id: string;
@@ -7123,6 +7055,77 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7123
7055
  } | null;
7124
7056
  acs_credential_on_seam: {
7125
7057
  display_name: string;
7058
+ workspace_id: string;
7059
+ created_at: string;
7060
+ errors: {
7061
+ message: string;
7062
+ error_code: string;
7063
+ }[];
7064
+ warnings: ({
7065
+ message: string;
7066
+ created_at: string;
7067
+ warning_code: "waiting_to_be_issued";
7068
+ } | {
7069
+ message: string;
7070
+ created_at: string;
7071
+ warning_code: "schedule_externally_modified";
7072
+ } | {
7073
+ message: string;
7074
+ created_at: string;
7075
+ warning_code: "schedule_modified";
7076
+ } | {
7077
+ message: string;
7078
+ created_at: string;
7079
+ warning_code: "being_deleted";
7080
+ } | {
7081
+ message: string;
7082
+ created_at: string;
7083
+ warning_code: "unknown_issue_with_acs_credential";
7084
+ } | {
7085
+ message: string;
7086
+ created_at: string;
7087
+ warning_code: "needs_to_be_reissued";
7088
+ })[];
7089
+ is_managed: true;
7090
+ acs_system_id: string;
7091
+ acs_credential_id: string;
7092
+ access_method: "code" | "card" | "mobile_key";
7093
+ code?: string | null | undefined;
7094
+ starts_at?: string | undefined;
7095
+ ends_at?: string | undefined;
7096
+ visionline_metadata?: {
7097
+ card_function_type: "guest" | "staff";
7098
+ auto_join?: boolean | undefined;
7099
+ joiner_acs_credential_ids?: string[] | undefined;
7100
+ guest_acs_entrance_ids?: string[] | undefined;
7101
+ common_acs_entrance_ids?: string[] | undefined;
7102
+ is_valid?: boolean | undefined;
7103
+ card_id?: string | undefined;
7104
+ credential_id?: string | undefined;
7105
+ } | undefined;
7106
+ assa_abloy_vostio_metadata?: {
7107
+ endpoint_id?: string | undefined;
7108
+ auto_join?: boolean | undefined;
7109
+ override_guest_acs_entrance_ids?: string[] | undefined;
7110
+ key_id?: string | undefined;
7111
+ key_issuing_request_id?: string | undefined;
7112
+ door_names?: string[] | undefined;
7113
+ } | undefined;
7114
+ is_one_time_use?: boolean | undefined;
7115
+ issued_at?: string | null | undefined;
7116
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
7117
+ external_type_display_name?: string | undefined;
7118
+ acs_user_id?: string | undefined;
7119
+ acs_credential_pool_id?: string | undefined;
7120
+ parent_acs_credential_id?: string | undefined;
7121
+ card_number?: string | null | undefined;
7122
+ is_issued?: boolean | undefined;
7123
+ is_multi_phone_sync_credential?: boolean | undefined;
7124
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
7125
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
7126
+ } | {
7127
+ display_name: string;
7128
+ workspace_id: string;
7126
7129
  created_at: string;
7127
7130
  errors: {
7128
7131
  message: string;
@@ -7153,7 +7156,103 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7153
7156
  created_at: string;
7154
7157
  warning_code: "needs_to_be_reissued";
7155
7158
  })[];
7159
+ is_managed: false;
7160
+ acs_system_id: string;
7161
+ acs_credential_id: string;
7162
+ access_method: "code" | "card" | "mobile_key";
7163
+ code?: string | null | undefined;
7164
+ starts_at?: string | undefined;
7165
+ ends_at?: string | undefined;
7166
+ visionline_metadata?: {
7167
+ card_function_type: "guest" | "staff";
7168
+ auto_join?: boolean | undefined;
7169
+ joiner_acs_credential_ids?: string[] | undefined;
7170
+ guest_acs_entrance_ids?: string[] | undefined;
7171
+ common_acs_entrance_ids?: string[] | undefined;
7172
+ is_valid?: boolean | undefined;
7173
+ card_id?: string | undefined;
7174
+ credential_id?: string | undefined;
7175
+ } | undefined;
7176
+ assa_abloy_vostio_metadata?: {
7177
+ endpoint_id?: string | undefined;
7178
+ auto_join?: boolean | undefined;
7179
+ override_guest_acs_entrance_ids?: string[] | undefined;
7180
+ key_id?: string | undefined;
7181
+ key_issuing_request_id?: string | undefined;
7182
+ door_names?: string[] | undefined;
7183
+ } | undefined;
7184
+ is_one_time_use?: boolean | undefined;
7185
+ issued_at?: string | null | undefined;
7186
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
7187
+ external_type_display_name?: string | undefined;
7188
+ acs_user_id?: string | undefined;
7189
+ acs_credential_pool_id?: string | undefined;
7190
+ parent_acs_credential_id?: string | undefined;
7191
+ card_number?: string | null | undefined;
7192
+ is_issued?: boolean | undefined;
7193
+ is_multi_phone_sync_credential?: boolean | undefined;
7194
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
7195
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
7196
+ } | null;
7197
+ }, {
7198
+ warnings: {
7199
+ warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
7200
+ warning_message: string;
7201
+ }[];
7202
+ acs_credential_on_encoder: {
7203
+ created_at: string | null;
7204
+ starts_at: string | null;
7205
+ ends_at: string | null;
7206
+ card_number: string | null;
7207
+ is_issued: boolean | null;
7208
+ visionline_metadata?: {
7209
+ card_id: string;
7210
+ cancelled: boolean;
7211
+ discarded: boolean;
7212
+ expired: boolean;
7213
+ overwritten: boolean;
7214
+ pending_auto_update: boolean;
7215
+ card_format: "TLCode" | "rfid48";
7216
+ number_of_issued_cards: number;
7217
+ guest_acs_entrance_ids?: string[] | undefined;
7218
+ common_acs_entrance_ids?: string[] | undefined;
7219
+ overridden?: boolean | undefined;
7220
+ card_holder?: string | undefined;
7221
+ } | undefined;
7222
+ } | null;
7223
+ acs_credential_on_seam: {
7224
+ display_name: string;
7156
7225
  workspace_id: string;
7226
+ created_at: string;
7227
+ errors: {
7228
+ message: string;
7229
+ error_code: string;
7230
+ }[];
7231
+ warnings: ({
7232
+ message: string;
7233
+ created_at: string;
7234
+ warning_code: "waiting_to_be_issued";
7235
+ } | {
7236
+ message: string;
7237
+ created_at: string;
7238
+ warning_code: "schedule_externally_modified";
7239
+ } | {
7240
+ message: string;
7241
+ created_at: string;
7242
+ warning_code: "schedule_modified";
7243
+ } | {
7244
+ message: string;
7245
+ created_at: string;
7246
+ warning_code: "being_deleted";
7247
+ } | {
7248
+ message: string;
7249
+ created_at: string;
7250
+ warning_code: "unknown_issue_with_acs_credential";
7251
+ } | {
7252
+ message: string;
7253
+ created_at: string;
7254
+ warning_code: "needs_to_be_reissued";
7255
+ })[];
7157
7256
  is_managed: true;
7158
7257
  acs_system_id: string;
7159
7258
  acs_credential_id: string;
@@ -7193,103 +7292,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7193
7292
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7194
7293
  } | {
7195
7294
  display_name: string;
7196
- created_at: string;
7197
- errors: {
7198
- message: string;
7199
- error_code: string;
7200
- }[];
7201
- warnings: ({
7202
- message: string;
7203
- created_at: string;
7204
- warning_code: "waiting_to_be_issued";
7205
- } | {
7206
- message: string;
7207
- created_at: string;
7208
- warning_code: "schedule_externally_modified";
7209
- } | {
7210
- message: string;
7211
- created_at: string;
7212
- warning_code: "schedule_modified";
7213
- } | {
7214
- message: string;
7215
- created_at: string;
7216
- warning_code: "being_deleted";
7217
- } | {
7218
- message: string;
7219
- created_at: string;
7220
- warning_code: "unknown_issue_with_acs_credential";
7221
- } | {
7222
- message: string;
7223
- created_at: string;
7224
- warning_code: "needs_to_be_reissued";
7225
- })[];
7226
7295
  workspace_id: string;
7227
- is_managed: false;
7228
- acs_system_id: string;
7229
- acs_credential_id: string;
7230
- access_method: "code" | "card" | "mobile_key";
7231
- code?: string | null | undefined;
7232
- starts_at?: string | undefined;
7233
- ends_at?: string | undefined;
7234
- visionline_metadata?: {
7235
- card_function_type: "guest" | "staff";
7236
- auto_join?: boolean | undefined;
7237
- joiner_acs_credential_ids?: string[] | undefined;
7238
- guest_acs_entrance_ids?: string[] | undefined;
7239
- common_acs_entrance_ids?: string[] | undefined;
7240
- is_valid?: boolean | undefined;
7241
- card_id?: string | undefined;
7242
- credential_id?: string | undefined;
7243
- } | undefined;
7244
- assa_abloy_vostio_metadata?: {
7245
- endpoint_id?: string | undefined;
7246
- auto_join?: boolean | undefined;
7247
- override_guest_acs_entrance_ids?: string[] | undefined;
7248
- key_id?: string | undefined;
7249
- key_issuing_request_id?: string | undefined;
7250
- door_names?: string[] | undefined;
7251
- } | undefined;
7252
- is_one_time_use?: boolean | undefined;
7253
- issued_at?: string | null | undefined;
7254
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
7255
- external_type_display_name?: string | undefined;
7256
- acs_user_id?: string | undefined;
7257
- acs_credential_pool_id?: string | undefined;
7258
- parent_acs_credential_id?: string | undefined;
7259
- card_number?: string | null | undefined;
7260
- is_issued?: boolean | undefined;
7261
- is_multi_phone_sync_credential?: boolean | undefined;
7262
- is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
7263
- latest_desired_state_synced_with_provider_at?: string | null | undefined;
7264
- } | null;
7265
- }, {
7266
- warnings: {
7267
- warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
7268
- warning_message: string;
7269
- }[];
7270
- acs_credential_on_encoder: {
7271
- created_at: string | null;
7272
- starts_at: string | null;
7273
- ends_at: string | null;
7274
- card_number: string | null;
7275
- is_issued: boolean | null;
7276
- visionline_metadata?: {
7277
- card_id: string;
7278
- cancelled: boolean;
7279
- discarded: boolean;
7280
- expired: boolean;
7281
- overwritten: boolean;
7282
- pending_auto_update: boolean;
7283
- card_format: "TLCode" | "rfid48";
7284
- number_of_issued_cards: number;
7285
- guest_acs_entrance_ids?: string[] | undefined;
7286
- common_acs_entrance_ids?: string[] | undefined;
7287
- overridden?: boolean | undefined;
7288
- card_holder?: string | undefined;
7289
- } | undefined;
7290
- } | null;
7291
- acs_credential_on_seam: {
7292
- display_name: string;
7293
7296
  created_at: string;
7294
7297
  errors: {
7295
7298
  message: string;
@@ -7320,77 +7323,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7320
7323
  created_at: string;
7321
7324
  warning_code: "needs_to_be_reissued";
7322
7325
  })[];
7323
- workspace_id: string;
7324
- is_managed: true;
7325
- acs_system_id: string;
7326
- acs_credential_id: string;
7327
- access_method: "code" | "card" | "mobile_key";
7328
- code?: string | null | undefined;
7329
- starts_at?: string | undefined;
7330
- ends_at?: string | undefined;
7331
- visionline_metadata?: {
7332
- card_function_type: "guest" | "staff";
7333
- auto_join?: boolean | undefined;
7334
- joiner_acs_credential_ids?: string[] | undefined;
7335
- guest_acs_entrance_ids?: string[] | undefined;
7336
- common_acs_entrance_ids?: string[] | undefined;
7337
- is_valid?: boolean | undefined;
7338
- card_id?: string | undefined;
7339
- credential_id?: string | undefined;
7340
- } | undefined;
7341
- assa_abloy_vostio_metadata?: {
7342
- endpoint_id?: string | undefined;
7343
- auto_join?: boolean | undefined;
7344
- override_guest_acs_entrance_ids?: string[] | undefined;
7345
- key_id?: string | undefined;
7346
- key_issuing_request_id?: string | undefined;
7347
- door_names?: string[] | undefined;
7348
- } | undefined;
7349
- is_one_time_use?: boolean | undefined;
7350
- issued_at?: string | null | undefined;
7351
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
7352
- external_type_display_name?: string | undefined;
7353
- acs_user_id?: string | undefined;
7354
- acs_credential_pool_id?: string | undefined;
7355
- parent_acs_credential_id?: string | undefined;
7356
- card_number?: string | null | undefined;
7357
- is_issued?: boolean | undefined;
7358
- is_multi_phone_sync_credential?: boolean | undefined;
7359
- is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
7360
- latest_desired_state_synced_with_provider_at?: string | null | undefined;
7361
- } | {
7362
- display_name: string;
7363
- created_at: string;
7364
- errors: {
7365
- message: string;
7366
- error_code: string;
7367
- }[];
7368
- warnings: ({
7369
- message: string;
7370
- created_at: string;
7371
- warning_code: "waiting_to_be_issued";
7372
- } | {
7373
- message: string;
7374
- created_at: string;
7375
- warning_code: "schedule_externally_modified";
7376
- } | {
7377
- message: string;
7378
- created_at: string;
7379
- warning_code: "schedule_modified";
7380
- } | {
7381
- message: string;
7382
- created_at: string;
7383
- warning_code: "being_deleted";
7384
- } | {
7385
- message: string;
7386
- created_at: string;
7387
- warning_code: "unknown_issue_with_acs_credential";
7388
- } | {
7389
- message: string;
7390
- created_at: string;
7391
- warning_code: "needs_to_be_reissued";
7392
- })[];
7393
- workspace_id: string;
7394
7326
  is_managed: false;
7395
7327
  acs_system_id: string;
7396
7328
  acs_credential_id: string;
@@ -7462,6 +7394,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7462
7394
  } | null;
7463
7395
  acs_credential_on_seam: {
7464
7396
  display_name: string;
7397
+ workspace_id: string;
7465
7398
  created_at: string;
7466
7399
  errors: {
7467
7400
  message: string;
@@ -7492,7 +7425,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7492
7425
  created_at: string;
7493
7426
  warning_code: "needs_to_be_reissued";
7494
7427
  })[];
7495
- workspace_id: string;
7496
7428
  is_managed: true;
7497
7429
  acs_system_id: string;
7498
7430
  acs_credential_id: string;
@@ -7532,6 +7464,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7532
7464
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7533
7465
  } | {
7534
7466
  display_name: string;
7467
+ workspace_id: string;
7535
7468
  created_at: string;
7536
7469
  errors: {
7537
7470
  message: string;
@@ -7562,7 +7495,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7562
7495
  created_at: string;
7563
7496
  warning_code: "needs_to_be_reissued";
7564
7497
  })[];
7565
- workspace_id: string;
7566
7498
  is_managed: false;
7567
7499
  acs_system_id: string;
7568
7500
  acs_credential_id: string;
@@ -7635,6 +7567,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7635
7567
  } | null;
7636
7568
  acs_credential_on_seam: {
7637
7569
  display_name: string;
7570
+ workspace_id: string;
7638
7571
  created_at: string;
7639
7572
  errors: {
7640
7573
  message: string;
@@ -7665,7 +7598,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7665
7598
  created_at: string;
7666
7599
  warning_code: "needs_to_be_reissued";
7667
7600
  })[];
7668
- workspace_id: string;
7669
7601
  is_managed: true;
7670
7602
  acs_system_id: string;
7671
7603
  acs_credential_id: string;
@@ -7705,6 +7637,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7705
7637
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7706
7638
  } | {
7707
7639
  display_name: string;
7640
+ workspace_id: string;
7708
7641
  created_at: string;
7709
7642
  errors: {
7710
7643
  message: string;
@@ -7735,7 +7668,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7735
7668
  created_at: string;
7736
7669
  warning_code: "needs_to_be_reissued";
7737
7670
  })[];
7738
- workspace_id: string;
7739
7671
  is_managed: false;
7740
7672
  acs_system_id: string;
7741
7673
  acs_credential_id: string;
@@ -7882,8 +7814,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7882
7814
  is_card_encoding_required: z.ZodOptional<z.ZodBoolean>;
7883
7815
  }, "strip", z.ZodTypeAny, {
7884
7816
  display_name: string;
7885
- created_at: string;
7886
7817
  workspace_id: string;
7818
+ created_at: string;
7887
7819
  mode: "code" | "card" | "mobile_key";
7888
7820
  access_method_id: string;
7889
7821
  issued_at?: string | undefined;
@@ -7891,8 +7823,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7891
7823
  is_card_encoding_required?: boolean | undefined;
7892
7824
  }, {
7893
7825
  display_name: string;
7894
- created_at: string;
7895
7826
  workspace_id: string;
7827
+ created_at: string;
7896
7828
  mode: "code" | "card" | "mobile_key";
7897
7829
  access_method_id: string;
7898
7830
  issued_at?: string | undefined;
@@ -7905,8 +7837,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7905
7837
  error: null;
7906
7838
  result: {
7907
7839
  display_name: string;
7908
- created_at: string;
7909
7840
  workspace_id: string;
7841
+ created_at: string;
7910
7842
  mode: "code" | "card" | "mobile_key";
7911
7843
  access_method_id: string;
7912
7844
  issued_at?: string | undefined;
@@ -7920,8 +7852,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7920
7852
  error: null;
7921
7853
  result: {
7922
7854
  display_name: string;
7923
- created_at: string;
7924
7855
  workspace_id: string;
7856
+ created_at: string;
7925
7857
  mode: "code" | "card" | "mobile_key";
7926
7858
  access_method_id: string;
7927
7859
  issued_at?: string | undefined;
@@ -8219,6 +8151,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8219
8151
  is_managed: z.ZodLiteral<true>;
8220
8152
  }>, "strip", z.ZodTypeAny, {
8221
8153
  display_name: string;
8154
+ workspace_id: string;
8222
8155
  created_at: string;
8223
8156
  errors: {
8224
8157
  message: string;
@@ -8249,7 +8182,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8249
8182
  created_at: string;
8250
8183
  warning_code: "needs_to_be_reissued";
8251
8184
  })[];
8252
- workspace_id: string;
8253
8185
  is_managed: true;
8254
8186
  acs_system_id: string;
8255
8187
  acs_credential_id: string;
@@ -8289,6 +8221,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8289
8221
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
8290
8222
  }, {
8291
8223
  display_name: string;
8224
+ workspace_id: string;
8292
8225
  created_at: string;
8293
8226
  errors: {
8294
8227
  message: string;
@@ -8319,7 +8252,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8319
8252
  created_at: string;
8320
8253
  warning_code: "needs_to_be_reissued";
8321
8254
  })[];
8322
- workspace_id: string;
8323
8255
  is_managed: true;
8324
8256
  acs_system_id: string;
8325
8257
  acs_credential_id: string;
@@ -8522,6 +8454,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8522
8454
  is_managed: z.ZodLiteral<false>;
8523
8455
  }>, "strip", z.ZodTypeAny, {
8524
8456
  display_name: string;
8457
+ workspace_id: string;
8525
8458
  created_at: string;
8526
8459
  errors: {
8527
8460
  message: string;
@@ -8552,77 +8485,76 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8552
8485
  created_at: string;
8553
8486
  warning_code: "needs_to_be_reissued";
8554
8487
  })[];
8488
+ is_managed: false;
8489
+ acs_system_id: string;
8490
+ acs_credential_id: string;
8491
+ access_method: "code" | "card" | "mobile_key";
8492
+ code?: string | null | undefined;
8493
+ starts_at?: string | undefined;
8494
+ ends_at?: string | undefined;
8495
+ visionline_metadata?: {
8496
+ card_function_type: "guest" | "staff";
8497
+ auto_join?: boolean | undefined;
8498
+ joiner_acs_credential_ids?: string[] | undefined;
8499
+ guest_acs_entrance_ids?: string[] | undefined;
8500
+ common_acs_entrance_ids?: string[] | undefined;
8501
+ is_valid?: boolean | undefined;
8502
+ card_id?: string | undefined;
8503
+ credential_id?: string | undefined;
8504
+ } | undefined;
8505
+ assa_abloy_vostio_metadata?: {
8506
+ endpoint_id?: string | undefined;
8507
+ auto_join?: boolean | undefined;
8508
+ override_guest_acs_entrance_ids?: string[] | undefined;
8509
+ key_id?: string | undefined;
8510
+ key_issuing_request_id?: string | undefined;
8511
+ door_names?: string[] | undefined;
8512
+ } | undefined;
8513
+ is_one_time_use?: boolean | undefined;
8514
+ issued_at?: string | null | undefined;
8515
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
8516
+ external_type_display_name?: string | undefined;
8517
+ acs_user_id?: string | undefined;
8518
+ acs_credential_pool_id?: string | undefined;
8519
+ parent_acs_credential_id?: string | undefined;
8520
+ card_number?: string | null | undefined;
8521
+ is_issued?: boolean | undefined;
8522
+ is_multi_phone_sync_credential?: boolean | undefined;
8523
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
8524
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
8525
+ }, {
8526
+ display_name: string;
8555
8527
  workspace_id: string;
8556
- is_managed: false;
8557
- acs_system_id: string;
8558
- acs_credential_id: string;
8559
- access_method: "code" | "card" | "mobile_key";
8560
- code?: string | null | undefined;
8561
- starts_at?: string | undefined;
8562
- ends_at?: string | undefined;
8563
- visionline_metadata?: {
8564
- card_function_type: "guest" | "staff";
8565
- auto_join?: boolean | undefined;
8566
- joiner_acs_credential_ids?: string[] | undefined;
8567
- guest_acs_entrance_ids?: string[] | undefined;
8568
- common_acs_entrance_ids?: string[] | undefined;
8569
- is_valid?: boolean | undefined;
8570
- card_id?: string | undefined;
8571
- credential_id?: string | undefined;
8572
- } | undefined;
8573
- assa_abloy_vostio_metadata?: {
8574
- endpoint_id?: string | undefined;
8575
- auto_join?: boolean | undefined;
8576
- override_guest_acs_entrance_ids?: string[] | undefined;
8577
- key_id?: string | undefined;
8578
- key_issuing_request_id?: string | undefined;
8579
- door_names?: string[] | undefined;
8580
- } | undefined;
8581
- is_one_time_use?: boolean | undefined;
8582
- issued_at?: string | null | undefined;
8583
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
8584
- external_type_display_name?: string | undefined;
8585
- acs_user_id?: string | undefined;
8586
- acs_credential_pool_id?: string | undefined;
8587
- parent_acs_credential_id?: string | undefined;
8588
- card_number?: string | null | undefined;
8589
- is_issued?: boolean | undefined;
8590
- is_multi_phone_sync_credential?: boolean | undefined;
8591
- is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
8592
- latest_desired_state_synced_with_provider_at?: string | null | undefined;
8593
- }, {
8594
- display_name: string;
8595
- created_at: string;
8596
- errors: {
8597
- message: string;
8598
- error_code: string;
8599
- }[];
8600
- warnings: ({
8601
- message: string;
8602
- created_at: string;
8603
- warning_code: "waiting_to_be_issued";
8604
- } | {
8605
- message: string;
8606
- created_at: string;
8607
- warning_code: "schedule_externally_modified";
8608
- } | {
8609
- message: string;
8610
- created_at: string;
8611
- warning_code: "schedule_modified";
8612
- } | {
8613
- message: string;
8614
- created_at: string;
8615
- warning_code: "being_deleted";
8616
- } | {
8617
- message: string;
8618
- created_at: string;
8619
- warning_code: "unknown_issue_with_acs_credential";
8620
- } | {
8621
- message: string;
8622
- created_at: string;
8623
- warning_code: "needs_to_be_reissued";
8624
- })[];
8625
- workspace_id: string;
8528
+ created_at: string;
8529
+ errors: {
8530
+ message: string;
8531
+ error_code: string;
8532
+ }[];
8533
+ warnings: ({
8534
+ message: string;
8535
+ created_at: string;
8536
+ warning_code: "waiting_to_be_issued";
8537
+ } | {
8538
+ message: string;
8539
+ created_at: string;
8540
+ warning_code: "schedule_externally_modified";
8541
+ } | {
8542
+ message: string;
8543
+ created_at: string;
8544
+ warning_code: "schedule_modified";
8545
+ } | {
8546
+ message: string;
8547
+ created_at: string;
8548
+ warning_code: "being_deleted";
8549
+ } | {
8550
+ message: string;
8551
+ created_at: string;
8552
+ warning_code: "unknown_issue_with_acs_credential";
8553
+ } | {
8554
+ message: string;
8555
+ created_at: string;
8556
+ warning_code: "needs_to_be_reissued";
8557
+ })[];
8626
8558
  is_managed: false;
8627
8559
  acs_system_id: string;
8628
8560
  acs_credential_id: string;
@@ -8667,6 +8599,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8667
8599
  error: null;
8668
8600
  result: {
8669
8601
  display_name: string;
8602
+ workspace_id: string;
8670
8603
  created_at: string;
8671
8604
  errors: {
8672
8605
  message: string;
@@ -8697,7 +8630,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8697
8630
  created_at: string;
8698
8631
  warning_code: "needs_to_be_reissued";
8699
8632
  })[];
8700
- workspace_id: string;
8701
8633
  is_managed: true;
8702
8634
  acs_system_id: string;
8703
8635
  acs_credential_id: string;
@@ -8737,6 +8669,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8737
8669
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
8738
8670
  } | {
8739
8671
  display_name: string;
8672
+ workspace_id: string;
8740
8673
  created_at: string;
8741
8674
  errors: {
8742
8675
  message: string;
@@ -8767,7 +8700,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8767
8700
  created_at: string;
8768
8701
  warning_code: "needs_to_be_reissued";
8769
8702
  })[];
8770
- workspace_id: string;
8771
8703
  is_managed: false;
8772
8704
  acs_system_id: string;
8773
8705
  acs_credential_id: string;
@@ -8813,6 +8745,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8813
8745
  error: null;
8814
8746
  result: {
8815
8747
  display_name: string;
8748
+ workspace_id: string;
8816
8749
  created_at: string;
8817
8750
  errors: {
8818
8751
  message: string;
@@ -8843,7 +8776,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8843
8776
  created_at: string;
8844
8777
  warning_code: "needs_to_be_reissued";
8845
8778
  })[];
8846
- workspace_id: string;
8847
8779
  is_managed: true;
8848
8780
  acs_system_id: string;
8849
8781
  acs_credential_id: string;
@@ -8883,6 +8815,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8883
8815
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
8884
8816
  } | {
8885
8817
  display_name: string;
8818
+ workspace_id: string;
8886
8819
  created_at: string;
8887
8820
  errors: {
8888
8821
  message: string;
@@ -8913,7 +8846,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8913
8846
  created_at: string;
8914
8847
  warning_code: "needs_to_be_reissued";
8915
8848
  })[];
8916
- workspace_id: string;
8917
8849
  is_managed: false;
8918
8850
  acs_system_id: string;
8919
8851
  acs_credential_id: string;
@@ -10238,13 +10170,13 @@ declare const bridge: z.ZodObject<{
10238
10170
  workspace_id: z.ZodString;
10239
10171
  created_at: z.ZodString;
10240
10172
  }, "strip", z.ZodTypeAny, {
10173
+ workspace_id: string;
10241
10174
  created_at: string;
10242
10175
  bridge_id: string;
10243
- workspace_id: string;
10244
10176
  }, {
10177
+ workspace_id: string;
10245
10178
  created_at: string;
10246
10179
  bridge_id: string;
10247
- workspace_id: string;
10248
10180
  }>;
10249
10181
  type Bridge = z.infer<typeof bridge>;
10250
10182
 
@@ -10374,8 +10306,8 @@ declare const client_session: z.ZodObject<{
10374
10306
  connect_webview_ids: z.ZodArray<z.ZodString, "many">;
10375
10307
  user_identity_ids: z.ZodArray<z.ZodString, "many">;
10376
10308
  }, "strip", z.ZodTypeAny, {
10377
- created_at: string;
10378
10309
  workspace_id: string;
10310
+ created_at: string;
10379
10311
  connected_account_ids: string[];
10380
10312
  client_session_id: string;
10381
10313
  expires_at: string;
@@ -10385,8 +10317,8 @@ declare const client_session: z.ZodObject<{
10385
10317
  connect_webview_ids: string[];
10386
10318
  user_identity_ids: string[];
10387
10319
  }, {
10388
- created_at: string;
10389
10320
  workspace_id: string;
10321
+ created_at: string;
10390
10322
  connected_account_ids: string[];
10391
10323
  client_session_id: string;
10392
10324
  expires_at: string;
@@ -10420,12 +10352,12 @@ declare const connect_webview: z.ZodObject<{
10420
10352
  selected_provider: z.ZodNullable<z.ZodString>;
10421
10353
  }, "strip", z.ZodTypeAny, {
10422
10354
  status: "pending" | "failed" | "authorized";
10355
+ workspace_id: string;
10423
10356
  created_at: string;
10424
10357
  url: string;
10425
10358
  connected_account_id: string | null;
10426
10359
  custom_metadata: Record<string, string | boolean>;
10427
10360
  automatically_manage_new_devices: boolean;
10428
- workspace_id: string;
10429
10361
  connect_webview_id: string;
10430
10362
  device_selection_mode: "none" | "single" | "multiple";
10431
10363
  accepted_providers: string[];
@@ -10440,12 +10372,12 @@ declare const connect_webview: z.ZodObject<{
10440
10372
  selected_provider: string | null;
10441
10373
  }, {
10442
10374
  status: "pending" | "failed" | "authorized";
10375
+ workspace_id: string;
10443
10376
  created_at: string;
10444
10377
  url: string;
10445
10378
  connected_account_id: string | null;
10446
10379
  custom_metadata: Record<string, string | boolean>;
10447
10380
  automatically_manage_new_devices: boolean;
10448
- workspace_id: string;
10449
10381
  connect_webview_id: string;
10450
10382
  device_selection_mode: "none" | "single" | "multiple";
10451
10383
  accepted_providers: string[];
@@ -12918,12 +12850,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12918
12850
  active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
12919
12851
  thermostat_schedule_id: z.ZodString;
12920
12852
  device_id: z.ZodString;
12921
- name: z.ZodOptional<z.ZodString>;
12853
+ name: z.ZodNullable<z.ZodString>;
12922
12854
  climate_preset_key: z.ZodString;
12923
12855
  max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12924
12856
  starts_at: z.ZodString;
12925
12857
  is_override_allowed: z.ZodOptional<z.ZodBoolean>;
12926
12858
  ends_at: z.ZodString;
12859
+ workspace_id: z.ZodString;
12927
12860
  created_at: z.ZodString;
12928
12861
  errors: z.ZodArray<z.ZodObject<{
12929
12862
  error_code: z.ZodString;
@@ -12937,7 +12870,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12937
12870
  }>, "many">;
12938
12871
  }, "strip", z.ZodTypeAny, {
12939
12872
  climate_preset_key: string;
12873
+ name: string | null;
12940
12874
  device_id: string;
12875
+ workspace_id: string;
12941
12876
  created_at: string;
12942
12877
  thermostat_schedule_id: string;
12943
12878
  starts_at: string;
@@ -12946,12 +12881,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12946
12881
  message: string;
12947
12882
  error_code: string;
12948
12883
  }[];
12949
- name?: string | undefined;
12950
12884
  max_override_period_minutes?: number | null | undefined;
12951
12885
  is_override_allowed?: boolean | undefined;
12952
12886
  }, {
12953
12887
  climate_preset_key: string;
12888
+ name: string | null;
12954
12889
  device_id: string;
12890
+ workspace_id: string;
12955
12891
  created_at: string;
12956
12892
  thermostat_schedule_id: string;
12957
12893
  starts_at: string;
@@ -12960,14 +12896,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12960
12896
  message: string;
12961
12897
  error_code: string;
12962
12898
  }[];
12963
- name?: string | undefined;
12964
12899
  max_override_period_minutes?: number | null | undefined;
12965
12900
  is_override_allowed?: boolean | undefined;
12966
12901
  }>>>>;
12967
- thermostat_daily_programs: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
12902
+ thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
12968
12903
  thermostat_daily_program_id: z.ZodString;
12969
12904
  device_id: z.ZodString;
12970
- name: z.ZodOptional<z.ZodString>;
12905
+ name: z.ZodNullable<z.ZodString>;
12971
12906
  periods: z.ZodArray<z.ZodObject<{
12972
12907
  starts_at_time: z.ZodString;
12973
12908
  climate_preset_key: z.ZodString;
@@ -12978,28 +12913,30 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12978
12913
  climate_preset_key: string;
12979
12914
  starts_at_time: string;
12980
12915
  }>, "many">;
12916
+ workspace_id: z.ZodString;
12981
12917
  created_at: z.ZodString;
12982
12918
  }, "strip", z.ZodTypeAny, {
12919
+ name: string | null;
12983
12920
  thermostat_daily_program_id: string;
12984
12921
  device_id: string;
12985
12922
  periods: {
12986
12923
  climate_preset_key: string;
12987
12924
  starts_at_time: string;
12988
12925
  }[];
12926
+ workspace_id: string;
12989
12927
  created_at: string;
12990
- name?: string | undefined;
12991
12928
  }, {
12929
+ name: string | null;
12992
12930
  thermostat_daily_program_id: string;
12993
12931
  device_id: string;
12994
12932
  periods: {
12995
12933
  climate_preset_key: string;
12996
12934
  starts_at_time: string;
12997
12935
  }[];
12936
+ workspace_id: string;
12998
12937
  created_at: string;
12999
- name?: string | undefined;
13000
- }>, "many">>>>;
13001
- thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
13002
- device_id: z.ZodString;
12938
+ }>, "many">>>;
12939
+ thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
13003
12940
  monday_program_id: z.ZodNullable<z.ZodString>;
13004
12941
  tuesday_program_id: z.ZodNullable<z.ZodString>;
13005
12942
  wednesday_program_id: z.ZodNullable<z.ZodString>;
@@ -13009,7 +12946,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13009
12946
  sunday_program_id: z.ZodNullable<z.ZodString>;
13010
12947
  created_at: z.ZodString;
13011
12948
  }, "strip", z.ZodTypeAny, {
13012
- device_id: string;
13013
12949
  created_at: string;
13014
12950
  monday_program_id: string | null;
13015
12951
  tuesday_program_id: string | null;
@@ -13019,7 +12955,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13019
12955
  saturday_program_id: string | null;
13020
12956
  sunday_program_id: string | null;
13021
12957
  }, {
13022
- device_id: string;
13023
12958
  created_at: string;
13024
12959
  monday_program_id: string | null;
13025
12960
  tuesday_program_id: string | null;
@@ -13114,7 +13049,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13114
13049
  fallback_climate_preset_key?: string | null | undefined;
13115
13050
  active_thermostat_schedule?: {
13116
13051
  climate_preset_key: string;
13052
+ name: string | null;
13117
13053
  device_id: string;
13054
+ workspace_id: string;
13118
13055
  created_at: string;
13119
13056
  thermostat_schedule_id: string;
13120
13057
  starts_at: string;
@@ -13123,22 +13060,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13123
13060
  message: string;
13124
13061
  error_code: string;
13125
13062
  }[];
13126
- name?: string | undefined;
13127
13063
  max_override_period_minutes?: number | null | undefined;
13128
13064
  is_override_allowed?: boolean | undefined;
13129
13065
  } | null | undefined;
13130
13066
  thermostat_daily_programs?: {
13067
+ name: string | null;
13131
13068
  thermostat_daily_program_id: string;
13132
13069
  device_id: string;
13133
13070
  periods: {
13134
13071
  climate_preset_key: string;
13135
13072
  starts_at_time: string;
13136
13073
  }[];
13074
+ workspace_id: string;
13137
13075
  created_at: string;
13138
- name?: string | undefined;
13139
- }[] | null | undefined;
13076
+ }[] | undefined;
13140
13077
  thermostat_weekly_program?: {
13141
- device_id: string;
13142
13078
  created_at: string;
13143
13079
  monday_program_id: string | null;
13144
13080
  tuesday_program_id: string | null;
@@ -13223,7 +13159,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13223
13159
  fallback_climate_preset_key?: string | null | undefined;
13224
13160
  active_thermostat_schedule?: {
13225
13161
  climate_preset_key: string;
13162
+ name: string | null;
13226
13163
  device_id: string;
13164
+ workspace_id: string;
13227
13165
  created_at: string;
13228
13166
  thermostat_schedule_id: string;
13229
13167
  starts_at: string;
@@ -13232,22 +13170,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13232
13170
  message: string;
13233
13171
  error_code: string;
13234
13172
  }[];
13235
- name?: string | undefined;
13236
13173
  max_override_period_minutes?: number | null | undefined;
13237
13174
  is_override_allowed?: boolean | undefined;
13238
13175
  } | null | undefined;
13239
13176
  thermostat_daily_programs?: {
13177
+ name: string | null;
13240
13178
  thermostat_daily_program_id: string;
13241
13179
  device_id: string;
13242
13180
  periods: {
13243
13181
  climate_preset_key: string;
13244
13182
  starts_at_time: string;
13245
13183
  }[];
13184
+ workspace_id: string;
13246
13185
  created_at: string;
13247
- name?: string | undefined;
13248
- }[] | null | undefined;
13186
+ }[] | undefined;
13249
13187
  thermostat_weekly_program?: {
13250
- device_id: string;
13251
13188
  created_at: string;
13252
13189
  monday_program_id: string | null;
13253
13190
  tuesday_program_id: string | null;
@@ -13868,6 +13805,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13868
13805
  }>>, "strip", z.ZodTypeAny, {
13869
13806
  display_name: string;
13870
13807
  device_id: string;
13808
+ workspace_id: string;
13871
13809
  created_at: string;
13872
13810
  errors: ({
13873
13811
  message: string;
@@ -14399,7 +14337,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14399
14337
  fallback_climate_preset_key?: string | null | undefined;
14400
14338
  active_thermostat_schedule?: {
14401
14339
  climate_preset_key: string;
14340
+ name: string | null;
14402
14341
  device_id: string;
14342
+ workspace_id: string;
14403
14343
  created_at: string;
14404
14344
  thermostat_schedule_id: string;
14405
14345
  starts_at: string;
@@ -14408,22 +14348,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14408
14348
  message: string;
14409
14349
  error_code: string;
14410
14350
  }[];
14411
- name?: string | undefined;
14412
14351
  max_override_period_minutes?: number | null | undefined;
14413
14352
  is_override_allowed?: boolean | undefined;
14414
14353
  } | null | undefined;
14415
14354
  thermostat_daily_programs?: {
14355
+ name: string | null;
14416
14356
  thermostat_daily_program_id: string;
14417
14357
  device_id: string;
14418
14358
  periods: {
14419
14359
  climate_preset_key: string;
14420
14360
  starts_at_time: string;
14421
14361
  }[];
14362
+ workspace_id: string;
14422
14363
  created_at: string;
14423
- name?: string | undefined;
14424
- }[] | null | undefined;
14364
+ }[] | undefined;
14425
14365
  thermostat_weekly_program?: {
14426
- device_id: string;
14427
14366
  created_at: string;
14428
14367
  monday_program_id: string | null;
14429
14368
  tuesday_program_id: string | null;
@@ -14454,7 +14393,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14454
14393
  location_name?: string | undefined;
14455
14394
  timezone?: string | undefined;
14456
14395
  } | null;
14457
- workspace_id: string;
14458
14396
  is_managed: true;
14459
14397
  can_remotely_unlock?: boolean | undefined;
14460
14398
  can_remotely_lock?: boolean | undefined;
@@ -14471,6 +14409,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14471
14409
  }, {
14472
14410
  display_name: string;
14473
14411
  device_id: string;
14412
+ workspace_id: string;
14474
14413
  created_at: string;
14475
14414
  errors: ({
14476
14415
  message: string;
@@ -15002,7 +14941,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
15002
14941
  fallback_climate_preset_key?: string | null | undefined;
15003
14942
  active_thermostat_schedule?: {
15004
14943
  climate_preset_key: string;
14944
+ name: string | null;
15005
14945
  device_id: string;
14946
+ workspace_id: string;
15006
14947
  created_at: string;
15007
14948
  thermostat_schedule_id: string;
15008
14949
  starts_at: string;
@@ -15011,22 +14952,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
15011
14952
  message: string;
15012
14953
  error_code: string;
15013
14954
  }[];
15014
- name?: string | undefined;
15015
14955
  max_override_period_minutes?: number | null | undefined;
15016
14956
  is_override_allowed?: boolean | undefined;
15017
14957
  } | null | undefined;
15018
14958
  thermostat_daily_programs?: {
14959
+ name: string | null;
15019
14960
  thermostat_daily_program_id: string;
15020
14961
  device_id: string;
15021
14962
  periods: {
15022
14963
  climate_preset_key: string;
15023
14964
  starts_at_time: string;
15024
14965
  }[];
14966
+ workspace_id: string;
15025
14967
  created_at: string;
15026
- name?: string | undefined;
15027
- }[] | null | undefined;
14968
+ }[] | undefined;
15028
14969
  thermostat_weekly_program?: {
15029
- device_id: string;
15030
14970
  created_at: string;
15031
14971
  monday_program_id: string | null;
15032
14972
  tuesday_program_id: string | null;
@@ -15057,7 +14997,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
15057
14997
  location_name?: string | undefined;
15058
14998
  timezone?: string | undefined;
15059
14999
  } | null;
15060
- workspace_id: string;
15061
15000
  is_managed: true;
15062
15001
  can_remotely_unlock?: boolean | undefined;
15063
15002
  can_remotely_lock?: boolean | undefined;
@@ -16811,12 +16750,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16811
16750
  active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
16812
16751
  thermostat_schedule_id: z.ZodString;
16813
16752
  device_id: z.ZodString;
16814
- name: z.ZodOptional<z.ZodString>;
16753
+ name: z.ZodNullable<z.ZodString>;
16815
16754
  climate_preset_key: z.ZodString;
16816
16755
  max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16817
16756
  starts_at: z.ZodString;
16818
16757
  is_override_allowed: z.ZodOptional<z.ZodBoolean>;
16819
16758
  ends_at: z.ZodString;
16759
+ workspace_id: z.ZodString;
16820
16760
  created_at: z.ZodString;
16821
16761
  errors: z.ZodArray<z.ZodObject<{
16822
16762
  error_code: z.ZodString;
@@ -16830,7 +16770,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16830
16770
  }>, "many">;
16831
16771
  }, "strip", z.ZodTypeAny, {
16832
16772
  climate_preset_key: string;
16773
+ name: string | null;
16833
16774
  device_id: string;
16775
+ workspace_id: string;
16834
16776
  created_at: string;
16835
16777
  thermostat_schedule_id: string;
16836
16778
  starts_at: string;
@@ -16839,12 +16781,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16839
16781
  message: string;
16840
16782
  error_code: string;
16841
16783
  }[];
16842
- name?: string | undefined;
16843
16784
  max_override_period_minutes?: number | null | undefined;
16844
16785
  is_override_allowed?: boolean | undefined;
16845
16786
  }, {
16846
16787
  climate_preset_key: string;
16788
+ name: string | null;
16847
16789
  device_id: string;
16790
+ workspace_id: string;
16848
16791
  created_at: string;
16849
16792
  thermostat_schedule_id: string;
16850
16793
  starts_at: string;
@@ -16853,14 +16796,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16853
16796
  message: string;
16854
16797
  error_code: string;
16855
16798
  }[];
16856
- name?: string | undefined;
16857
16799
  max_override_period_minutes?: number | null | undefined;
16858
16800
  is_override_allowed?: boolean | undefined;
16859
16801
  }>>>>;
16860
- thermostat_daily_programs: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
16802
+ thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
16861
16803
  thermostat_daily_program_id: z.ZodString;
16862
16804
  device_id: z.ZodString;
16863
- name: z.ZodOptional<z.ZodString>;
16805
+ name: z.ZodNullable<z.ZodString>;
16864
16806
  periods: z.ZodArray<z.ZodObject<{
16865
16807
  starts_at_time: z.ZodString;
16866
16808
  climate_preset_key: z.ZodString;
@@ -16871,28 +16813,30 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16871
16813
  climate_preset_key: string;
16872
16814
  starts_at_time: string;
16873
16815
  }>, "many">;
16816
+ workspace_id: z.ZodString;
16874
16817
  created_at: z.ZodString;
16875
16818
  }, "strip", z.ZodTypeAny, {
16819
+ name: string | null;
16876
16820
  thermostat_daily_program_id: string;
16877
16821
  device_id: string;
16878
16822
  periods: {
16879
16823
  climate_preset_key: string;
16880
16824
  starts_at_time: string;
16881
16825
  }[];
16826
+ workspace_id: string;
16882
16827
  created_at: string;
16883
- name?: string | undefined;
16884
16828
  }, {
16829
+ name: string | null;
16885
16830
  thermostat_daily_program_id: string;
16886
16831
  device_id: string;
16887
16832
  periods: {
16888
16833
  climate_preset_key: string;
16889
16834
  starts_at_time: string;
16890
16835
  }[];
16836
+ workspace_id: string;
16891
16837
  created_at: string;
16892
- name?: string | undefined;
16893
- }>, "many">>>>;
16894
- thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
16895
- device_id: z.ZodString;
16838
+ }>, "many">>>;
16839
+ thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
16896
16840
  monday_program_id: z.ZodNullable<z.ZodString>;
16897
16841
  tuesday_program_id: z.ZodNullable<z.ZodString>;
16898
16842
  wednesday_program_id: z.ZodNullable<z.ZodString>;
@@ -16902,7 +16846,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16902
16846
  sunday_program_id: z.ZodNullable<z.ZodString>;
16903
16847
  created_at: z.ZodString;
16904
16848
  }, "strip", z.ZodTypeAny, {
16905
- device_id: string;
16906
16849
  created_at: string;
16907
16850
  monday_program_id: string | null;
16908
16851
  tuesday_program_id: string | null;
@@ -16912,7 +16855,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16912
16855
  saturday_program_id: string | null;
16913
16856
  sunday_program_id: string | null;
16914
16857
  }, {
16915
- device_id: string;
16916
16858
  created_at: string;
16917
16859
  monday_program_id: string | null;
16918
16860
  tuesday_program_id: string | null;
@@ -17007,7 +16949,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17007
16949
  fallback_climate_preset_key?: string | null | undefined;
17008
16950
  active_thermostat_schedule?: {
17009
16951
  climate_preset_key: string;
16952
+ name: string | null;
17010
16953
  device_id: string;
16954
+ workspace_id: string;
17011
16955
  created_at: string;
17012
16956
  thermostat_schedule_id: string;
17013
16957
  starts_at: string;
@@ -17016,22 +16960,21 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17016
16960
  message: string;
17017
16961
  error_code: string;
17018
16962
  }[];
17019
- name?: string | undefined;
17020
16963
  max_override_period_minutes?: number | null | undefined;
17021
16964
  is_override_allowed?: boolean | undefined;
17022
16965
  } | null | undefined;
17023
16966
  thermostat_daily_programs?: {
16967
+ name: string | null;
17024
16968
  thermostat_daily_program_id: string;
17025
16969
  device_id: string;
17026
16970
  periods: {
17027
16971
  climate_preset_key: string;
17028
16972
  starts_at_time: string;
17029
16973
  }[];
16974
+ workspace_id: string;
17030
16975
  created_at: string;
17031
- name?: string | undefined;
17032
- }[] | null | undefined;
16976
+ }[] | undefined;
17033
16977
  thermostat_weekly_program?: {
17034
- device_id: string;
17035
16978
  created_at: string;
17036
16979
  monday_program_id: string | null;
17037
16980
  tuesday_program_id: string | null;
@@ -17116,7 +17059,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17116
17059
  fallback_climate_preset_key?: string | null | undefined;
17117
17060
  active_thermostat_schedule?: {
17118
17061
  climate_preset_key: string;
17062
+ name: string | null;
17119
17063
  device_id: string;
17064
+ workspace_id: string;
17120
17065
  created_at: string;
17121
17066
  thermostat_schedule_id: string;
17122
17067
  starts_at: string;
@@ -17125,22 +17070,21 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17125
17070
  message: string;
17126
17071
  error_code: string;
17127
17072
  }[];
17128
- name?: string | undefined;
17129
17073
  max_override_period_minutes?: number | null | undefined;
17130
17074
  is_override_allowed?: boolean | undefined;
17131
17075
  } | null | undefined;
17132
17076
  thermostat_daily_programs?: {
17077
+ name: string | null;
17133
17078
  thermostat_daily_program_id: string;
17134
17079
  device_id: string;
17135
17080
  periods: {
17136
17081
  climate_preset_key: string;
17137
17082
  starts_at_time: string;
17138
17083
  }[];
17084
+ workspace_id: string;
17139
17085
  created_at: string;
17140
- name?: string | undefined;
17141
- }[] | null | undefined;
17086
+ }[] | undefined;
17142
17087
  thermostat_weekly_program?: {
17143
- device_id: string;
17144
17088
  created_at: string;
17145
17089
  monday_program_id: string | null;
17146
17090
  tuesday_program_id: string | null;
@@ -17758,7 +17702,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17758
17702
  can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
17759
17703
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
17760
17704
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
17761
- }>>, "device_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location" | "workspace_id">, {
17705
+ }>>, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location">, {
17762
17706
  is_managed: z.ZodLiteral<false>;
17763
17707
  properties: z.ZodObject<Pick<{
17764
17708
  online: z.ZodBoolean;
@@ -17909,6 +17853,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17909
17853
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
17910
17854
  }>>, "strip", z.ZodTypeAny, {
17911
17855
  device_id: string;
17856
+ workspace_id: string;
17912
17857
  created_at: string;
17913
17858
  errors: ({
17914
17859
  message: string;
@@ -18115,7 +18060,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18115
18060
  location_name?: string | undefined;
18116
18061
  timezone?: string | undefined;
18117
18062
  } | null;
18118
- workspace_id: string;
18119
18063
  is_managed: false;
18120
18064
  can_remotely_unlock?: boolean | undefined;
18121
18065
  can_remotely_lock?: boolean | undefined;
@@ -18130,6 +18074,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18130
18074
  can_simulate_disconnection?: boolean | undefined;
18131
18075
  }, {
18132
18076
  device_id: string;
18077
+ workspace_id: string;
18133
18078
  created_at: string;
18134
18079
  errors: ({
18135
18080
  message: string;
@@ -18336,7 +18281,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18336
18281
  location_name?: string | undefined;
18337
18282
  timezone?: string | undefined;
18338
18283
  } | null;
18339
- workspace_id: string;
18340
18284
  is_managed: false;
18341
18285
  can_remotely_unlock?: boolean | undefined;
18342
18286
  can_remotely_lock?: boolean | undefined;
@@ -18365,18 +18309,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18365
18309
  event_type: z.ZodLiteral<"access_code.created">;
18366
18310
  }>, "strip", z.ZodTypeAny, {
18367
18311
  device_id: string;
18312
+ workspace_id: string;
18368
18313
  created_at: string;
18369
18314
  connected_account_id: string;
18370
- workspace_id: string;
18371
18315
  access_code_id: string;
18372
18316
  event_id: string;
18373
18317
  occurred_at: string;
18374
18318
  event_type: "access_code.created";
18375
18319
  }, {
18376
18320
  device_id: string;
18321
+ workspace_id: string;
18377
18322
  created_at: string;
18378
18323
  connected_account_id: string;
18379
- workspace_id: string;
18380
18324
  access_code_id: string;
18381
18325
  event_id: string;
18382
18326
  occurred_at: string;
@@ -18394,18 +18338,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18394
18338
  event_type: z.ZodLiteral<"access_code.changed">;
18395
18339
  }>, "strip", z.ZodTypeAny, {
18396
18340
  device_id: string;
18341
+ workspace_id: string;
18397
18342
  created_at: string;
18398
18343
  connected_account_id: string;
18399
- workspace_id: string;
18400
18344
  access_code_id: string;
18401
18345
  event_id: string;
18402
18346
  occurred_at: string;
18403
18347
  event_type: "access_code.changed";
18404
18348
  }, {
18405
18349
  device_id: string;
18350
+ workspace_id: string;
18406
18351
  created_at: string;
18407
18352
  connected_account_id: string;
18408
- workspace_id: string;
18409
18353
  access_code_id: string;
18410
18354
  event_id: string;
18411
18355
  occurred_at: string;
@@ -18425,9 +18369,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18425
18369
  }>, "strip", z.ZodTypeAny, {
18426
18370
  code: string;
18427
18371
  device_id: string;
18372
+ workspace_id: string;
18428
18373
  created_at: string;
18429
18374
  connected_account_id: string;
18430
- workspace_id: string;
18431
18375
  access_code_id: string;
18432
18376
  event_id: string;
18433
18377
  occurred_at: string;
@@ -18435,9 +18379,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18435
18379
  }, {
18436
18380
  code: string;
18437
18381
  device_id: string;
18382
+ workspace_id: string;
18438
18383
  created_at: string;
18439
18384
  connected_account_id: string;
18440
- workspace_id: string;
18441
18385
  access_code_id: string;
18442
18386
  event_id: string;
18443
18387
  occurred_at: string;
@@ -18457,9 +18401,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18457
18401
  }>, "strip", z.ZodTypeAny, {
18458
18402
  code: string;
18459
18403
  device_id: string;
18404
+ workspace_id: string;
18460
18405
  created_at: string;
18461
18406
  connected_account_id: string;
18462
- workspace_id: string;
18463
18407
  access_code_id: string;
18464
18408
  event_id: string;
18465
18409
  occurred_at: string;
@@ -18467,9 +18411,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18467
18411
  }, {
18468
18412
  code: string;
18469
18413
  device_id: string;
18414
+ workspace_id: string;
18470
18415
  created_at: string;
18471
18416
  connected_account_id: string;
18472
- workspace_id: string;
18473
18417
  access_code_id: string;
18474
18418
  event_id: string;
18475
18419
  occurred_at: string;
@@ -18487,18 +18431,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18487
18431
  event_type: z.ZodLiteral<"access_code.removed_from_device">;
18488
18432
  }>, "strip", z.ZodTypeAny, {
18489
18433
  device_id: string;
18434
+ workspace_id: string;
18490
18435
  created_at: string;
18491
18436
  connected_account_id: string;
18492
- workspace_id: string;
18493
18437
  access_code_id: string;
18494
18438
  event_id: string;
18495
18439
  occurred_at: string;
18496
18440
  event_type: "access_code.removed_from_device";
18497
18441
  }, {
18498
18442
  device_id: string;
18443
+ workspace_id: string;
18499
18444
  created_at: string;
18500
18445
  connected_account_id: string;
18501
- workspace_id: string;
18502
18446
  access_code_id: string;
18503
18447
  event_id: string;
18504
18448
  occurred_at: string;
@@ -18516,18 +18460,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18516
18460
  event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
18517
18461
  }>, "strip", z.ZodTypeAny, {
18518
18462
  device_id: string;
18463
+ workspace_id: string;
18519
18464
  created_at: string;
18520
18465
  connected_account_id: string;
18521
- workspace_id: string;
18522
18466
  access_code_id: string;
18523
18467
  event_id: string;
18524
18468
  occurred_at: string;
18525
18469
  event_type: "access_code.delay_in_setting_on_device";
18526
18470
  }, {
18527
18471
  device_id: string;
18472
+ workspace_id: string;
18528
18473
  created_at: string;
18529
18474
  connected_account_id: string;
18530
- workspace_id: string;
18531
18475
  access_code_id: string;
18532
18476
  event_id: string;
18533
18477
  occurred_at: string;
@@ -18545,18 +18489,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18545
18489
  event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
18546
18490
  }>, "strip", z.ZodTypeAny, {
18547
18491
  device_id: string;
18492
+ workspace_id: string;
18548
18493
  created_at: string;
18549
18494
  connected_account_id: string;
18550
- workspace_id: string;
18551
18495
  access_code_id: string;
18552
18496
  event_id: string;
18553
18497
  occurred_at: string;
18554
18498
  event_type: "access_code.failed_to_set_on_device";
18555
18499
  }, {
18556
18500
  device_id: string;
18501
+ workspace_id: string;
18557
18502
  created_at: string;
18558
18503
  connected_account_id: string;
18559
- workspace_id: string;
18560
18504
  access_code_id: string;
18561
18505
  event_id: string;
18562
18506
  occurred_at: string;
@@ -18576,9 +18520,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18576
18520
  }>, "strip", z.ZodTypeAny, {
18577
18521
  code: string | null;
18578
18522
  device_id: string;
18523
+ workspace_id: string;
18579
18524
  created_at: string;
18580
18525
  connected_account_id: string;
18581
- workspace_id: string;
18582
18526
  access_code_id: string;
18583
18527
  event_id: string;
18584
18528
  occurred_at: string;
@@ -18586,9 +18530,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18586
18530
  }, {
18587
18531
  code: string | null;
18588
18532
  device_id: string;
18533
+ workspace_id: string;
18589
18534
  created_at: string;
18590
18535
  connected_account_id: string;
18591
- workspace_id: string;
18592
18536
  access_code_id: string;
18593
18537
  event_id: string;
18594
18538
  occurred_at: string;
@@ -18606,18 +18550,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18606
18550
  event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
18607
18551
  }>, "strip", z.ZodTypeAny, {
18608
18552
  device_id: string;
18553
+ workspace_id: string;
18609
18554
  created_at: string;
18610
18555
  connected_account_id: string;
18611
- workspace_id: string;
18612
18556
  access_code_id: string;
18613
18557
  event_id: string;
18614
18558
  occurred_at: string;
18615
18559
  event_type: "access_code.delay_in_removing_from_device";
18616
18560
  }, {
18617
18561
  device_id: string;
18562
+ workspace_id: string;
18618
18563
  created_at: string;
18619
18564
  connected_account_id: string;
18620
- workspace_id: string;
18621
18565
  access_code_id: string;
18622
18566
  event_id: string;
18623
18567
  occurred_at: string;
@@ -18635,18 +18579,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18635
18579
  event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
18636
18580
  }>, "strip", z.ZodTypeAny, {
18637
18581
  device_id: string;
18582
+ workspace_id: string;
18638
18583
  created_at: string;
18639
18584
  connected_account_id: string;
18640
- workspace_id: string;
18641
18585
  access_code_id: string;
18642
18586
  event_id: string;
18643
18587
  occurred_at: string;
18644
18588
  event_type: "access_code.failed_to_remove_from_device";
18645
18589
  }, {
18646
18590
  device_id: string;
18591
+ workspace_id: string;
18647
18592
  created_at: string;
18648
18593
  connected_account_id: string;
18649
- workspace_id: string;
18650
18594
  access_code_id: string;
18651
18595
  event_id: string;
18652
18596
  occurred_at: string;
@@ -18664,18 +18608,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18664
18608
  event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
18665
18609
  }>, "strip", z.ZodTypeAny, {
18666
18610
  device_id: string;
18611
+ workspace_id: string;
18667
18612
  created_at: string;
18668
18613
  connected_account_id: string;
18669
- workspace_id: string;
18670
18614
  access_code_id: string;
18671
18615
  event_id: string;
18672
18616
  occurred_at: string;
18673
18617
  event_type: "access_code.modified_external_to_seam";
18674
18618
  }, {
18675
18619
  device_id: string;
18620
+ workspace_id: string;
18676
18621
  created_at: string;
18677
18622
  connected_account_id: string;
18678
- workspace_id: string;
18679
18623
  access_code_id: string;
18680
18624
  event_id: string;
18681
18625
  occurred_at: string;
@@ -18693,18 +18637,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18693
18637
  event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
18694
18638
  }>, "strip", z.ZodTypeAny, {
18695
18639
  device_id: string;
18640
+ workspace_id: string;
18696
18641
  created_at: string;
18697
18642
  connected_account_id: string;
18698
- workspace_id: string;
18699
18643
  access_code_id: string;
18700
18644
  event_id: string;
18701
18645
  occurred_at: string;
18702
18646
  event_type: "access_code.deleted_external_to_seam";
18703
18647
  }, {
18704
18648
  device_id: string;
18649
+ workspace_id: string;
18705
18650
  created_at: string;
18706
18651
  connected_account_id: string;
18707
- workspace_id: string;
18708
18652
  access_code_id: string;
18709
18653
  event_id: string;
18710
18654
  occurred_at: string;
@@ -18723,9 +18667,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18723
18667
  backup_access_code_id: z.ZodString;
18724
18668
  }>, "strip", z.ZodTypeAny, {
18725
18669
  device_id: string;
18670
+ workspace_id: string;
18726
18671
  created_at: string;
18727
18672
  connected_account_id: string;
18728
- workspace_id: string;
18729
18673
  access_code_id: string;
18730
18674
  event_id: string;
18731
18675
  occurred_at: string;
@@ -18733,9 +18677,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18733
18677
  backup_access_code_id: string;
18734
18678
  }, {
18735
18679
  device_id: string;
18680
+ workspace_id: string;
18736
18681
  created_at: string;
18737
18682
  connected_account_id: string;
18738
- workspace_id: string;
18739
18683
  access_code_id: string;
18740
18684
  event_id: string;
18741
18685
  occurred_at: string;
@@ -18754,18 +18698,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18754
18698
  event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
18755
18699
  }>, "strip", z.ZodTypeAny, {
18756
18700
  device_id: string;
18701
+ workspace_id: string;
18757
18702
  created_at: string;
18758
18703
  connected_account_id: string;
18759
- workspace_id: string;
18760
18704
  access_code_id: string;
18761
18705
  event_id: string;
18762
18706
  occurred_at: string;
18763
18707
  event_type: "access_code.unmanaged.converted_to_managed";
18764
18708
  }, {
18765
18709
  device_id: string;
18710
+ workspace_id: string;
18766
18711
  created_at: string;
18767
18712
  connected_account_id: string;
18768
- workspace_id: string;
18769
18713
  access_code_id: string;
18770
18714
  event_id: string;
18771
18715
  occurred_at: string;
@@ -18783,18 +18727,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18783
18727
  event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
18784
18728
  }>, "strip", z.ZodTypeAny, {
18785
18729
  device_id: string;
18730
+ workspace_id: string;
18786
18731
  created_at: string;
18787
18732
  connected_account_id: string;
18788
- workspace_id: string;
18789
18733
  access_code_id: string;
18790
18734
  event_id: string;
18791
18735
  occurred_at: string;
18792
18736
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
18793
18737
  }, {
18794
18738
  device_id: string;
18739
+ workspace_id: string;
18795
18740
  created_at: string;
18796
18741
  connected_account_id: string;
18797
- workspace_id: string;
18798
18742
  access_code_id: string;
18799
18743
  event_id: string;
18800
18744
  occurred_at: string;
@@ -18812,18 +18756,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18812
18756
  event_type: z.ZodLiteral<"access_code.unmanaged.created">;
18813
18757
  }>, "strip", z.ZodTypeAny, {
18814
18758
  device_id: string;
18759
+ workspace_id: string;
18815
18760
  created_at: string;
18816
18761
  connected_account_id: string;
18817
- workspace_id: string;
18818
18762
  access_code_id: string;
18819
18763
  event_id: string;
18820
18764
  occurred_at: string;
18821
18765
  event_type: "access_code.unmanaged.created";
18822
18766
  }, {
18823
18767
  device_id: string;
18768
+ workspace_id: string;
18824
18769
  created_at: string;
18825
18770
  connected_account_id: string;
18826
- workspace_id: string;
18827
18771
  access_code_id: string;
18828
18772
  event_id: string;
18829
18773
  occurred_at: string;
@@ -18841,18 +18785,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18841
18785
  event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
18842
18786
  }>, "strip", z.ZodTypeAny, {
18843
18787
  device_id: string;
18788
+ workspace_id: string;
18844
18789
  created_at: string;
18845
18790
  connected_account_id: string;
18846
- workspace_id: string;
18847
18791
  access_code_id: string;
18848
18792
  event_id: string;
18849
18793
  occurred_at: string;
18850
18794
  event_type: "access_code.unmanaged.removed";
18851
18795
  }, {
18852
18796
  device_id: string;
18797
+ workspace_id: string;
18853
18798
  created_at: string;
18854
18799
  connected_account_id: string;
18855
- workspace_id: string;
18856
18800
  access_code_id: string;
18857
18801
  event_id: string;
18858
18802
  occurred_at: string;
@@ -18867,15 +18811,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18867
18811
  }>, {
18868
18812
  event_type: z.ZodLiteral<"access_grant.created">;
18869
18813
  }>, "strip", z.ZodTypeAny, {
18870
- created_at: string;
18871
18814
  workspace_id: string;
18815
+ created_at: string;
18872
18816
  access_grant_id: string;
18873
18817
  event_id: string;
18874
18818
  occurred_at: string;
18875
18819
  event_type: "access_grant.created";
18876
18820
  }, {
18877
- created_at: string;
18878
18821
  workspace_id: string;
18822
+ created_at: string;
18879
18823
  access_grant_id: string;
18880
18824
  event_id: string;
18881
18825
  occurred_at: string;
@@ -18890,15 +18834,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18890
18834
  }>, {
18891
18835
  event_type: z.ZodLiteral<"access_grant.deleted">;
18892
18836
  }>, "strip", z.ZodTypeAny, {
18893
- created_at: string;
18894
18837
  workspace_id: string;
18838
+ created_at: string;
18895
18839
  access_grant_id: string;
18896
18840
  event_id: string;
18897
18841
  occurred_at: string;
18898
18842
  event_type: "access_grant.deleted";
18899
18843
  }, {
18900
- created_at: string;
18901
18844
  workspace_id: string;
18845
+ created_at: string;
18902
18846
  access_grant_id: string;
18903
18847
  event_id: string;
18904
18848
  occurred_at: string;
@@ -18913,15 +18857,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18913
18857
  }>, {
18914
18858
  event_type: z.ZodLiteral<"access_grant.access_granted_to_all_doors">;
18915
18859
  }>, "strip", z.ZodTypeAny, {
18916
- created_at: string;
18917
18860
  workspace_id: string;
18861
+ created_at: string;
18918
18862
  access_grant_id: string;
18919
18863
  event_id: string;
18920
18864
  occurred_at: string;
18921
18865
  event_type: "access_grant.access_granted_to_all_doors";
18922
18866
  }, {
18923
- created_at: string;
18924
18867
  workspace_id: string;
18868
+ created_at: string;
18925
18869
  access_grant_id: string;
18926
18870
  event_id: string;
18927
18871
  occurred_at: string;
@@ -18937,16 +18881,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18937
18881
  event_type: z.ZodLiteral<"access_grant.access_granted_to_door">;
18938
18882
  acs_entrance_id: z.ZodString;
18939
18883
  }>, "strip", z.ZodTypeAny, {
18940
- created_at: string;
18941
18884
  workspace_id: string;
18885
+ created_at: string;
18942
18886
  access_grant_id: string;
18943
18887
  acs_entrance_id: string;
18944
18888
  event_id: string;
18945
18889
  occurred_at: string;
18946
18890
  event_type: "access_grant.access_granted_to_door";
18947
18891
  }, {
18948
- created_at: string;
18949
18892
  workspace_id: string;
18893
+ created_at: string;
18950
18894
  access_grant_id: string;
18951
18895
  acs_entrance_id: string;
18952
18896
  event_id: string;
@@ -18963,16 +18907,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18963
18907
  event_type: z.ZodLiteral<"access_grant.access_to_door_lost">;
18964
18908
  acs_entrance_id: z.ZodString;
18965
18909
  }>, "strip", z.ZodTypeAny, {
18966
- created_at: string;
18967
18910
  workspace_id: string;
18911
+ created_at: string;
18968
18912
  access_grant_id: string;
18969
18913
  acs_entrance_id: string;
18970
18914
  event_id: string;
18971
18915
  occurred_at: string;
18972
18916
  event_type: "access_grant.access_to_door_lost";
18973
18917
  }, {
18974
- created_at: string;
18975
18918
  workspace_id: string;
18919
+ created_at: string;
18976
18920
  access_grant_id: string;
18977
18921
  acs_entrance_id: string;
18978
18922
  event_id: string;
@@ -18988,15 +18932,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18988
18932
  }>, {
18989
18933
  event_type: z.ZodLiteral<"access_method.issued">;
18990
18934
  }>, "strip", z.ZodTypeAny, {
18991
- created_at: string;
18992
18935
  workspace_id: string;
18936
+ created_at: string;
18993
18937
  access_method_id: string;
18994
18938
  event_id: string;
18995
18939
  occurred_at: string;
18996
18940
  event_type: "access_method.issued";
18997
18941
  }, {
18998
- created_at: string;
18999
18942
  workspace_id: string;
18943
+ created_at: string;
19000
18944
  access_method_id: string;
19001
18945
  event_id: string;
19002
18946
  occurred_at: string;
@@ -19011,15 +18955,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19011
18955
  }>, {
19012
18956
  event_type: z.ZodLiteral<"access_method.revoked">;
19013
18957
  }>, "strip", z.ZodTypeAny, {
19014
- created_at: string;
19015
18958
  workspace_id: string;
18959
+ created_at: string;
19016
18960
  access_method_id: string;
19017
18961
  event_id: string;
19018
18962
  occurred_at: string;
19019
18963
  event_type: "access_method.revoked";
19020
18964
  }, {
19021
- created_at: string;
19022
18965
  workspace_id: string;
18966
+ created_at: string;
19023
18967
  access_method_id: string;
19024
18968
  event_id: string;
19025
18969
  occurred_at: string;
@@ -19034,15 +18978,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19034
18978
  }>, {
19035
18979
  event_type: z.ZodLiteral<"access_method.card_encoding_required">;
19036
18980
  }>, "strip", z.ZodTypeAny, {
19037
- created_at: string;
19038
18981
  workspace_id: string;
18982
+ created_at: string;
19039
18983
  access_method_id: string;
19040
18984
  event_id: string;
19041
18985
  occurred_at: string;
19042
18986
  event_type: "access_method.card_encoding_required";
19043
18987
  }, {
19044
- created_at: string;
19045
18988
  workspace_id: string;
18989
+ created_at: string;
19046
18990
  access_method_id: string;
19047
18991
  event_id: string;
19048
18992
  occurred_at: string;
@@ -19058,16 +19002,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19058
19002
  }>, {}>, {
19059
19003
  event_type: z.ZodLiteral<"acs_system.connected">;
19060
19004
  }>, "strip", z.ZodTypeAny, {
19061
- created_at: string;
19062
19005
  workspace_id: string;
19006
+ created_at: string;
19063
19007
  acs_system_id: string;
19064
19008
  event_id: string;
19065
19009
  occurred_at: string;
19066
19010
  event_type: "acs_system.connected";
19067
19011
  connected_account_id?: string | undefined;
19068
19012
  }, {
19069
- created_at: string;
19070
19013
  workspace_id: string;
19014
+ created_at: string;
19071
19015
  acs_system_id: string;
19072
19016
  event_id: string;
19073
19017
  occurred_at: string;
@@ -19084,16 +19028,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19084
19028
  }>, {}>, {
19085
19029
  event_type: z.ZodLiteral<"acs_system.added">;
19086
19030
  }>, "strip", z.ZodTypeAny, {
19087
- created_at: string;
19088
19031
  workspace_id: string;
19032
+ created_at: string;
19089
19033
  acs_system_id: string;
19090
19034
  event_id: string;
19091
19035
  occurred_at: string;
19092
19036
  event_type: "acs_system.added";
19093
19037
  connected_account_id?: string | undefined;
19094
19038
  }, {
19095
- created_at: string;
19096
19039
  workspace_id: string;
19040
+ created_at: string;
19097
19041
  acs_system_id: string;
19098
19042
  event_id: string;
19099
19043
  occurred_at: string;
@@ -19110,16 +19054,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19110
19054
  }>, {}>, {
19111
19055
  event_type: z.ZodLiteral<"acs_system.disconnected">;
19112
19056
  }>, "strip", z.ZodTypeAny, {
19113
- created_at: string;
19114
19057
  workspace_id: string;
19058
+ created_at: string;
19115
19059
  acs_system_id: string;
19116
19060
  event_id: string;
19117
19061
  occurred_at: string;
19118
19062
  event_type: "acs_system.disconnected";
19119
19063
  connected_account_id?: string | undefined;
19120
19064
  }, {
19121
- created_at: string;
19122
19065
  workspace_id: string;
19066
+ created_at: string;
19123
19067
  acs_system_id: string;
19124
19068
  event_id: string;
19125
19069
  occurred_at: string;
@@ -19138,8 +19082,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19138
19082
  }>, {
19139
19083
  event_type: z.ZodLiteral<"acs_credential.deleted">;
19140
19084
  }>, "strip", z.ZodTypeAny, {
19141
- created_at: string;
19142
19085
  workspace_id: string;
19086
+ created_at: string;
19143
19087
  acs_system_id: string;
19144
19088
  acs_credential_id: string;
19145
19089
  event_id: string;
@@ -19147,8 +19091,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19147
19091
  event_type: "acs_credential.deleted";
19148
19092
  connected_account_id?: string | undefined;
19149
19093
  }, {
19150
- created_at: string;
19151
19094
  workspace_id: string;
19095
+ created_at: string;
19152
19096
  acs_system_id: string;
19153
19097
  acs_credential_id: string;
19154
19098
  event_id: string;
@@ -19168,8 +19112,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19168
19112
  }>, {
19169
19113
  event_type: z.ZodLiteral<"acs_credential.issued">;
19170
19114
  }>, "strip", z.ZodTypeAny, {
19171
- created_at: string;
19172
19115
  workspace_id: string;
19116
+ created_at: string;
19173
19117
  acs_system_id: string;
19174
19118
  acs_credential_id: string;
19175
19119
  event_id: string;
@@ -19177,8 +19121,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19177
19121
  event_type: "acs_credential.issued";
19178
19122
  connected_account_id?: string | undefined;
19179
19123
  }, {
19180
- created_at: string;
19181
19124
  workspace_id: string;
19125
+ created_at: string;
19182
19126
  acs_system_id: string;
19183
19127
  acs_credential_id: string;
19184
19128
  event_id: string;
@@ -19198,8 +19142,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19198
19142
  }>, {
19199
19143
  event_type: z.ZodLiteral<"acs_credential.reissued">;
19200
19144
  }>, "strip", z.ZodTypeAny, {
19201
- created_at: string;
19202
19145
  workspace_id: string;
19146
+ created_at: string;
19203
19147
  acs_system_id: string;
19204
19148
  acs_credential_id: string;
19205
19149
  event_id: string;
@@ -19207,8 +19151,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19207
19151
  event_type: "acs_credential.reissued";
19208
19152
  connected_account_id?: string | undefined;
19209
19153
  }, {
19210
- created_at: string;
19211
19154
  workspace_id: string;
19155
+ created_at: string;
19212
19156
  acs_system_id: string;
19213
19157
  acs_credential_id: string;
19214
19158
  event_id: string;
@@ -19228,8 +19172,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19228
19172
  }>, {
19229
19173
  event_type: z.ZodLiteral<"acs_credential.invalidated">;
19230
19174
  }>, "strip", z.ZodTypeAny, {
19231
- created_at: string;
19232
19175
  workspace_id: string;
19176
+ created_at: string;
19233
19177
  acs_system_id: string;
19234
19178
  acs_credential_id: string;
19235
19179
  event_id: string;
@@ -19237,8 +19181,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19237
19181
  event_type: "acs_credential.invalidated";
19238
19182
  connected_account_id?: string | undefined;
19239
19183
  }, {
19240
- created_at: string;
19241
19184
  workspace_id: string;
19185
+ created_at: string;
19242
19186
  acs_system_id: string;
19243
19187
  acs_credential_id: string;
19244
19188
  event_id: string;
@@ -19258,8 +19202,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19258
19202
  }>, {
19259
19203
  event_type: z.ZodLiteral<"acs_user.created">;
19260
19204
  }>, "strip", z.ZodTypeAny, {
19261
- created_at: string;
19262
19205
  workspace_id: string;
19206
+ created_at: string;
19263
19207
  acs_system_id: string;
19264
19208
  acs_user_id: string;
19265
19209
  event_id: string;
@@ -19267,8 +19211,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19267
19211
  event_type: "acs_user.created";
19268
19212
  connected_account_id?: string | undefined;
19269
19213
  }, {
19270
- created_at: string;
19271
19214
  workspace_id: string;
19215
+ created_at: string;
19272
19216
  acs_system_id: string;
19273
19217
  acs_user_id: string;
19274
19218
  event_id: string;
@@ -19288,8 +19232,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19288
19232
  }>, {
19289
19233
  event_type: z.ZodLiteral<"acs_user.deleted">;
19290
19234
  }>, "strip", z.ZodTypeAny, {
19291
- created_at: string;
19292
19235
  workspace_id: string;
19236
+ created_at: string;
19293
19237
  acs_system_id: string;
19294
19238
  acs_user_id: string;
19295
19239
  event_id: string;
@@ -19297,8 +19241,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19297
19241
  event_type: "acs_user.deleted";
19298
19242
  connected_account_id?: string | undefined;
19299
19243
  }, {
19300
- created_at: string;
19301
19244
  workspace_id: string;
19245
+ created_at: string;
19302
19246
  acs_system_id: string;
19303
19247
  acs_user_id: string;
19304
19248
  event_id: string;
@@ -19318,8 +19262,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19318
19262
  }>, {
19319
19263
  event_type: z.ZodLiteral<"acs_encoder.added">;
19320
19264
  }>, "strip", z.ZodTypeAny, {
19321
- created_at: string;
19322
19265
  workspace_id: string;
19266
+ created_at: string;
19323
19267
  acs_system_id: string;
19324
19268
  acs_encoder_id: string;
19325
19269
  event_id: string;
@@ -19327,8 +19271,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19327
19271
  event_type: "acs_encoder.added";
19328
19272
  connected_account_id?: string | undefined;
19329
19273
  }, {
19330
- created_at: string;
19331
19274
  workspace_id: string;
19275
+ created_at: string;
19332
19276
  acs_system_id: string;
19333
19277
  acs_encoder_id: string;
19334
19278
  event_id: string;
@@ -19348,8 +19292,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19348
19292
  }>, {
19349
19293
  event_type: z.ZodLiteral<"acs_encoder.removed">;
19350
19294
  }>, "strip", z.ZodTypeAny, {
19351
- created_at: string;
19352
19295
  workspace_id: string;
19296
+ created_at: string;
19353
19297
  acs_system_id: string;
19354
19298
  acs_encoder_id: string;
19355
19299
  event_id: string;
@@ -19357,8 +19301,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19357
19301
  event_type: "acs_encoder.removed";
19358
19302
  connected_account_id?: string | undefined;
19359
19303
  }, {
19360
- created_at: string;
19361
19304
  workspace_id: string;
19305
+ created_at: string;
19362
19306
  acs_system_id: string;
19363
19307
  acs_encoder_id: string;
19364
19308
  event_id: string;
@@ -19378,8 +19322,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19378
19322
  }>, {
19379
19323
  event_type: z.ZodLiteral<"acs_access_group.deleted">;
19380
19324
  }>, "strip", z.ZodTypeAny, {
19381
- created_at: string;
19382
19325
  workspace_id: string;
19326
+ created_at: string;
19383
19327
  acs_access_group_id: string;
19384
19328
  acs_system_id: string;
19385
19329
  event_id: string;
@@ -19387,8 +19331,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19387
19331
  event_type: "acs_access_group.deleted";
19388
19332
  connected_account_id?: string | undefined;
19389
19333
  }, {
19390
- created_at: string;
19391
19334
  workspace_id: string;
19335
+ created_at: string;
19392
19336
  acs_access_group_id: string;
19393
19337
  acs_system_id: string;
19394
19338
  event_id: string;
@@ -19408,8 +19352,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19408
19352
  }>, {
19409
19353
  event_type: z.ZodLiteral<"acs_entrance.added">;
19410
19354
  }>, "strip", z.ZodTypeAny, {
19411
- created_at: string;
19412
19355
  workspace_id: string;
19356
+ created_at: string;
19413
19357
  acs_system_id: string;
19414
19358
  acs_entrance_id: string;
19415
19359
  event_id: string;
@@ -19417,8 +19361,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19417
19361
  event_type: "acs_entrance.added";
19418
19362
  connected_account_id?: string | undefined;
19419
19363
  }, {
19420
- created_at: string;
19421
19364
  workspace_id: string;
19365
+ created_at: string;
19422
19366
  acs_system_id: string;
19423
19367
  acs_entrance_id: string;
19424
19368
  event_id: string;
@@ -19438,8 +19382,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19438
19382
  }>, {
19439
19383
  event_type: z.ZodLiteral<"acs_entrance.removed">;
19440
19384
  }>, "strip", z.ZodTypeAny, {
19441
- created_at: string;
19442
19385
  workspace_id: string;
19386
+ created_at: string;
19443
19387
  acs_system_id: string;
19444
19388
  acs_entrance_id: string;
19445
19389
  event_id: string;
@@ -19447,8 +19391,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19447
19391
  event_type: "acs_entrance.removed";
19448
19392
  connected_account_id?: string | undefined;
19449
19393
  }, {
19450
- created_at: string;
19451
19394
  workspace_id: string;
19395
+ created_at: string;
19452
19396
  acs_system_id: string;
19453
19397
  acs_entrance_id: string;
19454
19398
  event_id: string;
@@ -19465,15 +19409,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19465
19409
  }>, {
19466
19410
  event_type: z.ZodLiteral<"client_session.deleted">;
19467
19411
  }>, "strip", z.ZodTypeAny, {
19468
- created_at: string;
19469
19412
  workspace_id: string;
19413
+ created_at: string;
19470
19414
  client_session_id: string;
19471
19415
  event_id: string;
19472
19416
  occurred_at: string;
19473
19417
  event_type: "client_session.deleted";
19474
19418
  }, {
19475
- created_at: string;
19476
19419
  workspace_id: string;
19420
+ created_at: string;
19477
19421
  client_session_id: string;
19478
19422
  event_id: string;
19479
19423
  occurred_at: string;
@@ -19489,17 +19433,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19489
19433
  event_type: z.ZodLiteral<"connected_account.connected">;
19490
19434
  connect_webview_id: z.ZodString;
19491
19435
  }>, "strip", z.ZodTypeAny, {
19436
+ workspace_id: string;
19492
19437
  created_at: string;
19493
19438
  connected_account_id: string;
19494
- workspace_id: string;
19495
19439
  connect_webview_id: string;
19496
19440
  event_id: string;
19497
19441
  occurred_at: string;
19498
19442
  event_type: "connected_account.connected";
19499
19443
  }, {
19444
+ workspace_id: string;
19500
19445
  created_at: string;
19501
19446
  connected_account_id: string;
19502
- workspace_id: string;
19503
19447
  connect_webview_id: string;
19504
19448
  event_id: string;
19505
19449
  occurred_at: string;
@@ -19515,17 +19459,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19515
19459
  event_type: z.ZodLiteral<"connected_account.created">;
19516
19460
  connect_webview_id: z.ZodString;
19517
19461
  }>, "strip", z.ZodTypeAny, {
19462
+ workspace_id: string;
19518
19463
  created_at: string;
19519
19464
  connected_account_id: string;
19520
- workspace_id: string;
19521
19465
  connect_webview_id: string;
19522
19466
  event_id: string;
19523
19467
  occurred_at: string;
19524
19468
  event_type: "connected_account.created";
19525
19469
  }, {
19470
+ workspace_id: string;
19526
19471
  created_at: string;
19527
19472
  connected_account_id: string;
19528
- workspace_id: string;
19529
19473
  connect_webview_id: string;
19530
19474
  event_id: string;
19531
19475
  occurred_at: string;
@@ -19541,17 +19485,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19541
19485
  event_type: z.ZodLiteral<"connected_account.successful_login">;
19542
19486
  connect_webview_id: z.ZodString;
19543
19487
  }>, "strip", z.ZodTypeAny, {
19488
+ workspace_id: string;
19544
19489
  created_at: string;
19545
19490
  connected_account_id: string;
19546
- workspace_id: string;
19547
19491
  connect_webview_id: string;
19548
19492
  event_id: string;
19549
19493
  occurred_at: string;
19550
19494
  event_type: "connected_account.successful_login";
19551
19495
  }, {
19496
+ workspace_id: string;
19552
19497
  created_at: string;
19553
19498
  connected_account_id: string;
19554
- workspace_id: string;
19555
19499
  connect_webview_id: string;
19556
19500
  event_id: string;
19557
19501
  occurred_at: string;
@@ -19566,16 +19510,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19566
19510
  }>, {
19567
19511
  event_type: z.ZodLiteral<"connected_account.disconnected">;
19568
19512
  }>, "strip", z.ZodTypeAny, {
19513
+ workspace_id: string;
19569
19514
  created_at: string;
19570
19515
  connected_account_id: string;
19571
- workspace_id: string;
19572
19516
  event_id: string;
19573
19517
  occurred_at: string;
19574
19518
  event_type: "connected_account.disconnected";
19575
19519
  }, {
19520
+ workspace_id: string;
19576
19521
  created_at: string;
19577
19522
  connected_account_id: string;
19578
- workspace_id: string;
19579
19523
  event_id: string;
19580
19524
  occurred_at: string;
19581
19525
  event_type: "connected_account.disconnected";
@@ -19589,16 +19533,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19589
19533
  }>, {
19590
19534
  event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
19591
19535
  }>, "strip", z.ZodTypeAny, {
19536
+ workspace_id: string;
19592
19537
  created_at: string;
19593
19538
  connected_account_id: string;
19594
- workspace_id: string;
19595
19539
  event_id: string;
19596
19540
  occurred_at: string;
19597
19541
  event_type: "connected_account.completed_first_sync";
19598
19542
  }, {
19543
+ workspace_id: string;
19599
19544
  created_at: string;
19600
19545
  connected_account_id: string;
19601
- workspace_id: string;
19602
19546
  event_id: string;
19603
19547
  occurred_at: string;
19604
19548
  event_type: "connected_account.completed_first_sync";
@@ -19612,16 +19556,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19612
19556
  }>, {
19613
19557
  event_type: z.ZodLiteral<"connected_account.deleted">;
19614
19558
  }>, "strip", z.ZodTypeAny, {
19559
+ workspace_id: string;
19615
19560
  created_at: string;
19616
19561
  connected_account_id: string;
19617
- workspace_id: string;
19618
19562
  event_id: string;
19619
19563
  occurred_at: string;
19620
19564
  event_type: "connected_account.deleted";
19621
19565
  }, {
19566
+ workspace_id: string;
19622
19567
  created_at: string;
19623
19568
  connected_account_id: string;
19624
- workspace_id: string;
19625
19569
  event_id: string;
19626
19570
  occurred_at: string;
19627
19571
  event_type: "connected_account.deleted";
@@ -19635,16 +19579,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19635
19579
  }>, {
19636
19580
  event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
19637
19581
  }>, "strip", z.ZodTypeAny, {
19582
+ workspace_id: string;
19638
19583
  created_at: string;
19639
19584
  connected_account_id: string;
19640
- workspace_id: string;
19641
19585
  event_id: string;
19642
19586
  occurred_at: string;
19643
19587
  event_type: "connected_account.completed_first_sync_after_reconnection";
19644
19588
  }, {
19589
+ workspace_id: string;
19645
19590
  created_at: string;
19646
19591
  connected_account_id: string;
19647
- workspace_id: string;
19648
19592
  event_id: string;
19649
19593
  occurred_at: string;
19650
19594
  event_type: "connected_account.completed_first_sync_after_reconnection";
@@ -19661,8 +19605,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19661
19605
  event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
19662
19606
  }>, "strip", z.ZodTypeAny, {
19663
19607
  status: string;
19664
- created_at: string;
19665
19608
  workspace_id: string;
19609
+ created_at: string;
19666
19610
  action_attempt_id: string;
19667
19611
  action_type: string;
19668
19612
  event_id: string;
@@ -19670,8 +19614,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19670
19614
  event_type: "action_attempt.lock_door.succeeded";
19671
19615
  }, {
19672
19616
  status: string;
19673
- created_at: string;
19674
19617
  workspace_id: string;
19618
+ created_at: string;
19675
19619
  action_attempt_id: string;
19676
19620
  action_type: string;
19677
19621
  event_id: string;
@@ -19690,8 +19634,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19690
19634
  event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
19691
19635
  }>, "strip", z.ZodTypeAny, {
19692
19636
  status: string;
19693
- created_at: string;
19694
19637
  workspace_id: string;
19638
+ created_at: string;
19695
19639
  action_attempt_id: string;
19696
19640
  action_type: string;
19697
19641
  event_id: string;
@@ -19699,8 +19643,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19699
19643
  event_type: "action_attempt.lock_door.failed";
19700
19644
  }, {
19701
19645
  status: string;
19702
- created_at: string;
19703
19646
  workspace_id: string;
19647
+ created_at: string;
19704
19648
  action_attempt_id: string;
19705
19649
  action_type: string;
19706
19650
  event_id: string;
@@ -19719,8 +19663,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19719
19663
  event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
19720
19664
  }>, "strip", z.ZodTypeAny, {
19721
19665
  status: string;
19722
- created_at: string;
19723
19666
  workspace_id: string;
19667
+ created_at: string;
19724
19668
  action_attempt_id: string;
19725
19669
  action_type: string;
19726
19670
  event_id: string;
@@ -19728,8 +19672,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19728
19672
  event_type: "action_attempt.unlock_door.succeeded";
19729
19673
  }, {
19730
19674
  status: string;
19731
- created_at: string;
19732
19675
  workspace_id: string;
19676
+ created_at: string;
19733
19677
  action_attempt_id: string;
19734
19678
  action_type: string;
19735
19679
  event_id: string;
@@ -19748,8 +19692,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19748
19692
  event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
19749
19693
  }>, "strip", z.ZodTypeAny, {
19750
19694
  status: string;
19751
- created_at: string;
19752
19695
  workspace_id: string;
19696
+ created_at: string;
19753
19697
  action_attempt_id: string;
19754
19698
  action_type: string;
19755
19699
  event_id: string;
@@ -19757,8 +19701,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19757
19701
  event_type: "action_attempt.unlock_door.failed";
19758
19702
  }, {
19759
19703
  status: string;
19760
- created_at: string;
19761
19704
  workspace_id: string;
19705
+ created_at: string;
19762
19706
  action_attempt_id: string;
19763
19707
  action_type: string;
19764
19708
  event_id: string;
@@ -19775,17 +19719,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19775
19719
  event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
19776
19720
  connected_account_id: z.ZodString;
19777
19721
  }>, "strip", z.ZodTypeAny, {
19722
+ workspace_id: string;
19778
19723
  created_at: string;
19779
19724
  connected_account_id: string;
19780
- workspace_id: string;
19781
19725
  connect_webview_id: string;
19782
19726
  event_id: string;
19783
19727
  occurred_at: string;
19784
19728
  event_type: "connect_webview.login_succeeded";
19785
19729
  }, {
19730
+ workspace_id: string;
19786
19731
  created_at: string;
19787
19732
  connected_account_id: string;
19788
- workspace_id: string;
19789
19733
  connect_webview_id: string;
19790
19734
  event_id: string;
19791
19735
  occurred_at: string;
@@ -19800,15 +19744,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19800
19744
  }>, {
19801
19745
  event_type: z.ZodLiteral<"connect_webview.login_failed">;
19802
19746
  }>, "strip", z.ZodTypeAny, {
19803
- created_at: string;
19804
19747
  workspace_id: string;
19748
+ created_at: string;
19805
19749
  connect_webview_id: string;
19806
19750
  event_id: string;
19807
19751
  occurred_at: string;
19808
19752
  event_type: "connect_webview.login_failed";
19809
19753
  }, {
19810
- created_at: string;
19811
19754
  workspace_id: string;
19755
+ created_at: string;
19812
19756
  connect_webview_id: string;
19813
19757
  event_id: string;
19814
19758
  occurred_at: string;
@@ -19825,17 +19769,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19825
19769
  event_type: z.ZodLiteral<"device.connected">;
19826
19770
  }>, "strip", z.ZodTypeAny, {
19827
19771
  device_id: string;
19772
+ workspace_id: string;
19828
19773
  created_at: string;
19829
19774
  connected_account_id: string;
19830
- workspace_id: string;
19831
19775
  event_id: string;
19832
19776
  occurred_at: string;
19833
19777
  event_type: "device.connected";
19834
19778
  }, {
19835
19779
  device_id: string;
19780
+ workspace_id: string;
19836
19781
  created_at: string;
19837
19782
  connected_account_id: string;
19838
- workspace_id: string;
19839
19783
  event_id: string;
19840
19784
  occurred_at: string;
19841
19785
  event_type: "device.connected";
@@ -19851,17 +19795,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19851
19795
  event_type: z.ZodLiteral<"device.added">;
19852
19796
  }>, "strip", z.ZodTypeAny, {
19853
19797
  device_id: string;
19798
+ workspace_id: string;
19854
19799
  created_at: string;
19855
19800
  connected_account_id: string;
19856
- workspace_id: string;
19857
19801
  event_id: string;
19858
19802
  occurred_at: string;
19859
19803
  event_type: "device.added";
19860
19804
  }, {
19861
19805
  device_id: string;
19806
+ workspace_id: string;
19862
19807
  created_at: string;
19863
19808
  connected_account_id: string;
19864
- workspace_id: string;
19865
19809
  event_id: string;
19866
19810
  occurred_at: string;
19867
19811
  event_type: "device.added";
@@ -19877,17 +19821,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19877
19821
  event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
19878
19822
  }>, "strip", z.ZodTypeAny, {
19879
19823
  device_id: string;
19824
+ workspace_id: string;
19880
19825
  created_at: string;
19881
19826
  connected_account_id: string;
19882
- workspace_id: string;
19883
19827
  event_id: string;
19884
19828
  occurred_at: string;
19885
19829
  event_type: "device.converted_to_unmanaged";
19886
19830
  }, {
19887
19831
  device_id: string;
19832
+ workspace_id: string;
19888
19833
  created_at: string;
19889
19834
  connected_account_id: string;
19890
- workspace_id: string;
19891
19835
  event_id: string;
19892
19836
  occurred_at: string;
19893
19837
  event_type: "device.converted_to_unmanaged";
@@ -19903,17 +19847,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19903
19847
  event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
19904
19848
  }>, "strip", z.ZodTypeAny, {
19905
19849
  device_id: string;
19850
+ workspace_id: string;
19906
19851
  created_at: string;
19907
19852
  connected_account_id: string;
19908
- workspace_id: string;
19909
19853
  event_id: string;
19910
19854
  occurred_at: string;
19911
19855
  event_type: "device.unmanaged.converted_to_managed";
19912
19856
  }, {
19913
19857
  device_id: string;
19858
+ workspace_id: string;
19914
19859
  created_at: string;
19915
19860
  connected_account_id: string;
19916
- workspace_id: string;
19917
19861
  event_id: string;
19918
19862
  occurred_at: string;
19919
19863
  event_type: "device.unmanaged.converted_to_managed";
@@ -19929,17 +19873,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19929
19873
  event_type: z.ZodLiteral<"device.unmanaged.connected">;
19930
19874
  }>, "strip", z.ZodTypeAny, {
19931
19875
  device_id: string;
19876
+ workspace_id: string;
19932
19877
  created_at: string;
19933
19878
  connected_account_id: string;
19934
- workspace_id: string;
19935
19879
  event_id: string;
19936
19880
  occurred_at: string;
19937
19881
  event_type: "device.unmanaged.connected";
19938
19882
  }, {
19939
19883
  device_id: string;
19884
+ workspace_id: string;
19940
19885
  created_at: string;
19941
19886
  connected_account_id: string;
19942
- workspace_id: string;
19943
19887
  event_id: string;
19944
19888
  occurred_at: string;
19945
19889
  event_type: "device.unmanaged.connected";
@@ -19956,19 +19900,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19956
19900
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
19957
19901
  }>, "strip", z.ZodTypeAny, {
19958
19902
  device_id: string;
19903
+ workspace_id: string;
19959
19904
  created_at: string;
19960
19905
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19961
19906
  connected_account_id: string;
19962
- workspace_id: string;
19963
19907
  event_id: string;
19964
19908
  occurred_at: string;
19965
19909
  event_type: "device.disconnected";
19966
19910
  }, {
19967
19911
  device_id: string;
19912
+ workspace_id: string;
19968
19913
  created_at: string;
19969
19914
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19970
19915
  connected_account_id: string;
19971
- workspace_id: string;
19972
19916
  event_id: string;
19973
19917
  occurred_at: string;
19974
19918
  event_type: "device.disconnected";
@@ -19985,19 +19929,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19985
19929
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
19986
19930
  }>, "strip", z.ZodTypeAny, {
19987
19931
  device_id: string;
19932
+ workspace_id: string;
19988
19933
  created_at: string;
19989
19934
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19990
19935
  connected_account_id: string;
19991
- workspace_id: string;
19992
19936
  event_id: string;
19993
19937
  occurred_at: string;
19994
19938
  event_type: "device.unmanaged.disconnected";
19995
19939
  }, {
19996
19940
  device_id: string;
19941
+ workspace_id: string;
19997
19942
  created_at: string;
19998
19943
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19999
19944
  connected_account_id: string;
20000
- workspace_id: string;
20001
19945
  event_id: string;
20002
19946
  occurred_at: string;
20003
19947
  event_type: "device.unmanaged.disconnected";
@@ -20013,17 +19957,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20013
19957
  event_type: z.ZodLiteral<"device.tampered">;
20014
19958
  }>, "strip", z.ZodTypeAny, {
20015
19959
  device_id: string;
19960
+ workspace_id: string;
20016
19961
  created_at: string;
20017
19962
  connected_account_id: string;
20018
- workspace_id: string;
20019
19963
  event_id: string;
20020
19964
  occurred_at: string;
20021
19965
  event_type: "device.tampered";
20022
19966
  }, {
20023
19967
  device_id: string;
19968
+ workspace_id: string;
20024
19969
  created_at: string;
20025
19970
  connected_account_id: string;
20026
- workspace_id: string;
20027
19971
  event_id: string;
20028
19972
  occurred_at: string;
20029
19973
  event_type: "device.tampered";
@@ -20040,19 +19984,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20040
19984
  battery_level: z.ZodNumber;
20041
19985
  }>, "strip", z.ZodTypeAny, {
20042
19986
  device_id: string;
19987
+ workspace_id: string;
20043
19988
  created_at: string;
20044
19989
  connected_account_id: string;
20045
19990
  battery_level: number;
20046
- workspace_id: string;
20047
19991
  event_id: string;
20048
19992
  occurred_at: string;
20049
19993
  event_type: "device.low_battery";
20050
19994
  }, {
20051
19995
  device_id: string;
19996
+ workspace_id: string;
20052
19997
  created_at: string;
20053
19998
  connected_account_id: string;
20054
19999
  battery_level: number;
20055
- workspace_id: string;
20056
20000
  event_id: string;
20057
20001
  occurred_at: string;
20058
20002
  event_type: "device.low_battery";
@@ -20070,20 +20014,20 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20070
20014
  battery_level: z.ZodNumber;
20071
20015
  }>, "strip", z.ZodTypeAny, {
20072
20016
  device_id: string;
20017
+ workspace_id: string;
20073
20018
  created_at: string;
20074
20019
  connected_account_id: string;
20075
20020
  battery_level: number;
20076
- workspace_id: string;
20077
20021
  event_id: string;
20078
20022
  occurred_at: string;
20079
20023
  event_type: "device.battery_status_changed";
20080
20024
  battery_status: "critical" | "low" | "good" | "full";
20081
20025
  }, {
20082
20026
  device_id: string;
20027
+ workspace_id: string;
20083
20028
  created_at: string;
20084
20029
  connected_account_id: string;
20085
20030
  battery_level: number;
20086
- workspace_id: string;
20087
20031
  event_id: string;
20088
20032
  occurred_at: string;
20089
20033
  event_type: "device.battery_status_changed";
@@ -20100,17 +20044,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20100
20044
  event_type: z.ZodLiteral<"device.removed">;
20101
20045
  }>, "strip", z.ZodTypeAny, {
20102
20046
  device_id: string;
20047
+ workspace_id: string;
20103
20048
  created_at: string;
20104
20049
  connected_account_id: string;
20105
- workspace_id: string;
20106
20050
  event_id: string;
20107
20051
  occurred_at: string;
20108
20052
  event_type: "device.removed";
20109
20053
  }, {
20110
20054
  device_id: string;
20055
+ workspace_id: string;
20111
20056
  created_at: string;
20112
20057
  connected_account_id: string;
20113
- workspace_id: string;
20114
20058
  event_id: string;
20115
20059
  occurred_at: string;
20116
20060
  event_type: "device.removed";
@@ -20126,17 +20070,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20126
20070
  event_type: z.ZodLiteral<"device.deleted">;
20127
20071
  }>, "strip", z.ZodTypeAny, {
20128
20072
  device_id: string;
20073
+ workspace_id: string;
20129
20074
  created_at: string;
20130
20075
  connected_account_id: string;
20131
- workspace_id: string;
20132
20076
  event_id: string;
20133
20077
  occurred_at: string;
20134
20078
  event_type: "device.deleted";
20135
20079
  }, {
20136
20080
  device_id: string;
20081
+ workspace_id: string;
20137
20082
  created_at: string;
20138
20083
  connected_account_id: string;
20139
- workspace_id: string;
20140
20084
  event_id: string;
20141
20085
  occurred_at: string;
20142
20086
  event_type: "device.deleted";
@@ -20152,17 +20096,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20152
20096
  event_type: z.ZodLiteral<"device.third_party_integration_detected">;
20153
20097
  }>, "strip", z.ZodTypeAny, {
20154
20098
  device_id: string;
20099
+ workspace_id: string;
20155
20100
  created_at: string;
20156
20101
  connected_account_id: string;
20157
- workspace_id: string;
20158
20102
  event_id: string;
20159
20103
  occurred_at: string;
20160
20104
  event_type: "device.third_party_integration_detected";
20161
20105
  }, {
20162
20106
  device_id: string;
20107
+ workspace_id: string;
20163
20108
  created_at: string;
20164
20109
  connected_account_id: string;
20165
- workspace_id: string;
20166
20110
  event_id: string;
20167
20111
  occurred_at: string;
20168
20112
  event_type: "device.third_party_integration_detected";
@@ -20178,17 +20122,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20178
20122
  event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
20179
20123
  }>, "strip", z.ZodTypeAny, {
20180
20124
  device_id: string;
20125
+ workspace_id: string;
20181
20126
  created_at: string;
20182
20127
  connected_account_id: string;
20183
- workspace_id: string;
20184
20128
  event_id: string;
20185
20129
  occurred_at: string;
20186
20130
  event_type: "device.third_party_integration_no_longer_detected";
20187
20131
  }, {
20188
20132
  device_id: string;
20133
+ workspace_id: string;
20189
20134
  created_at: string;
20190
20135
  connected_account_id: string;
20191
- workspace_id: string;
20192
20136
  event_id: string;
20193
20137
  occurred_at: string;
20194
20138
  event_type: "device.third_party_integration_no_longer_detected";
@@ -20204,17 +20148,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20204
20148
  event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
20205
20149
  }>, "strip", z.ZodTypeAny, {
20206
20150
  device_id: string;
20151
+ workspace_id: string;
20207
20152
  created_at: string;
20208
20153
  connected_account_id: string;
20209
- workspace_id: string;
20210
20154
  event_id: string;
20211
20155
  occurred_at: string;
20212
20156
  event_type: "device.salto.privacy_mode_activated";
20213
20157
  }, {
20214
20158
  device_id: string;
20159
+ workspace_id: string;
20215
20160
  created_at: string;
20216
20161
  connected_account_id: string;
20217
- workspace_id: string;
20218
20162
  event_id: string;
20219
20163
  occurred_at: string;
20220
20164
  event_type: "device.salto.privacy_mode_activated";
@@ -20230,17 +20174,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20230
20174
  event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
20231
20175
  }>, "strip", z.ZodTypeAny, {
20232
20176
  device_id: string;
20177
+ workspace_id: string;
20233
20178
  created_at: string;
20234
20179
  connected_account_id: string;
20235
- workspace_id: string;
20236
20180
  event_id: string;
20237
20181
  occurred_at: string;
20238
20182
  event_type: "device.salto.privacy_mode_deactivated";
20239
20183
  }, {
20240
20184
  device_id: string;
20185
+ workspace_id: string;
20241
20186
  created_at: string;
20242
20187
  connected_account_id: string;
20243
- workspace_id: string;
20244
20188
  event_id: string;
20245
20189
  occurred_at: string;
20246
20190
  event_type: "device.salto.privacy_mode_deactivated";
@@ -20256,17 +20200,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20256
20200
  event_type: z.ZodLiteral<"device.connection_became_flaky">;
20257
20201
  }>, "strip", z.ZodTypeAny, {
20258
20202
  device_id: string;
20203
+ workspace_id: string;
20259
20204
  created_at: string;
20260
20205
  connected_account_id: string;
20261
- workspace_id: string;
20262
20206
  event_id: string;
20263
20207
  occurred_at: string;
20264
20208
  event_type: "device.connection_became_flaky";
20265
20209
  }, {
20266
20210
  device_id: string;
20211
+ workspace_id: string;
20267
20212
  created_at: string;
20268
20213
  connected_account_id: string;
20269
- workspace_id: string;
20270
20214
  event_id: string;
20271
20215
  occurred_at: string;
20272
20216
  event_type: "device.connection_became_flaky";
@@ -20282,17 +20226,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20282
20226
  event_type: z.ZodLiteral<"device.connection_stabilized">;
20283
20227
  }>, "strip", z.ZodTypeAny, {
20284
20228
  device_id: string;
20229
+ workspace_id: string;
20285
20230
  created_at: string;
20286
20231
  connected_account_id: string;
20287
- workspace_id: string;
20288
20232
  event_id: string;
20289
20233
  occurred_at: string;
20290
20234
  event_type: "device.connection_stabilized";
20291
20235
  }, {
20292
20236
  device_id: string;
20237
+ workspace_id: string;
20293
20238
  created_at: string;
20294
20239
  connected_account_id: string;
20295
- workspace_id: string;
20296
20240
  event_id: string;
20297
20241
  occurred_at: string;
20298
20242
  event_type: "device.connection_stabilized";
@@ -20308,17 +20252,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20308
20252
  event_type: z.ZodLiteral<"device.error.subscription_required">;
20309
20253
  }>, "strip", z.ZodTypeAny, {
20310
20254
  device_id: string;
20255
+ workspace_id: string;
20311
20256
  created_at: string;
20312
20257
  connected_account_id: string;
20313
- workspace_id: string;
20314
20258
  event_id: string;
20315
20259
  occurred_at: string;
20316
20260
  event_type: "device.error.subscription_required";
20317
20261
  }, {
20318
20262
  device_id: string;
20263
+ workspace_id: string;
20319
20264
  created_at: string;
20320
20265
  connected_account_id: string;
20321
- workspace_id: string;
20322
20266
  event_id: string;
20323
20267
  occurred_at: string;
20324
20268
  event_type: "device.error.subscription_required";
@@ -20334,17 +20278,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20334
20278
  event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
20335
20279
  }>, "strip", z.ZodTypeAny, {
20336
20280
  device_id: string;
20281
+ workspace_id: string;
20337
20282
  created_at: string;
20338
20283
  connected_account_id: string;
20339
- workspace_id: string;
20340
20284
  event_id: string;
20341
20285
  occurred_at: string;
20342
20286
  event_type: "device.error.subscription_required.resolved";
20343
20287
  }, {
20344
20288
  device_id: string;
20289
+ workspace_id: string;
20345
20290
  created_at: string;
20346
20291
  connected_account_id: string;
20347
- workspace_id: string;
20348
20292
  event_id: string;
20349
20293
  occurred_at: string;
20350
20294
  event_type: "device.error.subscription_required.resolved";
@@ -20360,17 +20304,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20360
20304
  event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
20361
20305
  }>, "strip", z.ZodTypeAny, {
20362
20306
  device_id: string;
20307
+ workspace_id: string;
20363
20308
  created_at: string;
20364
20309
  connected_account_id: string;
20365
- workspace_id: string;
20366
20310
  event_id: string;
20367
20311
  occurred_at: string;
20368
20312
  event_type: "device.accessory_keypad_connected";
20369
20313
  }, {
20370
20314
  device_id: string;
20315
+ workspace_id: string;
20371
20316
  created_at: string;
20372
20317
  connected_account_id: string;
20373
- workspace_id: string;
20374
20318
  event_id: string;
20375
20319
  occurred_at: string;
20376
20320
  event_type: "device.accessory_keypad_connected";
@@ -20386,17 +20330,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20386
20330
  event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
20387
20331
  }>, "strip", z.ZodTypeAny, {
20388
20332
  device_id: string;
20333
+ workspace_id: string;
20389
20334
  created_at: string;
20390
20335
  connected_account_id: string;
20391
- workspace_id: string;
20392
20336
  event_id: string;
20393
20337
  occurred_at: string;
20394
20338
  event_type: "device.accessory_keypad_disconnected";
20395
20339
  }, {
20396
20340
  device_id: string;
20341
+ workspace_id: string;
20397
20342
  created_at: string;
20398
20343
  connected_account_id: string;
20399
- workspace_id: string;
20400
20344
  event_id: string;
20401
20345
  occurred_at: string;
20402
20346
  event_type: "device.accessory_keypad_disconnected";
@@ -20418,9 +20362,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20418
20362
  minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20419
20363
  }>, "strip", z.ZodTypeAny, {
20420
20364
  device_id: string;
20365
+ workspace_id: string;
20421
20366
  created_at: string;
20422
20367
  connected_account_id: string;
20423
- workspace_id: string;
20424
20368
  event_id: string;
20425
20369
  occurred_at: string;
20426
20370
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -20432,9 +20376,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20432
20376
  noise_threshold_name?: string | undefined;
20433
20377
  }, {
20434
20378
  device_id: string;
20379
+ workspace_id: string;
20435
20380
  created_at: string;
20436
20381
  connected_account_id: string;
20437
- workspace_id: string;
20438
20382
  event_id: string;
20439
20383
  occurred_at: string;
20440
20384
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -20459,10 +20403,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20459
20403
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
20460
20404
  }>, "strip", z.ZodTypeAny, {
20461
20405
  device_id: string;
20406
+ workspace_id: string;
20462
20407
  created_at: string;
20463
20408
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20464
20409
  connected_account_id: string;
20465
- workspace_id: string;
20466
20410
  event_id: string;
20467
20411
  occurred_at: string;
20468
20412
  event_type: "lock.locked";
@@ -20470,10 +20414,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20470
20414
  action_attempt_id?: string | undefined;
20471
20415
  }, {
20472
20416
  device_id: string;
20417
+ workspace_id: string;
20473
20418
  created_at: string;
20474
20419
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20475
20420
  connected_account_id: string;
20476
- workspace_id: string;
20477
20421
  event_id: string;
20478
20422
  occurred_at: string;
20479
20423
  event_type: "lock.locked";
@@ -20494,10 +20438,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20494
20438
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
20495
20439
  }>, "strip", z.ZodTypeAny, {
20496
20440
  device_id: string;
20441
+ workspace_id: string;
20497
20442
  created_at: string;
20498
20443
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20499
20444
  connected_account_id: string;
20500
- workspace_id: string;
20501
20445
  event_id: string;
20502
20446
  occurred_at: string;
20503
20447
  event_type: "lock.unlocked";
@@ -20505,10 +20449,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20505
20449
  action_attempt_id?: string | undefined;
20506
20450
  }, {
20507
20451
  device_id: string;
20452
+ workspace_id: string;
20508
20453
  created_at: string;
20509
20454
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20510
20455
  connected_account_id: string;
20511
- workspace_id: string;
20512
20456
  event_id: string;
20513
20457
  occurred_at: string;
20514
20458
  event_type: "lock.unlocked";
@@ -20527,18 +20471,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20527
20471
  access_code_id: z.ZodOptional<z.ZodString>;
20528
20472
  }>, "strip", z.ZodTypeAny, {
20529
20473
  device_id: string;
20474
+ workspace_id: string;
20530
20475
  created_at: string;
20531
20476
  connected_account_id: string;
20532
- workspace_id: string;
20533
20477
  event_id: string;
20534
20478
  occurred_at: string;
20535
20479
  event_type: "lock.access_denied";
20536
20480
  access_code_id?: string | undefined;
20537
20481
  }, {
20538
20482
  device_id: string;
20483
+ workspace_id: string;
20539
20484
  created_at: string;
20540
20485
  connected_account_id: string;
20541
- workspace_id: string;
20542
20486
  event_id: string;
20543
20487
  occurred_at: string;
20544
20488
  event_type: "lock.access_denied";
@@ -20559,10 +20503,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20559
20503
  }>, "strip", z.ZodTypeAny, {
20560
20504
  climate_preset_key: string;
20561
20505
  device_id: string;
20506
+ workspace_id: string;
20562
20507
  created_at: string;
20563
20508
  thermostat_schedule_id: string | null;
20564
20509
  connected_account_id: string;
20565
- workspace_id: string;
20566
20510
  event_id: string;
20567
20511
  occurred_at: string;
20568
20512
  event_type: "thermostat.climate_preset_activated";
@@ -20570,10 +20514,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20570
20514
  }, {
20571
20515
  climate_preset_key: string;
20572
20516
  device_id: string;
20517
+ workspace_id: string;
20573
20518
  created_at: string;
20574
20519
  thermostat_schedule_id: string | null;
20575
20520
  connected_account_id: string;
20576
- workspace_id: string;
20577
20521
  event_id: string;
20578
20522
  occurred_at: string;
20579
20523
  event_type: "thermostat.climate_preset_activated";
@@ -20605,10 +20549,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20605
20549
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
20606
20550
  }, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
20607
20551
  device_id: string;
20552
+ workspace_id: string;
20608
20553
  created_at: string;
20609
20554
  method: "seam" | "external";
20610
20555
  connected_account_id: string;
20611
- workspace_id: string;
20612
20556
  event_id: string;
20613
20557
  occurred_at: string;
20614
20558
  event_type: "thermostat.manually_adjusted";
@@ -20620,10 +20564,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20620
20564
  heating_set_point_fahrenheit?: number | undefined;
20621
20565
  }, {
20622
20566
  device_id: string;
20567
+ workspace_id: string;
20623
20568
  created_at: string;
20624
20569
  method: "seam" | "external";
20625
20570
  connected_account_id: string;
20626
- workspace_id: string;
20627
20571
  event_id: string;
20628
20572
  occurred_at: string;
20629
20573
  event_type: "thermostat.manually_adjusted";
@@ -20651,6 +20595,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20651
20595
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
20652
20596
  }>, "strip", z.ZodTypeAny, {
20653
20597
  device_id: string;
20598
+ workspace_id: string;
20654
20599
  created_at: string;
20655
20600
  temperature_fahrenheit: number;
20656
20601
  temperature_celsius: number;
@@ -20659,12 +20604,12 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20659
20604
  upper_limit_celsius: number | null;
20660
20605
  upper_limit_fahrenheit: number | null;
20661
20606
  connected_account_id: string;
20662
- workspace_id: string;
20663
20607
  event_id: string;
20664
20608
  occurred_at: string;
20665
20609
  event_type: "thermostat.temperature_threshold_exceeded";
20666
20610
  }, {
20667
20611
  device_id: string;
20612
+ workspace_id: string;
20668
20613
  created_at: string;
20669
20614
  temperature_fahrenheit: number;
20670
20615
  temperature_celsius: number;
@@ -20673,7 +20618,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20673
20618
  upper_limit_celsius: number | null;
20674
20619
  upper_limit_fahrenheit: number | null;
20675
20620
  connected_account_id: string;
20676
- workspace_id: string;
20677
20621
  event_id: string;
20678
20622
  occurred_at: string;
20679
20623
  event_type: "thermostat.temperature_threshold_exceeded";
@@ -20695,6 +20639,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20695
20639
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
20696
20640
  }>, "strip", z.ZodTypeAny, {
20697
20641
  device_id: string;
20642
+ workspace_id: string;
20698
20643
  created_at: string;
20699
20644
  temperature_fahrenheit: number;
20700
20645
  temperature_celsius: number;
@@ -20703,12 +20648,12 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20703
20648
  upper_limit_celsius: number | null;
20704
20649
  upper_limit_fahrenheit: number | null;
20705
20650
  connected_account_id: string;
20706
- workspace_id: string;
20707
20651
  event_id: string;
20708
20652
  occurred_at: string;
20709
20653
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
20710
20654
  }, {
20711
20655
  device_id: string;
20656
+ workspace_id: string;
20712
20657
  created_at: string;
20713
20658
  temperature_fahrenheit: number;
20714
20659
  temperature_celsius: number;
@@ -20717,7 +20662,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20717
20662
  upper_limit_celsius: number | null;
20718
20663
  upper_limit_fahrenheit: number | null;
20719
20664
  connected_account_id: string;
20720
- workspace_id: string;
20721
20665
  event_id: string;
20722
20666
  occurred_at: string;
20723
20667
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
@@ -20737,11 +20681,11 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20737
20681
  desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
20738
20682
  }>, "strip", z.ZodTypeAny, {
20739
20683
  device_id: string;
20684
+ workspace_id: string;
20740
20685
  created_at: string;
20741
20686
  temperature_fahrenheit: number;
20742
20687
  temperature_celsius: number;
20743
20688
  connected_account_id: string;
20744
- workspace_id: string;
20745
20689
  event_id: string;
20746
20690
  occurred_at: string;
20747
20691
  event_type: "thermostat.temperature_reached_set_point";
@@ -20749,11 +20693,11 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20749
20693
  desired_temperature_fahrenheit?: number | undefined;
20750
20694
  }, {
20751
20695
  device_id: string;
20696
+ workspace_id: string;
20752
20697
  created_at: string;
20753
20698
  temperature_fahrenheit: number;
20754
20699
  temperature_celsius: number;
20755
20700
  connected_account_id: string;
20756
- workspace_id: string;
20757
20701
  event_id: string;
20758
20702
  occurred_at: string;
20759
20703
  event_type: "thermostat.temperature_reached_set_point";
@@ -20773,21 +20717,21 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20773
20717
  temperature_fahrenheit: z.ZodNumber;
20774
20718
  }>, "strip", z.ZodTypeAny, {
20775
20719
  device_id: string;
20720
+ workspace_id: string;
20776
20721
  created_at: string;
20777
20722
  temperature_fahrenheit: number;
20778
20723
  temperature_celsius: number;
20779
20724
  connected_account_id: string;
20780
- workspace_id: string;
20781
20725
  event_id: string;
20782
20726
  occurred_at: string;
20783
20727
  event_type: "thermostat.temperature_changed";
20784
20728
  }, {
20785
20729
  device_id: string;
20730
+ workspace_id: string;
20786
20731
  created_at: string;
20787
20732
  temperature_fahrenheit: number;
20788
20733
  temperature_celsius: number;
20789
20734
  connected_account_id: string;
20790
- workspace_id: string;
20791
20735
  event_id: string;
20792
20736
  occurred_at: string;
20793
20737
  event_type: "thermostat.temperature_changed";
@@ -20804,19 +20748,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20804
20748
  device_name: z.ZodString;
20805
20749
  }>, "strip", z.ZodTypeAny, {
20806
20750
  device_id: string;
20751
+ workspace_id: string;
20807
20752
  created_at: string;
20808
20753
  connected_account_id: string;
20809
20754
  device_name: string;
20810
- workspace_id: string;
20811
20755
  event_id: string;
20812
20756
  occurred_at: string;
20813
20757
  event_type: "device.name_changed";
20814
20758
  }, {
20815
20759
  device_id: string;
20760
+ workspace_id: string;
20816
20761
  created_at: string;
20817
20762
  connected_account_id: string;
20818
20763
  device_name: string;
20819
- workspace_id: string;
20820
20764
  event_id: string;
20821
20765
  occurred_at: string;
20822
20766
  event_type: "device.name_changed";
@@ -20830,15 +20774,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20830
20774
  }>, {
20831
20775
  event_type: z.ZodLiteral<"enrollment_automation.deleted">;
20832
20776
  }>, "strip", z.ZodTypeAny, {
20833
- created_at: string;
20834
20777
  workspace_id: string;
20778
+ created_at: string;
20835
20779
  enrollment_automation_id: string;
20836
20780
  event_id: string;
20837
20781
  occurred_at: string;
20838
20782
  event_type: "enrollment_automation.deleted";
20839
20783
  }, {
20840
- created_at: string;
20841
20784
  workspace_id: string;
20785
+ created_at: string;
20842
20786
  enrollment_automation_id: string;
20843
20787
  event_id: string;
20844
20788
  occurred_at: string;
@@ -20854,15 +20798,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20854
20798
  event_type: z.ZodLiteral<"phone.deactivated">;
20855
20799
  }>, "strip", z.ZodTypeAny, {
20856
20800
  device_id: string;
20857
- created_at: string;
20858
20801
  workspace_id: string;
20802
+ created_at: string;
20859
20803
  event_id: string;
20860
20804
  occurred_at: string;
20861
20805
  event_type: "phone.deactivated";
20862
20806
  }, {
20863
20807
  device_id: string;
20864
- created_at: string;
20865
20808
  workspace_id: string;
20809
+ created_at: string;
20866
20810
  event_id: string;
20867
20811
  occurred_at: string;
20868
20812
  event_type: "phone.deactivated";
@@ -20879,16 +20823,16 @@ declare const instant_key: z.ZodObject<{
20879
20823
  user_identity_id: z.ZodString;
20880
20824
  expires_at: z.ZodString;
20881
20825
  }, "strip", z.ZodTypeAny, {
20882
- created_at: string;
20883
20826
  workspace_id: string;
20827
+ created_at: string;
20884
20828
  user_identity_id: string;
20885
20829
  instant_key_url: string;
20886
20830
  client_session_id: string;
20887
20831
  expires_at: string;
20888
20832
  instant_key_id: string;
20889
20833
  }, {
20890
- created_at: string;
20891
20834
  workspace_id: string;
20835
+ created_at: string;
20892
20836
  user_identity_id: string;
20893
20837
  instant_key_url: string;
20894
20838
  client_session_id: string;
@@ -20941,7 +20885,7 @@ declare const pagination: z.ZodObject<{
20941
20885
  declare const thermostat_daily_program: z.ZodObject<{
20942
20886
  thermostat_daily_program_id: z.ZodString;
20943
20887
  device_id: z.ZodString;
20944
- name: z.ZodOptional<z.ZodString>;
20888
+ name: z.ZodNullable<z.ZodString>;
20945
20889
  periods: z.ZodArray<z.ZodObject<{
20946
20890
  starts_at_time: z.ZodString;
20947
20891
  climate_preset_key: z.ZodString;
@@ -20952,28 +20896,30 @@ declare const thermostat_daily_program: z.ZodObject<{
20952
20896
  climate_preset_key: string;
20953
20897
  starts_at_time: string;
20954
20898
  }>, "many">;
20899
+ workspace_id: z.ZodString;
20955
20900
  created_at: z.ZodString;
20956
20901
  }, "strip", z.ZodTypeAny, {
20902
+ name: string | null;
20957
20903
  thermostat_daily_program_id: string;
20958
20904
  device_id: string;
20959
20905
  periods: {
20960
20906
  climate_preset_key: string;
20961
20907
  starts_at_time: string;
20962
20908
  }[];
20909
+ workspace_id: string;
20963
20910
  created_at: string;
20964
- name?: string | undefined;
20965
20911
  }, {
20912
+ name: string | null;
20966
20913
  thermostat_daily_program_id: string;
20967
20914
  device_id: string;
20968
20915
  periods: {
20969
20916
  climate_preset_key: string;
20970
20917
  starts_at_time: string;
20971
20918
  }[];
20919
+ workspace_id: string;
20972
20920
  created_at: string;
20973
- name?: string | undefined;
20974
20921
  }>;
20975
20922
  declare const thermostat_weekly_program: z.ZodObject<{
20976
- device_id: z.ZodString;
20977
20923
  monday_program_id: z.ZodNullable<z.ZodString>;
20978
20924
  tuesday_program_id: z.ZodNullable<z.ZodString>;
20979
20925
  wednesday_program_id: z.ZodNullable<z.ZodString>;
@@ -20983,7 +20929,6 @@ declare const thermostat_weekly_program: z.ZodObject<{
20983
20929
  sunday_program_id: z.ZodNullable<z.ZodString>;
20984
20930
  created_at: z.ZodString;
20985
20931
  }, "strip", z.ZodTypeAny, {
20986
- device_id: string;
20987
20932
  created_at: string;
20988
20933
  monday_program_id: string | null;
20989
20934
  tuesday_program_id: string | null;
@@ -20993,7 +20938,6 @@ declare const thermostat_weekly_program: z.ZodObject<{
20993
20938
  saturday_program_id: string | null;
20994
20939
  sunday_program_id: string | null;
20995
20940
  }, {
20996
- device_id: string;
20997
20941
  created_at: string;
20998
20942
  monday_program_id: string | null;
20999
20943
  tuesday_program_id: string | null;
@@ -21007,12 +20951,13 @@ declare const thermostat_weekly_program: z.ZodObject<{
21007
20951
  declare const thermostat_schedule: z.ZodObject<{
21008
20952
  thermostat_schedule_id: z.ZodString;
21009
20953
  device_id: z.ZodString;
21010
- name: z.ZodOptional<z.ZodString>;
20954
+ name: z.ZodNullable<z.ZodString>;
21011
20955
  climate_preset_key: z.ZodString;
21012
20956
  max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21013
20957
  starts_at: z.ZodString;
21014
20958
  is_override_allowed: z.ZodOptional<z.ZodBoolean>;
21015
20959
  ends_at: z.ZodString;
20960
+ workspace_id: z.ZodString;
21016
20961
  created_at: z.ZodString;
21017
20962
  errors: z.ZodArray<z.ZodObject<{
21018
20963
  error_code: z.ZodString;
@@ -21026,7 +20971,9 @@ declare const thermostat_schedule: z.ZodObject<{
21026
20971
  }>, "many">;
21027
20972
  }, "strip", z.ZodTypeAny, {
21028
20973
  climate_preset_key: string;
20974
+ name: string | null;
21029
20975
  device_id: string;
20976
+ workspace_id: string;
21030
20977
  created_at: string;
21031
20978
  thermostat_schedule_id: string;
21032
20979
  starts_at: string;
@@ -21035,12 +20982,13 @@ declare const thermostat_schedule: z.ZodObject<{
21035
20982
  message: string;
21036
20983
  error_code: string;
21037
20984
  }[];
21038
- name?: string | undefined;
21039
20985
  max_override_period_minutes?: number | null | undefined;
21040
20986
  is_override_allowed?: boolean | undefined;
21041
20987
  }, {
21042
20988
  climate_preset_key: string;
20989
+ name: string | null;
21043
20990
  device_id: string;
20991
+ workspace_id: string;
21044
20992
  created_at: string;
21045
20993
  thermostat_schedule_id: string;
21046
20994
  starts_at: string;
@@ -21049,7 +20997,6 @@ declare const thermostat_schedule: z.ZodObject<{
21049
20997
  message: string;
21050
20998
  error_code: string;
21051
20999
  }[];
21052
- name?: string | undefined;
21053
21000
  max_override_period_minutes?: number | null | undefined;
21054
21001
  is_override_allowed?: boolean | undefined;
21055
21002
  }>;
@@ -21066,8 +21013,8 @@ declare const user_identity: z.ZodObject<{
21066
21013
  workspace_id: z.ZodString;
21067
21014
  }, "strip", z.ZodTypeAny, {
21068
21015
  display_name: string;
21069
- created_at: string;
21070
21016
  workspace_id: string;
21017
+ created_at: string;
21071
21018
  user_identity_id: string;
21072
21019
  email_address: string | null;
21073
21020
  full_name: string | null;
@@ -21075,8 +21022,8 @@ declare const user_identity: z.ZodObject<{
21075
21022
  user_identity_key: string | null;
21076
21023
  }, {
21077
21024
  display_name: string;
21078
- created_at: string;
21079
21025
  workspace_id: string;
21026
+ created_at: string;
21080
21027
  user_identity_id: string;
21081
21028
  email_address: string | null;
21082
21029
  full_name: string | null;
@@ -25758,6 +25705,7 @@ declare const _default: {
25758
25705
  };
25759
25706
  name: {
25760
25707
  description: string;
25708
+ nullable: boolean;
25761
25709
  type: string;
25762
25710
  };
25763
25711
  starts_at: {
@@ -25770,6 +25718,11 @@ declare const _default: {
25770
25718
  format: string;
25771
25719
  type: string;
25772
25720
  };
25721
+ workspace_id: {
25722
+ description: string;
25723
+ format: string;
25724
+ type: string;
25725
+ };
25773
25726
  };
25774
25727
  required: string[];
25775
25728
  type: string;
@@ -26101,7 +26054,6 @@ declare const _default: {
26101
26054
  type: string;
26102
26055
  };
26103
26056
  thermostat_daily_programs: {
26104
- default: null;
26105
26057
  items: {
26106
26058
  properties: {
26107
26059
  created_at: {
@@ -26116,6 +26068,7 @@ declare const _default: {
26116
26068
  };
26117
26069
  name: {
26118
26070
  description: string;
26071
+ nullable: boolean;
26119
26072
  type: string;
26120
26073
  };
26121
26074
  periods: {
@@ -26142,15 +26095,18 @@ declare const _default: {
26142
26095
  format: string;
26143
26096
  type: string;
26144
26097
  };
26098
+ workspace_id: {
26099
+ description: string;
26100
+ format: string;
26101
+ type: string;
26102
+ };
26145
26103
  };
26146
26104
  required: string[];
26147
26105
  type: string;
26148
26106
  };
26149
- nullable: boolean;
26150
26107
  type: string;
26151
26108
  };
26152
26109
  thermostat_weekly_program: {
26153
- default: null;
26154
26110
  nullable: boolean;
26155
26111
  properties: {
26156
26112
  created_at: {
@@ -26158,11 +26114,6 @@ declare const _default: {
26158
26114
  format: string;
26159
26115
  type: string;
26160
26116
  };
26161
- device_id: {
26162
- description: string;
26163
- format: string;
26164
- type: string;
26165
- };
26166
26117
  friday_program_id: {
26167
26118
  description: string;
26168
26119
  format: string;
@@ -29717,6 +29668,7 @@ declare const _default: {
29717
29668
  };
29718
29669
  name: {
29719
29670
  description: string;
29671
+ nullable: boolean;
29720
29672
  type: string;
29721
29673
  };
29722
29674
  starts_at: {
@@ -29729,6 +29681,11 @@ declare const _default: {
29729
29681
  format: string;
29730
29682
  type: string;
29731
29683
  };
29684
+ workspace_id: {
29685
+ description: string;
29686
+ format: string;
29687
+ type: string;
29688
+ };
29732
29689
  };
29733
29690
  required: string[];
29734
29691
  type: string;
@@ -39640,6 +39597,7 @@ declare const _default: {
39640
39597
  'x-fern-sdk-group-name': string[];
39641
39598
  'x-fern-sdk-method-name': string;
39642
39599
  'x-response-key': null;
39600
+ 'x-title': string;
39643
39601
  };
39644
39602
  };
39645
39603
  '/connected_accounts/get': {
@@ -39728,6 +39686,7 @@ declare const _default: {
39728
39686
  'x-fern-sdk-method-name': string;
39729
39687
  'x-fern-sdk-return-value': string;
39730
39688
  'x-response-key': string;
39689
+ 'x-title': string;
39731
39690
  };
39732
39691
  };
39733
39692
  '/connected_accounts/list': {
@@ -39821,6 +39780,7 @@ declare const _default: {
39821
39780
  'x-fern-sdk-method-name': string;
39822
39781
  'x-fern-sdk-return-value': string;
39823
39782
  'x-response-key': string;
39783
+ 'x-title': string;
39824
39784
  };
39825
39785
  };
39826
39786
  '/connected_accounts/update': {
@@ -39903,6 +39863,7 @@ declare const _default: {
39903
39863
  'x-fern-sdk-group-name': string[];
39904
39864
  'x-fern-sdk-method-name': string;
39905
39865
  'x-response-key': null;
39866
+ 'x-title': string;
39906
39867
  };
39907
39868
  };
39908
39869
  '/devices/delete': {
@@ -44508,36 +44469,43 @@ declare const _default: {
44508
44469
  friday_program_id: {
44509
44470
  description: string;
44510
44471
  format: string;
44472
+ nullable: boolean;
44511
44473
  type: string;
44512
44474
  };
44513
44475
  monday_program_id: {
44514
44476
  description: string;
44515
44477
  format: string;
44478
+ nullable: boolean;
44516
44479
  type: string;
44517
44480
  };
44518
44481
  saturday_program_id: {
44519
44482
  description: string;
44520
44483
  format: string;
44484
+ nullable: boolean;
44521
44485
  type: string;
44522
44486
  };
44523
44487
  sunday_program_id: {
44524
44488
  description: string;
44525
44489
  format: string;
44490
+ nullable: boolean;
44526
44491
  type: string;
44527
44492
  };
44528
44493
  thursday_program_id: {
44529
44494
  description: string;
44530
44495
  format: string;
44496
+ nullable: boolean;
44531
44497
  type: string;
44532
44498
  };
44533
44499
  tuesday_program_id: {
44534
44500
  description: string;
44535
44501
  format: string;
44502
+ nullable: boolean;
44536
44503
  type: string;
44537
44504
  };
44538
44505
  wednesday_program_id: {
44539
44506
  description: string;
44540
44507
  format: string;
44508
+ nullable: boolean;
44541
44509
  type: string;
44542
44510
  };
44543
44511
  };
@@ -44968,6 +44936,7 @@ declare const _default: {
44968
44936
  };
44969
44937
  name: {
44970
44938
  description: string;
44939
+ nullable: boolean;
44971
44940
  type: string;
44972
44941
  };
44973
44942
  periods: {
@@ -44994,6 +44963,11 @@ declare const _default: {
44994
44963
  format: string;
44995
44964
  type: string;
44996
44965
  };
44966
+ workspace_id: {
44967
+ description: string;
44968
+ format: string;
44969
+ type: string;
44970
+ };
44997
44971
  };
44998
44972
  required: string[];
44999
44973
  type: string;
@@ -53385,15 +53359,6 @@ interface Routes {
53385
53359
  created_at?: string | undefined;
53386
53360
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53387
53361
  error_code: 'igloohome_offline_access_code_no_variance_available';
53388
- } | {
53389
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
53390
- message: string;
53391
- /** Indicates that this is an access code error. */
53392
- is_access_code_error: true;
53393
- /** Date and time at which Seam created the error. */
53394
- created_at?: string | undefined;
53395
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53396
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
53397
53362
  } | {
53398
53363
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
53399
53364
  message: string;
@@ -53884,15 +53849,6 @@ interface Routes {
53884
53849
  created_at?: string | undefined;
53885
53850
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53886
53851
  error_code: 'igloohome_offline_access_code_no_variance_available';
53887
- } | {
53888
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
53889
- message: string;
53890
- /** Indicates that this is an access code error. */
53891
- is_access_code_error: true;
53892
- /** Date and time at which Seam created the error. */
53893
- created_at?: string | undefined;
53894
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53895
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
53896
53852
  } | {
53897
53853
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
53898
53854
  message: string;
@@ -55502,15 +55458,6 @@ interface Routes {
55502
55458
  created_at?: string | undefined;
55503
55459
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55504
55460
  error_code: 'igloohome_offline_access_code_no_variance_available';
55505
- } | {
55506
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55507
- message: string;
55508
- /** Indicates that this is an access code error. */
55509
- is_access_code_error: true;
55510
- /** Date and time at which Seam created the error. */
55511
- created_at?: string | undefined;
55512
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55513
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
55514
55461
  } | {
55515
55462
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55516
55463
  message: string;
@@ -55981,15 +55928,6 @@ interface Routes {
55981
55928
  created_at?: string | undefined;
55982
55929
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55983
55930
  error_code: 'igloohome_offline_access_code_no_variance_available';
55984
- } | {
55985
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55986
- message: string;
55987
- /** Indicates that this is an access code error. */
55988
- is_access_code_error: true;
55989
- /** Date and time at which Seam created the error. */
55990
- created_at?: string | undefined;
55991
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55992
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
55993
55931
  } | {
55994
55932
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55995
55933
  message: string;
@@ -56468,15 +56406,6 @@ interface Routes {
56468
56406
  created_at?: string | undefined;
56469
56407
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56470
56408
  error_code: 'igloohome_offline_access_code_no_variance_available';
56471
- } | {
56472
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56473
- message: string;
56474
- /** Indicates that this is an access code error. */
56475
- is_access_code_error: true;
56476
- /** Date and time at which Seam created the error. */
56477
- created_at?: string | undefined;
56478
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56479
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
56480
56409
  } | {
56481
56410
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56482
56411
  message: string;
@@ -56933,15 +56862,6 @@ interface Routes {
56933
56862
  created_at?: string | undefined;
56934
56863
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56935
56864
  error_code: 'igloohome_offline_access_code_no_variance_available';
56936
- } | {
56937
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56938
- message: string;
56939
- /** Indicates that this is an access code error. */
56940
- is_access_code_error: true;
56941
- /** Date and time at which Seam created the error. */
56942
- created_at?: string | undefined;
56943
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56944
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
56945
56865
  } | {
56946
56866
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56947
56867
  message: string;
@@ -57427,15 +57347,6 @@ interface Routes {
57427
57347
  created_at?: string | undefined;
57428
57348
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57429
57349
  error_code: 'igloohome_offline_access_code_no_variance_available';
57430
- } | {
57431
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57432
- message: string;
57433
- /** Indicates that this is an access code error. */
57434
- is_access_code_error: true;
57435
- /** Date and time at which Seam created the error. */
57436
- created_at?: string | undefined;
57437
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57438
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
57439
57350
  } | {
57440
57351
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57441
57352
  message: string;
@@ -59029,15 +58940,6 @@ interface Routes {
59029
58940
  created_at?: string | undefined;
59030
58941
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59031
58942
  error_code: 'igloohome_offline_access_code_no_variance_available';
59032
- } | {
59033
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59034
- message: string;
59035
- /** Indicates that this is an access code error. */
59036
- is_access_code_error: true;
59037
- /** Date and time at which Seam created the error. */
59038
- created_at?: string | undefined;
59039
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59040
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
59041
58943
  } | {
59042
58944
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59043
58945
  message: string;
@@ -59484,15 +59386,6 @@ interface Routes {
59484
59386
  created_at?: string | undefined;
59485
59387
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59486
59388
  error_code: 'igloohome_offline_access_code_no_variance_available';
59487
- } | {
59488
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59489
- message: string;
59490
- /** Indicates that this is an access code error. */
59491
- is_access_code_error: true;
59492
- /** Date and time at which Seam created the error. */
59493
- created_at?: string | undefined;
59494
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59495
- error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
59496
59389
  } | {
59497
59390
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59498
59391
  message: string;
@@ -71701,7 +71594,7 @@ interface Routes {
71701
71594
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
71702
71595
  device_id: string;
71703
71596
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
71704
- name?: string | undefined;
71597
+ name: string | null;
71705
71598
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
71706
71599
  climate_preset_key: string;
71707
71600
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -71712,6 +71605,8 @@ interface Routes {
71712
71605
  is_override_allowed?: boolean | undefined;
71713
71606
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
71714
71607
  ends_at: string;
71608
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
71609
+ workspace_id: string;
71715
71610
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
71716
71611
  created_at: string;
71717
71612
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -71728,7 +71623,7 @@ interface Routes {
71728
71623
  /** ID of the desired thermostat device. */
71729
71624
  device_id: string;
71730
71625
  /** User-friendly name to identify the thermostat daily program. */
71731
- name?: string | undefined;
71626
+ name: string | null;
71732
71627
  /** Array of thermostat daily program periods. */
71733
71628
  periods: Array<{
71734
71629
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -71736,12 +71631,12 @@ interface Routes {
71736
71631
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
71737
71632
  climate_preset_key: string;
71738
71633
  }>;
71634
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
71635
+ workspace_id: string;
71739
71636
  /** Date and time at which the thermostat daily program was created. */
71740
71637
  created_at: string;
71741
- }> | null) | undefined;
71742
- thermostat_weekly_program?: ({
71743
- /** ID of the thermostat device the weekly program is for. */
71744
- device_id: string;
71638
+ }> | undefined) | undefined;
71639
+ thermostat_weekly_program?: (({
71745
71640
  /** ID of the thermostat daily program to run on Mondays. */
71746
71641
  monday_program_id: string | null;
71747
71642
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -71758,7 +71653,7 @@ interface Routes {
71758
71653
  sunday_program_id: string | null;
71759
71654
  /** Date and time at which the thermostat weekly program was created. */
71760
71655
  created_at: string;
71761
- } | null) | undefined;
71656
+ } | null) | undefined) | undefined;
71762
71657
  min_cooling_set_point_celsius?: number | undefined;
71763
71658
  min_cooling_set_point_fahrenheit?: number | undefined;
71764
71659
  max_cooling_set_point_celsius?: number | undefined;
@@ -72492,7 +72387,7 @@ interface Routes {
72492
72387
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
72493
72388
  device_id: string;
72494
72389
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
72495
- name?: string | undefined;
72390
+ name: string | null;
72496
72391
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
72497
72392
  climate_preset_key: string;
72498
72393
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -72503,6 +72398,8 @@ interface Routes {
72503
72398
  is_override_allowed?: boolean | undefined;
72504
72399
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
72505
72400
  ends_at: string;
72401
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
72402
+ workspace_id: string;
72506
72403
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
72507
72404
  created_at: string;
72508
72405
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -72519,7 +72416,7 @@ interface Routes {
72519
72416
  /** ID of the desired thermostat device. */
72520
72417
  device_id: string;
72521
72418
  /** User-friendly name to identify the thermostat daily program. */
72522
- name?: string | undefined;
72419
+ name: string | null;
72523
72420
  /** Array of thermostat daily program periods. */
72524
72421
  periods: Array<{
72525
72422
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -72527,12 +72424,12 @@ interface Routes {
72527
72424
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
72528
72425
  climate_preset_key: string;
72529
72426
  }>;
72427
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
72428
+ workspace_id: string;
72530
72429
  /** Date and time at which the thermostat daily program was created. */
72531
72430
  created_at: string;
72532
- }> | null) | undefined;
72533
- thermostat_weekly_program?: ({
72534
- /** ID of the thermostat device the weekly program is for. */
72535
- device_id: string;
72431
+ }> | undefined) | undefined;
72432
+ thermostat_weekly_program?: (({
72536
72433
  /** ID of the thermostat daily program to run on Mondays. */
72537
72434
  monday_program_id: string | null;
72538
72435
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -72549,7 +72446,7 @@ interface Routes {
72549
72446
  sunday_program_id: string | null;
72550
72447
  /** Date and time at which the thermostat weekly program was created. */
72551
72448
  created_at: string;
72552
- } | null) | undefined;
72449
+ } | null) | undefined) | undefined;
72553
72450
  min_cooling_set_point_celsius?: number | undefined;
72554
72451
  min_cooling_set_point_fahrenheit?: number | undefined;
72555
72452
  max_cooling_set_point_celsius?: number | undefined;
@@ -76711,7 +76608,7 @@ interface Routes {
76711
76608
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
76712
76609
  device_id: string;
76713
76610
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
76714
- name?: string | undefined;
76611
+ name: string | null;
76715
76612
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
76716
76613
  climate_preset_key: string;
76717
76614
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -76722,6 +76619,8 @@ interface Routes {
76722
76619
  is_override_allowed?: boolean | undefined;
76723
76620
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
76724
76621
  ends_at: string;
76622
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
76623
+ workspace_id: string;
76725
76624
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
76726
76625
  created_at: string;
76727
76626
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -76738,7 +76637,7 @@ interface Routes {
76738
76637
  /** ID of the desired thermostat device. */
76739
76638
  device_id: string;
76740
76639
  /** User-friendly name to identify the thermostat daily program. */
76741
- name?: string | undefined;
76640
+ name: string | null;
76742
76641
  /** Array of thermostat daily program periods. */
76743
76642
  periods: Array<{
76744
76643
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -76746,12 +76645,12 @@ interface Routes {
76746
76645
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
76747
76646
  climate_preset_key: string;
76748
76647
  }>;
76648
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
76649
+ workspace_id: string;
76749
76650
  /** Date and time at which the thermostat daily program was created. */
76750
76651
  created_at: string;
76751
- }> | null) | undefined;
76752
- thermostat_weekly_program?: ({
76753
- /** ID of the thermostat device the weekly program is for. */
76754
- device_id: string;
76652
+ }> | undefined) | undefined;
76653
+ thermostat_weekly_program?: (({
76755
76654
  /** ID of the thermostat daily program to run on Mondays. */
76756
76655
  monday_program_id: string | null;
76757
76656
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -76768,7 +76667,7 @@ interface Routes {
76768
76667
  sunday_program_id: string | null;
76769
76668
  /** Date and time at which the thermostat weekly program was created. */
76770
76669
  created_at: string;
76771
- } | null) | undefined;
76670
+ } | null) | undefined) | undefined;
76772
76671
  min_cooling_set_point_celsius?: number | undefined;
76773
76672
  min_cooling_set_point_fahrenheit?: number | undefined;
76774
76673
  max_cooling_set_point_celsius?: number | undefined;
@@ -77462,7 +77361,7 @@ interface Routes {
77462
77361
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
77463
77362
  device_id: string;
77464
77363
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
77465
- name?: string | undefined;
77364
+ name: string | null;
77466
77365
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
77467
77366
  climate_preset_key: string;
77468
77367
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -77473,6 +77372,8 @@ interface Routes {
77473
77372
  is_override_allowed?: boolean | undefined;
77474
77373
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
77475
77374
  ends_at: string;
77375
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
77376
+ workspace_id: string;
77476
77377
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
77477
77378
  created_at: string;
77478
77379
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -77489,7 +77390,7 @@ interface Routes {
77489
77390
  /** ID of the desired thermostat device. */
77490
77391
  device_id: string;
77491
77392
  /** User-friendly name to identify the thermostat daily program. */
77492
- name?: string | undefined;
77393
+ name: string | null;
77493
77394
  /** Array of thermostat daily program periods. */
77494
77395
  periods: Array<{
77495
77396
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -77497,12 +77398,12 @@ interface Routes {
77497
77398
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
77498
77399
  climate_preset_key: string;
77499
77400
  }>;
77401
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
77402
+ workspace_id: string;
77500
77403
  /** Date and time at which the thermostat daily program was created. */
77501
77404
  created_at: string;
77502
- }> | null) | undefined;
77503
- thermostat_weekly_program?: ({
77504
- /** ID of the thermostat device the weekly program is for. */
77505
- device_id: string;
77405
+ }> | undefined) | undefined;
77406
+ thermostat_weekly_program?: (({
77506
77407
  /** ID of the thermostat daily program to run on Mondays. */
77507
77408
  monday_program_id: string | null;
77508
77409
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -77519,7 +77420,7 @@ interface Routes {
77519
77420
  sunday_program_id: string | null;
77520
77421
  /** Date and time at which the thermostat weekly program was created. */
77521
77422
  created_at: string;
77522
- } | null) | undefined;
77423
+ } | null) | undefined) | undefined;
77523
77424
  min_cooling_set_point_celsius?: number | undefined;
77524
77425
  min_cooling_set_point_fahrenheit?: number | undefined;
77525
77426
  max_cooling_set_point_celsius?: number | undefined;
@@ -78253,7 +78154,7 @@ interface Routes {
78253
78154
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
78254
78155
  device_id: string;
78255
78156
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
78256
- name?: string | undefined;
78157
+ name: string | null;
78257
78158
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
78258
78159
  climate_preset_key: string;
78259
78160
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -78264,6 +78165,8 @@ interface Routes {
78264
78165
  is_override_allowed?: boolean | undefined;
78265
78166
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
78266
78167
  ends_at: string;
78168
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
78169
+ workspace_id: string;
78267
78170
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
78268
78171
  created_at: string;
78269
78172
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -78280,7 +78183,7 @@ interface Routes {
78280
78183
  /** ID of the desired thermostat device. */
78281
78184
  device_id: string;
78282
78185
  /** User-friendly name to identify the thermostat daily program. */
78283
- name?: string | undefined;
78186
+ name: string | null;
78284
78187
  /** Array of thermostat daily program periods. */
78285
78188
  periods: Array<{
78286
78189
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -78288,12 +78191,12 @@ interface Routes {
78288
78191
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
78289
78192
  climate_preset_key: string;
78290
78193
  }>;
78194
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
78195
+ workspace_id: string;
78291
78196
  /** Date and time at which the thermostat daily program was created. */
78292
78197
  created_at: string;
78293
- }> | null) | undefined;
78294
- thermostat_weekly_program?: ({
78295
- /** ID of the thermostat device the weekly program is for. */
78296
- device_id: string;
78198
+ }> | undefined) | undefined;
78199
+ thermostat_weekly_program?: (({
78297
78200
  /** ID of the thermostat daily program to run on Mondays. */
78298
78201
  monday_program_id: string | null;
78299
78202
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -78310,7 +78213,7 @@ interface Routes {
78310
78213
  sunday_program_id: string | null;
78311
78214
  /** Date and time at which the thermostat weekly program was created. */
78312
78215
  created_at: string;
78313
- } | null) | undefined;
78216
+ } | null) | undefined) | undefined;
78314
78217
  min_cooling_set_point_celsius?: number | undefined;
78315
78218
  min_cooling_set_point_fahrenheit?: number | undefined;
78316
78219
  max_cooling_set_point_celsius?: number | undefined;
@@ -79003,7 +78906,7 @@ interface Routes {
79003
78906
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
79004
78907
  device_id: string;
79005
78908
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
79006
- name?: string | undefined;
78909
+ name: string | null;
79007
78910
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
79008
78911
  climate_preset_key: string;
79009
78912
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -79014,6 +78917,8 @@ interface Routes {
79014
78917
  is_override_allowed?: boolean | undefined;
79015
78918
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
79016
78919
  ends_at: string;
78920
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
78921
+ workspace_id: string;
79017
78922
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
79018
78923
  created_at: string;
79019
78924
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -79030,7 +78935,7 @@ interface Routes {
79030
78935
  /** ID of the desired thermostat device. */
79031
78936
  device_id: string;
79032
78937
  /** User-friendly name to identify the thermostat daily program. */
79033
- name?: string | undefined;
78938
+ name: string | null;
79034
78939
  /** Array of thermostat daily program periods. */
79035
78940
  periods: Array<{
79036
78941
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -79038,12 +78943,12 @@ interface Routes {
79038
78943
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
79039
78944
  climate_preset_key: string;
79040
78945
  }>;
78946
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
78947
+ workspace_id: string;
79041
78948
  /** Date and time at which the thermostat daily program was created. */
79042
78949
  created_at: string;
79043
- }> | null) | undefined;
79044
- thermostat_weekly_program?: ({
79045
- /** ID of the thermostat device the weekly program is for. */
79046
- device_id: string;
78950
+ }> | undefined) | undefined;
78951
+ thermostat_weekly_program?: (({
79047
78952
  /** ID of the thermostat daily program to run on Mondays. */
79048
78953
  monday_program_id: string | null;
79049
78954
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -79060,7 +78965,7 @@ interface Routes {
79060
78965
  sunday_program_id: string | null;
79061
78966
  /** Date and time at which the thermostat weekly program was created. */
79062
78967
  created_at: string;
79063
- } | null) | undefined;
78968
+ } | null) | undefined) | undefined;
79064
78969
  min_cooling_set_point_celsius?: number | undefined;
79065
78970
  min_cooling_set_point_fahrenheit?: number | undefined;
79066
78971
  max_cooling_set_point_celsius?: number | undefined;
@@ -84292,7 +84197,7 @@ interface Routes {
84292
84197
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
84293
84198
  device_id: string;
84294
84199
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
84295
- name?: string | undefined;
84200
+ name: string | null;
84296
84201
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
84297
84202
  climate_preset_key: string;
84298
84203
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -84303,6 +84208,8 @@ interface Routes {
84303
84208
  is_override_allowed?: boolean | undefined;
84304
84209
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
84305
84210
  ends_at: string;
84211
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
84212
+ workspace_id: string;
84306
84213
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
84307
84214
  created_at: string;
84308
84215
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -84319,7 +84226,7 @@ interface Routes {
84319
84226
  /** ID of the desired thermostat device. */
84320
84227
  device_id: string;
84321
84228
  /** User-friendly name to identify the thermostat daily program. */
84322
- name?: string | undefined;
84229
+ name: string | null;
84323
84230
  /** Array of thermostat daily program periods. */
84324
84231
  periods: Array<{
84325
84232
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -84327,12 +84234,12 @@ interface Routes {
84327
84234
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
84328
84235
  climate_preset_key: string;
84329
84236
  }>;
84237
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
84238
+ workspace_id: string;
84330
84239
  /** Date and time at which the thermostat daily program was created. */
84331
84240
  created_at: string;
84332
- }> | null) | undefined;
84333
- thermostat_weekly_program?: ({
84334
- /** ID of the thermostat device the weekly program is for. */
84335
- device_id: string;
84241
+ }> | undefined) | undefined;
84242
+ thermostat_weekly_program?: (({
84336
84243
  /** ID of the thermostat daily program to run on Mondays. */
84337
84244
  monday_program_id: string | null;
84338
84245
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -84349,7 +84256,7 @@ interface Routes {
84349
84256
  sunday_program_id: string | null;
84350
84257
  /** Date and time at which the thermostat weekly program was created. */
84351
84258
  created_at: string;
84352
- } | null) | undefined;
84259
+ } | null) | undefined) | undefined;
84353
84260
  min_cooling_set_point_celsius?: number | undefined;
84354
84261
  min_cooling_set_point_fahrenheit?: number | undefined;
84355
84262
  max_cooling_set_point_celsius?: number | undefined;
@@ -85042,7 +84949,7 @@ interface Routes {
85042
84949
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
85043
84950
  device_id: string;
85044
84951
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
85045
- name?: string | undefined;
84952
+ name: string | null;
85046
84953
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
85047
84954
  climate_preset_key: string;
85048
84955
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -85053,6 +84960,8 @@ interface Routes {
85053
84960
  is_override_allowed?: boolean | undefined;
85054
84961
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
85055
84962
  ends_at: string;
84963
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
84964
+ workspace_id: string;
85056
84965
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
85057
84966
  created_at: string;
85058
84967
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -85069,7 +84978,7 @@ interface Routes {
85069
84978
  /** ID of the desired thermostat device. */
85070
84979
  device_id: string;
85071
84980
  /** User-friendly name to identify the thermostat daily program. */
85072
- name?: string | undefined;
84981
+ name: string | null;
85073
84982
  /** Array of thermostat daily program periods. */
85074
84983
  periods: Array<{
85075
84984
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -85077,12 +84986,12 @@ interface Routes {
85077
84986
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
85078
84987
  climate_preset_key: string;
85079
84988
  }>;
84989
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
84990
+ workspace_id: string;
85080
84991
  /** Date and time at which the thermostat daily program was created. */
85081
84992
  created_at: string;
85082
- }> | null) | undefined;
85083
- thermostat_weekly_program?: ({
85084
- /** ID of the thermostat device the weekly program is for. */
85085
- device_id: string;
84993
+ }> | undefined) | undefined;
84994
+ thermostat_weekly_program?: (({
85086
84995
  /** ID of the thermostat daily program to run on Mondays. */
85087
84996
  monday_program_id: string | null;
85088
84997
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -85099,7 +85008,7 @@ interface Routes {
85099
85008
  sunday_program_id: string | null;
85100
85009
  /** Date and time at which the thermostat weekly program was created. */
85101
85010
  created_at: string;
85102
- } | null) | undefined;
85011
+ } | null) | undefined) | undefined;
85103
85012
  min_cooling_set_point_celsius?: number | undefined;
85104
85013
  min_cooling_set_point_fahrenheit?: number | undefined;
85105
85014
  max_cooling_set_point_celsius?: number | undefined;
@@ -90477,19 +90386,19 @@ interface Routes {
90477
90386
  /** ID of the thermostat device that the weekly program is for. */
90478
90387
  device_id: string;
90479
90388
  /** ID of the thermostat daily program to run on Mondays. */
90480
- monday_program_id?: string | undefined;
90389
+ monday_program_id?: (string | undefined) | null;
90481
90390
  /** ID of the thermostat daily program to run on Tuesdays. */
90482
- tuesday_program_id?: string | undefined;
90391
+ tuesday_program_id?: (string | undefined) | null;
90483
90392
  /** ID of the thermostat daily program to run on Wednesdays. */
90484
- wednesday_program_id?: string | undefined;
90393
+ wednesday_program_id?: (string | undefined) | null;
90485
90394
  /** ID of the thermostat daily program to run on Thursdays. */
90486
- thursday_program_id?: string | undefined;
90395
+ thursday_program_id?: (string | undefined) | null;
90487
90396
  /** ID of the thermostat daily program to run on Fridays. */
90488
- friday_program_id?: string | undefined;
90397
+ friday_program_id?: (string | undefined) | null;
90489
90398
  /** ID of the thermostat daily program to run on Saturdays. */
90490
- saturday_program_id?: string | undefined;
90399
+ saturday_program_id?: (string | undefined) | null;
90491
90400
  /** ID of the thermostat daily program to run on Sundays. */
90492
- sunday_program_id?: string | undefined;
90401
+ sunday_program_id?: (string | undefined) | null;
90493
90402
  };
90494
90403
  commonParams: {};
90495
90404
  formData: {};
@@ -93894,7 +93803,7 @@ interface Routes {
93894
93803
  /** ID of the desired thermostat device. */
93895
93804
  device_id: string;
93896
93805
  /** User-friendly name to identify the thermostat daily program. */
93897
- name?: string | undefined;
93806
+ name: string | null;
93898
93807
  /** Array of thermostat daily program periods. */
93899
93808
  periods: Array<{
93900
93809
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -93902,6 +93811,8 @@ interface Routes {
93902
93811
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
93903
93812
  climate_preset_key: string;
93904
93813
  }>;
93814
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
93815
+ workspace_id: string;
93905
93816
  /** Date and time at which the thermostat daily program was created. */
93906
93817
  created_at: string;
93907
93818
  };
@@ -95534,7 +95445,7 @@ interface Routes {
95534
95445
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
95535
95446
  device_id: string;
95536
95447
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
95537
- name?: string | undefined;
95448
+ name: string | null;
95538
95449
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
95539
95450
  climate_preset_key: string;
95540
95451
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -95545,6 +95456,8 @@ interface Routes {
95545
95456
  is_override_allowed?: boolean | undefined;
95546
95457
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
95547
95458
  ends_at: string;
95459
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
95460
+ workspace_id: string;
95548
95461
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
95549
95462
  created_at: string;
95550
95463
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -95561,7 +95474,7 @@ interface Routes {
95561
95474
  /** ID of the desired thermostat device. */
95562
95475
  device_id: string;
95563
95476
  /** User-friendly name to identify the thermostat daily program. */
95564
- name?: string | undefined;
95477
+ name: string | null;
95565
95478
  /** Array of thermostat daily program periods. */
95566
95479
  periods: Array<{
95567
95480
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -95569,12 +95482,12 @@ interface Routes {
95569
95482
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
95570
95483
  climate_preset_key: string;
95571
95484
  }>;
95485
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
95486
+ workspace_id: string;
95572
95487
  /** Date and time at which the thermostat daily program was created. */
95573
95488
  created_at: string;
95574
- }> | null) | undefined;
95575
- thermostat_weekly_program?: ({
95576
- /** ID of the thermostat device the weekly program is for. */
95577
- device_id: string;
95489
+ }> | undefined) | undefined;
95490
+ thermostat_weekly_program?: (({
95578
95491
  /** ID of the thermostat daily program to run on Mondays. */
95579
95492
  monday_program_id: string | null;
95580
95493
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -95591,7 +95504,7 @@ interface Routes {
95591
95504
  sunday_program_id: string | null;
95592
95505
  /** Date and time at which the thermostat weekly program was created. */
95593
95506
  created_at: string;
95594
- } | null) | undefined;
95507
+ } | null) | undefined) | undefined;
95595
95508
  min_cooling_set_point_celsius?: number | undefined;
95596
95509
  min_cooling_set_point_fahrenheit?: number | undefined;
95597
95510
  max_cooling_set_point_celsius?: number | undefined;
@@ -98573,7 +98486,7 @@ interface Routes {
98573
98486
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
98574
98487
  device_id: string;
98575
98488
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
98576
- name?: string | undefined;
98489
+ name: string | null;
98577
98490
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
98578
98491
  climate_preset_key: string;
98579
98492
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -98584,6 +98497,8 @@ interface Routes {
98584
98497
  is_override_allowed?: boolean | undefined;
98585
98498
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
98586
98499
  ends_at: string;
98500
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
98501
+ workspace_id: string;
98587
98502
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
98588
98503
  created_at: string;
98589
98504
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -98600,7 +98515,7 @@ interface Routes {
98600
98515
  /** ID of the desired thermostat device. */
98601
98516
  device_id: string;
98602
98517
  /** User-friendly name to identify the thermostat daily program. */
98603
- name?: string | undefined;
98518
+ name: string | null;
98604
98519
  /** Array of thermostat daily program periods. */
98605
98520
  periods: Array<{
98606
98521
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -98608,12 +98523,12 @@ interface Routes {
98608
98523
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
98609
98524
  climate_preset_key: string;
98610
98525
  }>;
98526
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
98527
+ workspace_id: string;
98611
98528
  /** Date and time at which the thermostat daily program was created. */
98612
98529
  created_at: string;
98613
- }> | null) | undefined;
98614
- thermostat_weekly_program?: ({
98615
- /** ID of the thermostat device the weekly program is for. */
98616
- device_id: string;
98530
+ }> | undefined) | undefined;
98531
+ thermostat_weekly_program?: (({
98617
98532
  /** ID of the thermostat daily program to run on Mondays. */
98618
98533
  monday_program_id: string | null;
98619
98534
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -98630,7 +98545,7 @@ interface Routes {
98630
98545
  sunday_program_id: string | null;
98631
98546
  /** Date and time at which the thermostat weekly program was created. */
98632
98547
  created_at: string;
98633
- } | null) | undefined;
98548
+ } | null) | undefined) | undefined;
98634
98549
  min_cooling_set_point_celsius?: number | undefined;
98635
98550
  min_cooling_set_point_fahrenheit?: number | undefined;
98636
98551
  max_cooling_set_point_celsius?: number | undefined;
@@ -99323,7 +99238,7 @@ interface Routes {
99323
99238
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
99324
99239
  device_id: string;
99325
99240
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
99326
- name?: string | undefined;
99241
+ name: string | null;
99327
99242
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
99328
99243
  climate_preset_key: string;
99329
99244
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -99334,6 +99249,8 @@ interface Routes {
99334
99249
  is_override_allowed?: boolean | undefined;
99335
99250
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
99336
99251
  ends_at: string;
99252
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
99253
+ workspace_id: string;
99337
99254
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
99338
99255
  created_at: string;
99339
99256
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -99350,7 +99267,7 @@ interface Routes {
99350
99267
  /** ID of the desired thermostat device. */
99351
99268
  device_id: string;
99352
99269
  /** User-friendly name to identify the thermostat daily program. */
99353
- name?: string | undefined;
99270
+ name: string | null;
99354
99271
  /** Array of thermostat daily program periods. */
99355
99272
  periods: Array<{
99356
99273
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -99358,12 +99275,12 @@ interface Routes {
99358
99275
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
99359
99276
  climate_preset_key: string;
99360
99277
  }>;
99278
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
99279
+ workspace_id: string;
99361
99280
  /** Date and time at which the thermostat daily program was created. */
99362
99281
  created_at: string;
99363
- }> | null) | undefined;
99364
- thermostat_weekly_program?: ({
99365
- /** ID of the thermostat device the weekly program is for. */
99366
- device_id: string;
99282
+ }> | undefined) | undefined;
99283
+ thermostat_weekly_program?: (({
99367
99284
  /** ID of the thermostat daily program to run on Mondays. */
99368
99285
  monday_program_id: string | null;
99369
99286
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -99380,7 +99297,7 @@ interface Routes {
99380
99297
  sunday_program_id: string | null;
99381
99298
  /** Date and time at which the thermostat weekly program was created. */
99382
99299
  created_at: string;
99383
- } | null) | undefined;
99300
+ } | null) | undefined) | undefined;
99384
99301
  min_cooling_set_point_celsius?: number | undefined;
99385
99302
  min_cooling_set_point_fahrenheit?: number | undefined;
99386
99303
  max_cooling_set_point_celsius?: number | undefined;
@@ -100761,7 +100678,7 @@ interface Routes {
100761
100678
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
100762
100679
  device_id: string;
100763
100680
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100764
- name?: string | undefined;
100681
+ name: string | null;
100765
100682
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100766
100683
  climate_preset_key: string;
100767
100684
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -100772,6 +100689,8 @@ interface Routes {
100772
100689
  is_override_allowed?: boolean | undefined;
100773
100690
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
100774
100691
  ends_at: string;
100692
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
100693
+ workspace_id: string;
100775
100694
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
100776
100695
  created_at: string;
100777
100696
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -100814,7 +100733,7 @@ interface Routes {
100814
100733
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
100815
100734
  device_id: string;
100816
100735
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100817
- name?: string | undefined;
100736
+ name: string | null;
100818
100737
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100819
100738
  climate_preset_key: string;
100820
100739
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -100825,6 +100744,8 @@ interface Routes {
100825
100744
  is_override_allowed?: boolean | undefined;
100826
100745
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
100827
100746
  ends_at: string;
100747
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
100748
+ workspace_id: string;
100828
100749
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
100829
100750
  created_at: string;
100830
100751
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -100856,7 +100777,7 @@ interface Routes {
100856
100777
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
100857
100778
  device_id: string;
100858
100779
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100859
- name?: string | undefined;
100780
+ name: string | null;
100860
100781
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100861
100782
  climate_preset_key: string;
100862
100783
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -100867,6 +100788,8 @@ interface Routes {
100867
100788
  is_override_allowed?: boolean | undefined;
100868
100789
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
100869
100790
  ends_at: string;
100791
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
100792
+ workspace_id: string;
100870
100793
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
100871
100794
  created_at: string;
100872
100795
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -104436,7 +104359,7 @@ interface Routes {
104436
104359
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
104437
104360
  device_id: string;
104438
104361
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
104439
- name?: string | undefined;
104362
+ name: string | null;
104440
104363
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
104441
104364
  climate_preset_key: string;
104442
104365
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -104447,6 +104370,8 @@ interface Routes {
104447
104370
  is_override_allowed?: boolean | undefined;
104448
104371
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
104449
104372
  ends_at: string;
104373
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
104374
+ workspace_id: string;
104450
104375
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
104451
104376
  created_at: string;
104452
104377
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -104463,7 +104388,7 @@ interface Routes {
104463
104388
  /** ID of the desired thermostat device. */
104464
104389
  device_id: string;
104465
104390
  /** User-friendly name to identify the thermostat daily program. */
104466
- name?: string | undefined;
104391
+ name: string | null;
104467
104392
  /** Array of thermostat daily program periods. */
104468
104393
  periods: Array<{
104469
104394
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -104471,12 +104396,12 @@ interface Routes {
104471
104396
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
104472
104397
  climate_preset_key: string;
104473
104398
  }>;
104399
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
104400
+ workspace_id: string;
104474
104401
  /** Date and time at which the thermostat daily program was created. */
104475
104402
  created_at: string;
104476
- }> | null) | undefined;
104477
- thermostat_weekly_program?: ({
104478
- /** ID of the thermostat device the weekly program is for. */
104479
- device_id: string;
104403
+ }> | undefined) | undefined;
104404
+ thermostat_weekly_program?: (({
104480
104405
  /** ID of the thermostat daily program to run on Mondays. */
104481
104406
  monday_program_id: string | null;
104482
104407
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -104493,7 +104418,7 @@ interface Routes {
104493
104418
  sunday_program_id: string | null;
104494
104419
  /** Date and time at which the thermostat weekly program was created. */
104495
104420
  created_at: string;
104496
- } | null) | undefined;
104421
+ } | null) | undefined) | undefined;
104497
104422
  min_cooling_set_point_celsius?: number | undefined;
104498
104423
  min_cooling_set_point_fahrenheit?: number | undefined;
104499
104424
  max_cooling_set_point_celsius?: number | undefined;
@@ -105188,7 +105113,7 @@ interface Routes {
105188
105113
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
105189
105114
  device_id: string;
105190
105115
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
105191
- name?: string | undefined;
105116
+ name: string | null;
105192
105117
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
105193
105118
  climate_preset_key: string;
105194
105119
  /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
@@ -105199,6 +105124,8 @@ interface Routes {
105199
105124
  is_override_allowed?: boolean | undefined;
105200
105125
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
105201
105126
  ends_at: string;
105127
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
105128
+ workspace_id: string;
105202
105129
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
105203
105130
  created_at: string;
105204
105131
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -105215,7 +105142,7 @@ interface Routes {
105215
105142
  /** ID of the desired thermostat device. */
105216
105143
  device_id: string;
105217
105144
  /** User-friendly name to identify the thermostat daily program. */
105218
- name?: string | undefined;
105145
+ name: string | null;
105219
105146
  /** Array of thermostat daily program periods. */
105220
105147
  periods: Array<{
105221
105148
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -105223,12 +105150,12 @@ interface Routes {
105223
105150
  /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time. */
105224
105151
  climate_preset_key: string;
105225
105152
  }>;
105153
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
105154
+ workspace_id: string;
105226
105155
  /** Date and time at which the thermostat daily program was created. */
105227
105156
  created_at: string;
105228
- }> | null) | undefined;
105229
- thermostat_weekly_program?: ({
105230
- /** ID of the thermostat device the weekly program is for. */
105231
- device_id: string;
105157
+ }> | undefined) | undefined;
105158
+ thermostat_weekly_program?: (({
105232
105159
  /** ID of the thermostat daily program to run on Mondays. */
105233
105160
  monday_program_id: string | null;
105234
105161
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -105245,7 +105172,7 @@ interface Routes {
105245
105172
  sunday_program_id: string | null;
105246
105173
  /** Date and time at which the thermostat weekly program was created. */
105247
105174
  created_at: string;
105248
- } | null) | undefined;
105175
+ } | null) | undefined) | undefined;
105249
105176
  min_cooling_set_point_celsius?: number | undefined;
105250
105177
  min_cooling_set_point_fahrenheit?: number | undefined;
105251
105178
  max_cooling_set_point_celsius?: number | undefined;