@seamapi/types 1.395.1 → 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 (66) hide show
  1. package/dist/connect.cjs +57 -18
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +578 -502
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  5. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  8. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  10. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  13. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  14. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  17. package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
  18. package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
  19. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  20. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  21. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
  22. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
  24. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  25. package/lib/seam/connect/models/devices/device.d.ts +37 -30
  26. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
  28. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  29. package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
  30. package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
  31. package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
  32. package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
  33. package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
  34. package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
  35. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  36. package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
  37. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  38. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  39. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
  40. package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
  41. package/lib/seam/connect/models/events/common.d.ts +2 -2
  42. package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
  43. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  44. package/lib/seam/connect/models/events/devices.d.ts +132 -132
  45. package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
  46. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  47. package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
  48. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
  49. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  50. package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
  51. package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
  52. package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
  53. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
  54. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
  55. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  56. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  57. package/lib/seam/connect/openapi.d.ts +35 -8
  58. package/lib/seam/connect/openapi.js +43 -9
  59. package/lib/seam/connect/openapi.js.map +1 -1
  60. package/lib/seam/connect/route-types.d.ts +136 -102
  61. package/package.json +2 -2
  62. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
  63. package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
  64. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
  65. package/src/lib/seam/connect/openapi.ts +47 -10
  66. package/src/lib/seam/connect/route-types.ts +617 -505
@@ -3593,13 +3593,13 @@ declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3593
3593
  }>, "strip", z.ZodTypeAny, {
3594
3594
  name: string;
3595
3595
  display_name: string;
3596
+ workspace_id: string;
3596
3597
  created_at: string;
3597
3598
  warnings: {
3598
3599
  message: string;
3599
3600
  created_at: string;
3600
3601
  warning_code: "unknown_issue_with_acs_access_group";
3601
3602
  }[];
3602
- workspace_id: string;
3603
3603
  is_managed: true;
3604
3604
  acs_access_group_id: string;
3605
3605
  acs_system_id: string;
@@ -3610,13 +3610,13 @@ declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3610
3610
  }, {
3611
3611
  name: string;
3612
3612
  display_name: string;
3613
+ workspace_id: string;
3613
3614
  created_at: string;
3614
3615
  warnings: {
3615
3616
  message: string;
3616
3617
  created_at: string;
3617
3618
  warning_code: "unknown_issue_with_acs_access_group";
3618
3619
  }[];
3619
- workspace_id: string;
3620
3620
  is_managed: true;
3621
3621
  acs_access_group_id: string;
3622
3622
  acs_system_id: string;
@@ -3655,13 +3655,13 @@ declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3655
3655
  }>, "strip", z.ZodTypeAny, {
3656
3656
  name: string;
3657
3657
  display_name: string;
3658
+ workspace_id: string;
3658
3659
  created_at: string;
3659
3660
  warnings: {
3660
3661
  message: string;
3661
3662
  created_at: string;
3662
3663
  warning_code: "unknown_issue_with_acs_access_group";
3663
3664
  }[];
3664
- workspace_id: string;
3665
3665
  is_managed: false;
3666
3666
  acs_access_group_id: string;
3667
3667
  acs_system_id: string;
@@ -3672,13 +3672,13 @@ declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3672
3672
  }, {
3673
3673
  name: string;
3674
3674
  display_name: string;
3675
+ workspace_id: string;
3675
3676
  created_at: string;
3676
3677
  warnings: {
3677
3678
  message: string;
3678
3679
  created_at: string;
3679
3680
  warning_code: "unknown_issue_with_acs_access_group";
3680
3681
  }[];
3681
- workspace_id: string;
3682
3682
  is_managed: false;
3683
3683
  acs_access_group_id: string;
3684
3684
  acs_system_id: string;
@@ -3854,6 +3854,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
3854
3854
  is_managed: z.ZodLiteral<true>;
3855
3855
  }>, "strip", z.ZodTypeAny, {
3856
3856
  display_name: string;
3857
+ workspace_id: string;
3857
3858
  created_at: string;
3858
3859
  errors: {
3859
3860
  message: string;
@@ -3884,7 +3885,6 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
3884
3885
  created_at: string;
3885
3886
  warning_code: "needs_to_be_reissued";
3886
3887
  })[];
3887
- workspace_id: string;
3888
3888
  is_managed: true;
3889
3889
  acs_system_id: string;
3890
3890
  acs_credential_id: string;
@@ -3924,6 +3924,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
3924
3924
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
3925
3925
  }, {
3926
3926
  display_name: string;
3927
+ workspace_id: string;
3927
3928
  created_at: string;
3928
3929
  errors: {
3929
3930
  message: string;
@@ -3954,7 +3955,6 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
3954
3955
  created_at: string;
3955
3956
  warning_code: "needs_to_be_reissued";
3956
3957
  })[];
3957
- workspace_id: string;
3958
3958
  is_managed: true;
3959
3959
  acs_system_id: string;
3960
3960
  acs_credential_id: string;
@@ -4158,6 +4158,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4158
4158
  is_managed: z.ZodLiteral<false>;
4159
4159
  }>, "strip", z.ZodTypeAny, {
4160
4160
  display_name: string;
4161
+ workspace_id: string;
4161
4162
  created_at: string;
4162
4163
  errors: {
4163
4164
  message: string;
@@ -4188,7 +4189,6 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4188
4189
  created_at: string;
4189
4190
  warning_code: "needs_to_be_reissued";
4190
4191
  })[];
4191
- workspace_id: string;
4192
4192
  is_managed: false;
4193
4193
  acs_system_id: string;
4194
4194
  acs_credential_id: string;
@@ -4228,6 +4228,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4228
4228
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
4229
4229
  }, {
4230
4230
  display_name: string;
4231
+ workspace_id: string;
4231
4232
  created_at: string;
4232
4233
  errors: {
4233
4234
  message: string;
@@ -4258,7 +4259,6 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
4258
4259
  created_at: string;
4259
4260
  warning_code: "needs_to_be_reissued";
4260
4261
  })[];
4261
- workspace_id: string;
4262
4262
  is_managed: false;
4263
4263
  acs_system_id: string;
4264
4264
  acs_credential_id: string;
@@ -4321,24 +4321,24 @@ declare const acs_encoder: z.ZodObject<{
4321
4321
  display_name: z.ZodString;
4322
4322
  }, "strip", z.ZodTypeAny, {
4323
4323
  display_name: string;
4324
+ workspace_id: string;
4324
4325
  created_at: string;
4325
4326
  errors: {
4326
4327
  message: string;
4327
4328
  created_at: string;
4328
4329
  error_code: "acs_encoder_removed";
4329
4330
  }[];
4330
- workspace_id: string;
4331
4331
  acs_system_id: string;
4332
4332
  acs_encoder_id: string;
4333
4333
  }, {
4334
4334
  display_name: string;
4335
+ workspace_id: string;
4335
4336
  created_at: string;
4336
4337
  errors: {
4337
4338
  message: string;
4338
4339
  created_at: string;
4339
4340
  error_code: "acs_encoder_removed";
4340
4341
  }[];
4341
- workspace_id: string;
4342
4342
  acs_system_id: string;
4343
4343
  acs_encoder_id: string;
4344
4344
  }>;
@@ -4744,6 +4744,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4744
4744
  can_update_user_group_membership: z.ZodOptional<z.ZodBoolean>;
4745
4745
  }>, "strip", z.ZodTypeAny, {
4746
4746
  name: string;
4747
+ workspace_id: string;
4747
4748
  created_at: string;
4748
4749
  errors: ({
4749
4750
  message: string;
@@ -4791,7 +4792,6 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4791
4792
  location: {
4792
4793
  time_zone: string | null;
4793
4794
  };
4794
- workspace_id: string;
4795
4795
  acs_system_id: string;
4796
4796
  is_credential_manager: boolean;
4797
4797
  connected_account_ids: string[];
@@ -4819,6 +4819,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4819
4819
  system_type_display_name?: string | undefined;
4820
4820
  }, {
4821
4821
  name: string;
4822
+ workspace_id: string;
4822
4823
  created_at: string;
4823
4824
  errors: ({
4824
4825
  message: string;
@@ -4866,7 +4867,6 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
4866
4867
  location: {
4867
4868
  time_zone: string | null;
4868
4869
  };
4869
- workspace_id: string;
4870
4870
  acs_system_id: string;
4871
4871
  is_credential_manager: boolean;
4872
4872
  connected_account_ids: string[];
@@ -5274,6 +5274,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5274
5274
  is_managed: z.ZodLiteral<true>;
5275
5275
  }>, "strip", z.ZodTypeAny, {
5276
5276
  display_name: string;
5277
+ workspace_id: string;
5277
5278
  created_at: string;
5278
5279
  errors: ({
5279
5280
  message: string;
@@ -5317,7 +5318,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5317
5318
  created_at: string;
5318
5319
  warning_code: "latch_resident_user";
5319
5320
  })[];
5320
- workspace_id: string;
5321
5321
  is_managed: true;
5322
5322
  acs_system_id: string;
5323
5323
  acs_user_id: string;
@@ -5395,6 +5395,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5395
5395
  })[] | undefined;
5396
5396
  }, {
5397
5397
  display_name: string;
5398
+ workspace_id: string;
5398
5399
  created_at: string;
5399
5400
  errors: ({
5400
5401
  message: string;
@@ -5438,7 +5439,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5438
5439
  created_at: string;
5439
5440
  warning_code: "latch_resident_user";
5440
5441
  })[];
5441
- workspace_id: string;
5442
5442
  is_managed: true;
5443
5443
  acs_system_id: string;
5444
5444
  acs_user_id: string;
@@ -5894,6 +5894,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5894
5894
  is_managed: z.ZodLiteral<false>;
5895
5895
  }>, "strip", z.ZodTypeAny, {
5896
5896
  display_name: string;
5897
+ workspace_id: string;
5897
5898
  created_at: string;
5898
5899
  errors: ({
5899
5900
  message: string;
@@ -5937,7 +5938,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5937
5938
  created_at: string;
5938
5939
  warning_code: "latch_resident_user";
5939
5940
  })[];
5940
- workspace_id: string;
5941
5941
  is_managed: false;
5942
5942
  acs_system_id: string;
5943
5943
  acs_user_id: string;
@@ -6015,6 +6015,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
6015
6015
  })[] | undefined;
6016
6016
  }, {
6017
6017
  display_name: string;
6018
+ workspace_id: string;
6018
6019
  created_at: string;
6019
6020
  errors: ({
6020
6021
  message: string;
@@ -6058,7 +6059,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
6058
6059
  created_at: string;
6059
6060
  warning_code: "latch_resident_user";
6060
6061
  })[];
6061
- workspace_id: string;
6062
6062
  is_managed: false;
6063
6063
  acs_system_id: string;
6064
6064
  acs_user_id: string;
@@ -6575,6 +6575,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6575
6575
  is_managed: z.ZodLiteral<true>;
6576
6576
  }>, "strip", z.ZodTypeAny, {
6577
6577
  display_name: string;
6578
+ workspace_id: string;
6578
6579
  created_at: string;
6579
6580
  errors: {
6580
6581
  message: string;
@@ -6605,7 +6606,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6605
6606
  created_at: string;
6606
6607
  warning_code: "needs_to_be_reissued";
6607
6608
  })[];
6608
- workspace_id: string;
6609
6609
  is_managed: true;
6610
6610
  acs_system_id: string;
6611
6611
  acs_credential_id: string;
@@ -6645,6 +6645,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6645
6645
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
6646
6646
  }, {
6647
6647
  display_name: string;
6648
+ workspace_id: string;
6648
6649
  created_at: string;
6649
6650
  errors: {
6650
6651
  message: string;
@@ -6675,7 +6676,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6675
6676
  created_at: string;
6676
6677
  warning_code: "needs_to_be_reissued";
6677
6678
  })[];
6678
- workspace_id: string;
6679
6679
  is_managed: true;
6680
6680
  acs_system_id: string;
6681
6681
  acs_credential_id: string;
@@ -6878,6 +6878,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6878
6878
  is_managed: z.ZodLiteral<false>;
6879
6879
  }>, "strip", z.ZodTypeAny, {
6880
6880
  display_name: string;
6881
+ workspace_id: string;
6881
6882
  created_at: string;
6882
6883
  errors: {
6883
6884
  message: string;
@@ -6908,7 +6909,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6908
6909
  created_at: string;
6909
6910
  warning_code: "needs_to_be_reissued";
6910
6911
  })[];
6911
- workspace_id: string;
6912
6912
  is_managed: false;
6913
6913
  acs_system_id: string;
6914
6914
  acs_credential_id: string;
@@ -6948,6 +6948,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6948
6948
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
6949
6949
  }, {
6950
6950
  display_name: string;
6951
+ workspace_id: string;
6951
6952
  created_at: string;
6952
6953
  errors: {
6953
6954
  message: string;
@@ -6978,7 +6979,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
6978
6979
  created_at: string;
6979
6980
  warning_code: "needs_to_be_reissued";
6980
6981
  })[];
6981
- workspace_id: string;
6982
6982
  is_managed: false;
6983
6983
  acs_system_id: string;
6984
6984
  acs_credential_id: string;
@@ -7055,6 +7055,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7055
7055
  } | null;
7056
7056
  acs_credential_on_seam: {
7057
7057
  display_name: string;
7058
+ workspace_id: string;
7058
7059
  created_at: string;
7059
7060
  errors: {
7060
7061
  message: string;
@@ -7085,7 +7086,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7085
7086
  created_at: string;
7086
7087
  warning_code: "needs_to_be_reissued";
7087
7088
  })[];
7088
- workspace_id: string;
7089
7089
  is_managed: true;
7090
7090
  acs_system_id: string;
7091
7091
  acs_credential_id: string;
@@ -7125,6 +7125,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7125
7125
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7126
7126
  } | {
7127
7127
  display_name: string;
7128
+ workspace_id: string;
7128
7129
  created_at: string;
7129
7130
  errors: {
7130
7131
  message: string;
@@ -7155,7 +7156,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7155
7156
  created_at: string;
7156
7157
  warning_code: "needs_to_be_reissued";
7157
7158
  })[];
7158
- workspace_id: string;
7159
7159
  is_managed: false;
7160
7160
  acs_system_id: string;
7161
7161
  acs_credential_id: string;
@@ -7222,6 +7222,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7222
7222
  } | null;
7223
7223
  acs_credential_on_seam: {
7224
7224
  display_name: string;
7225
+ workspace_id: string;
7225
7226
  created_at: string;
7226
7227
  errors: {
7227
7228
  message: string;
@@ -7252,7 +7253,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7252
7253
  created_at: string;
7253
7254
  warning_code: "needs_to_be_reissued";
7254
7255
  })[];
7255
- workspace_id: string;
7256
7256
  is_managed: true;
7257
7257
  acs_system_id: string;
7258
7258
  acs_credential_id: string;
@@ -7292,6 +7292,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7292
7292
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7293
7293
  } | {
7294
7294
  display_name: string;
7295
+ workspace_id: string;
7295
7296
  created_at: string;
7296
7297
  errors: {
7297
7298
  message: string;
@@ -7322,7 +7323,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7322
7323
  created_at: string;
7323
7324
  warning_code: "needs_to_be_reissued";
7324
7325
  })[];
7325
- workspace_id: string;
7326
7326
  is_managed: false;
7327
7327
  acs_system_id: string;
7328
7328
  acs_credential_id: string;
@@ -7394,6 +7394,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7394
7394
  } | null;
7395
7395
  acs_credential_on_seam: {
7396
7396
  display_name: string;
7397
+ workspace_id: string;
7397
7398
  created_at: string;
7398
7399
  errors: {
7399
7400
  message: string;
@@ -7424,7 +7425,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7424
7425
  created_at: string;
7425
7426
  warning_code: "needs_to_be_reissued";
7426
7427
  })[];
7427
- workspace_id: string;
7428
7428
  is_managed: true;
7429
7429
  acs_system_id: string;
7430
7430
  acs_credential_id: string;
@@ -7464,6 +7464,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7464
7464
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7465
7465
  } | {
7466
7466
  display_name: string;
7467
+ workspace_id: string;
7467
7468
  created_at: string;
7468
7469
  errors: {
7469
7470
  message: string;
@@ -7494,7 +7495,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7494
7495
  created_at: string;
7495
7496
  warning_code: "needs_to_be_reissued";
7496
7497
  })[];
7497
- workspace_id: string;
7498
7498
  is_managed: false;
7499
7499
  acs_system_id: string;
7500
7500
  acs_credential_id: string;
@@ -7567,6 +7567,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7567
7567
  } | null;
7568
7568
  acs_credential_on_seam: {
7569
7569
  display_name: string;
7570
+ workspace_id: string;
7570
7571
  created_at: string;
7571
7572
  errors: {
7572
7573
  message: string;
@@ -7597,7 +7598,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7597
7598
  created_at: string;
7598
7599
  warning_code: "needs_to_be_reissued";
7599
7600
  })[];
7600
- workspace_id: string;
7601
7601
  is_managed: true;
7602
7602
  acs_system_id: string;
7603
7603
  acs_credential_id: string;
@@ -7637,6 +7637,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7637
7637
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
7638
7638
  } | {
7639
7639
  display_name: string;
7640
+ workspace_id: string;
7640
7641
  created_at: string;
7641
7642
  errors: {
7642
7643
  message: string;
@@ -7667,7 +7668,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7667
7668
  created_at: string;
7668
7669
  warning_code: "needs_to_be_reissued";
7669
7670
  })[];
7670
- workspace_id: string;
7671
7671
  is_managed: false;
7672
7672
  acs_system_id: string;
7673
7673
  acs_credential_id: string;
@@ -7814,8 +7814,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7814
7814
  is_card_encoding_required: z.ZodOptional<z.ZodBoolean>;
7815
7815
  }, "strip", z.ZodTypeAny, {
7816
7816
  display_name: string;
7817
- created_at: string;
7818
7817
  workspace_id: string;
7818
+ created_at: string;
7819
7819
  mode: "code" | "card" | "mobile_key";
7820
7820
  access_method_id: string;
7821
7821
  issued_at?: string | undefined;
@@ -7823,8 +7823,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7823
7823
  is_card_encoding_required?: boolean | undefined;
7824
7824
  }, {
7825
7825
  display_name: string;
7826
- created_at: string;
7827
7826
  workspace_id: string;
7827
+ created_at: string;
7828
7828
  mode: "code" | "card" | "mobile_key";
7829
7829
  access_method_id: string;
7830
7830
  issued_at?: string | undefined;
@@ -7837,8 +7837,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7837
7837
  error: null;
7838
7838
  result: {
7839
7839
  display_name: string;
7840
- created_at: string;
7841
7840
  workspace_id: string;
7841
+ created_at: string;
7842
7842
  mode: "code" | "card" | "mobile_key";
7843
7843
  access_method_id: string;
7844
7844
  issued_at?: string | undefined;
@@ -7852,8 +7852,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
7852
7852
  error: null;
7853
7853
  result: {
7854
7854
  display_name: string;
7855
- created_at: string;
7856
7855
  workspace_id: string;
7856
+ created_at: string;
7857
7857
  mode: "code" | "card" | "mobile_key";
7858
7858
  access_method_id: string;
7859
7859
  issued_at?: string | undefined;
@@ -8151,6 +8151,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8151
8151
  is_managed: z.ZodLiteral<true>;
8152
8152
  }>, "strip", z.ZodTypeAny, {
8153
8153
  display_name: string;
8154
+ workspace_id: string;
8154
8155
  created_at: string;
8155
8156
  errors: {
8156
8157
  message: string;
@@ -8181,7 +8182,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8181
8182
  created_at: string;
8182
8183
  warning_code: "needs_to_be_reissued";
8183
8184
  })[];
8184
- workspace_id: string;
8185
8185
  is_managed: true;
8186
8186
  acs_system_id: string;
8187
8187
  acs_credential_id: string;
@@ -8221,6 +8221,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8221
8221
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
8222
8222
  }, {
8223
8223
  display_name: string;
8224
+ workspace_id: string;
8224
8225
  created_at: string;
8225
8226
  errors: {
8226
8227
  message: string;
@@ -8251,7 +8252,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8251
8252
  created_at: string;
8252
8253
  warning_code: "needs_to_be_reissued";
8253
8254
  })[];
8254
- workspace_id: string;
8255
8255
  is_managed: true;
8256
8256
  acs_system_id: string;
8257
8257
  acs_credential_id: string;
@@ -8454,6 +8454,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8454
8454
  is_managed: z.ZodLiteral<false>;
8455
8455
  }>, "strip", z.ZodTypeAny, {
8456
8456
  display_name: string;
8457
+ workspace_id: string;
8457
8458
  created_at: string;
8458
8459
  errors: {
8459
8460
  message: string;
@@ -8484,7 +8485,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8484
8485
  created_at: string;
8485
8486
  warning_code: "needs_to_be_reissued";
8486
8487
  })[];
8487
- workspace_id: string;
8488
8488
  is_managed: false;
8489
8489
  acs_system_id: string;
8490
8490
  acs_credential_id: string;
@@ -8524,6 +8524,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8524
8524
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
8525
8525
  }, {
8526
8526
  display_name: string;
8527
+ workspace_id: string;
8527
8528
  created_at: string;
8528
8529
  errors: {
8529
8530
  message: string;
@@ -8554,7 +8555,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8554
8555
  created_at: string;
8555
8556
  warning_code: "needs_to_be_reissued";
8556
8557
  })[];
8557
- workspace_id: string;
8558
8558
  is_managed: false;
8559
8559
  acs_system_id: string;
8560
8560
  acs_credential_id: string;
@@ -8599,6 +8599,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8599
8599
  error: null;
8600
8600
  result: {
8601
8601
  display_name: string;
8602
+ workspace_id: string;
8602
8603
  created_at: string;
8603
8604
  errors: {
8604
8605
  message: string;
@@ -8629,7 +8630,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8629
8630
  created_at: string;
8630
8631
  warning_code: "needs_to_be_reissued";
8631
8632
  })[];
8632
- workspace_id: string;
8633
8633
  is_managed: true;
8634
8634
  acs_system_id: string;
8635
8635
  acs_credential_id: string;
@@ -8669,6 +8669,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8669
8669
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
8670
8670
  } | {
8671
8671
  display_name: string;
8672
+ workspace_id: string;
8672
8673
  created_at: string;
8673
8674
  errors: {
8674
8675
  message: string;
@@ -8699,7 +8700,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8699
8700
  created_at: string;
8700
8701
  warning_code: "needs_to_be_reissued";
8701
8702
  })[];
8702
- workspace_id: string;
8703
8703
  is_managed: false;
8704
8704
  acs_system_id: string;
8705
8705
  acs_credential_id: string;
@@ -8745,6 +8745,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8745
8745
  error: null;
8746
8746
  result: {
8747
8747
  display_name: string;
8748
+ workspace_id: string;
8748
8749
  created_at: string;
8749
8750
  errors: {
8750
8751
  message: string;
@@ -8775,7 +8776,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8775
8776
  created_at: string;
8776
8777
  warning_code: "needs_to_be_reissued";
8777
8778
  })[];
8778
- workspace_id: string;
8779
8779
  is_managed: true;
8780
8780
  acs_system_id: string;
8781
8781
  acs_credential_id: string;
@@ -8815,6 +8815,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8815
8815
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
8816
8816
  } | {
8817
8817
  display_name: string;
8818
+ workspace_id: string;
8818
8819
  created_at: string;
8819
8820
  errors: {
8820
8821
  message: string;
@@ -8845,7 +8846,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
8845
8846
  created_at: string;
8846
8847
  warning_code: "needs_to_be_reissued";
8847
8848
  })[];
8848
- workspace_id: string;
8849
8849
  is_managed: false;
8850
8850
  acs_system_id: string;
8851
8851
  acs_credential_id: string;
@@ -10170,13 +10170,13 @@ declare const bridge: z.ZodObject<{
10170
10170
  workspace_id: z.ZodString;
10171
10171
  created_at: z.ZodString;
10172
10172
  }, "strip", z.ZodTypeAny, {
10173
+ workspace_id: string;
10173
10174
  created_at: string;
10174
10175
  bridge_id: string;
10175
- workspace_id: string;
10176
10176
  }, {
10177
+ workspace_id: string;
10177
10178
  created_at: string;
10178
10179
  bridge_id: string;
10179
- workspace_id: string;
10180
10180
  }>;
10181
10181
  type Bridge = z.infer<typeof bridge>;
10182
10182
 
@@ -10306,8 +10306,8 @@ declare const client_session: z.ZodObject<{
10306
10306
  connect_webview_ids: z.ZodArray<z.ZodString, "many">;
10307
10307
  user_identity_ids: z.ZodArray<z.ZodString, "many">;
10308
10308
  }, "strip", z.ZodTypeAny, {
10309
- created_at: string;
10310
10309
  workspace_id: string;
10310
+ created_at: string;
10311
10311
  connected_account_ids: string[];
10312
10312
  client_session_id: string;
10313
10313
  expires_at: string;
@@ -10317,8 +10317,8 @@ declare const client_session: z.ZodObject<{
10317
10317
  connect_webview_ids: string[];
10318
10318
  user_identity_ids: string[];
10319
10319
  }, {
10320
- created_at: string;
10321
10320
  workspace_id: string;
10321
+ created_at: string;
10322
10322
  connected_account_ids: string[];
10323
10323
  client_session_id: string;
10324
10324
  expires_at: string;
@@ -10352,12 +10352,12 @@ declare const connect_webview: z.ZodObject<{
10352
10352
  selected_provider: z.ZodNullable<z.ZodString>;
10353
10353
  }, "strip", z.ZodTypeAny, {
10354
10354
  status: "pending" | "failed" | "authorized";
10355
+ workspace_id: string;
10355
10356
  created_at: string;
10356
10357
  url: string;
10357
10358
  connected_account_id: string | null;
10358
10359
  custom_metadata: Record<string, string | boolean>;
10359
10360
  automatically_manage_new_devices: boolean;
10360
- workspace_id: string;
10361
10361
  connect_webview_id: string;
10362
10362
  device_selection_mode: "none" | "single" | "multiple";
10363
10363
  accepted_providers: string[];
@@ -10372,12 +10372,12 @@ declare const connect_webview: z.ZodObject<{
10372
10372
  selected_provider: string | null;
10373
10373
  }, {
10374
10374
  status: "pending" | "failed" | "authorized";
10375
+ workspace_id: string;
10375
10376
  created_at: string;
10376
10377
  url: string;
10377
10378
  connected_account_id: string | null;
10378
10379
  custom_metadata: Record<string, string | boolean>;
10379
10380
  automatically_manage_new_devices: boolean;
10380
- workspace_id: string;
10381
10381
  connect_webview_id: string;
10382
10382
  device_selection_mode: "none" | "single" | "multiple";
10383
10383
  accepted_providers: string[];
@@ -12850,12 +12850,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12850
12850
  active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
12851
12851
  thermostat_schedule_id: z.ZodString;
12852
12852
  device_id: z.ZodString;
12853
- name: z.ZodOptional<z.ZodString>;
12853
+ name: z.ZodNullable<z.ZodString>;
12854
12854
  climate_preset_key: z.ZodString;
12855
12855
  max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12856
12856
  starts_at: z.ZodString;
12857
12857
  is_override_allowed: z.ZodOptional<z.ZodBoolean>;
12858
12858
  ends_at: z.ZodString;
12859
+ workspace_id: z.ZodString;
12859
12860
  created_at: z.ZodString;
12860
12861
  errors: z.ZodArray<z.ZodObject<{
12861
12862
  error_code: z.ZodString;
@@ -12869,7 +12870,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12869
12870
  }>, "many">;
12870
12871
  }, "strip", z.ZodTypeAny, {
12871
12872
  climate_preset_key: string;
12873
+ name: string | null;
12872
12874
  device_id: string;
12875
+ workspace_id: string;
12873
12876
  created_at: string;
12874
12877
  thermostat_schedule_id: string;
12875
12878
  starts_at: string;
@@ -12878,12 +12881,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12878
12881
  message: string;
12879
12882
  error_code: string;
12880
12883
  }[];
12881
- name?: string | undefined;
12882
12884
  max_override_period_minutes?: number | null | undefined;
12883
12885
  is_override_allowed?: boolean | undefined;
12884
12886
  }, {
12885
12887
  climate_preset_key: string;
12888
+ name: string | null;
12886
12889
  device_id: string;
12890
+ workspace_id: string;
12887
12891
  created_at: string;
12888
12892
  thermostat_schedule_id: string;
12889
12893
  starts_at: string;
@@ -12892,14 +12896,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12892
12896
  message: string;
12893
12897
  error_code: string;
12894
12898
  }[];
12895
- name?: string | undefined;
12896
12899
  max_override_period_minutes?: number | null | undefined;
12897
12900
  is_override_allowed?: boolean | undefined;
12898
12901
  }>>>>;
12899
- 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<{
12900
12903
  thermostat_daily_program_id: z.ZodString;
12901
12904
  device_id: z.ZodString;
12902
- name: z.ZodOptional<z.ZodString>;
12905
+ name: z.ZodNullable<z.ZodString>;
12903
12906
  periods: z.ZodArray<z.ZodObject<{
12904
12907
  starts_at_time: z.ZodString;
12905
12908
  climate_preset_key: z.ZodString;
@@ -12910,28 +12913,30 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12910
12913
  climate_preset_key: string;
12911
12914
  starts_at_time: string;
12912
12915
  }>, "many">;
12916
+ workspace_id: z.ZodString;
12913
12917
  created_at: z.ZodString;
12914
12918
  }, "strip", z.ZodTypeAny, {
12919
+ name: string | null;
12915
12920
  thermostat_daily_program_id: string;
12916
12921
  device_id: string;
12917
12922
  periods: {
12918
12923
  climate_preset_key: string;
12919
12924
  starts_at_time: string;
12920
12925
  }[];
12926
+ workspace_id: string;
12921
12927
  created_at: string;
12922
- name?: string | undefined;
12923
12928
  }, {
12929
+ name: string | null;
12924
12930
  thermostat_daily_program_id: string;
12925
12931
  device_id: string;
12926
12932
  periods: {
12927
12933
  climate_preset_key: string;
12928
12934
  starts_at_time: string;
12929
12935
  }[];
12936
+ workspace_id: string;
12930
12937
  created_at: string;
12931
- name?: string | undefined;
12932
- }>, "many">>>>;
12933
- thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
12934
- device_id: z.ZodString;
12938
+ }>, "many">>>;
12939
+ thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
12935
12940
  monday_program_id: z.ZodNullable<z.ZodString>;
12936
12941
  tuesday_program_id: z.ZodNullable<z.ZodString>;
12937
12942
  wednesday_program_id: z.ZodNullable<z.ZodString>;
@@ -12941,7 +12946,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12941
12946
  sunday_program_id: z.ZodNullable<z.ZodString>;
12942
12947
  created_at: z.ZodString;
12943
12948
  }, "strip", z.ZodTypeAny, {
12944
- device_id: string;
12945
12949
  created_at: string;
12946
12950
  monday_program_id: string | null;
12947
12951
  tuesday_program_id: string | null;
@@ -12951,7 +12955,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
12951
12955
  saturday_program_id: string | null;
12952
12956
  sunday_program_id: string | null;
12953
12957
  }, {
12954
- device_id: string;
12955
12958
  created_at: string;
12956
12959
  monday_program_id: string | null;
12957
12960
  tuesday_program_id: string | null;
@@ -13046,7 +13049,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13046
13049
  fallback_climate_preset_key?: string | null | undefined;
13047
13050
  active_thermostat_schedule?: {
13048
13051
  climate_preset_key: string;
13052
+ name: string | null;
13049
13053
  device_id: string;
13054
+ workspace_id: string;
13050
13055
  created_at: string;
13051
13056
  thermostat_schedule_id: string;
13052
13057
  starts_at: string;
@@ -13055,22 +13060,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13055
13060
  message: string;
13056
13061
  error_code: string;
13057
13062
  }[];
13058
- name?: string | undefined;
13059
13063
  max_override_period_minutes?: number | null | undefined;
13060
13064
  is_override_allowed?: boolean | undefined;
13061
13065
  } | null | undefined;
13062
13066
  thermostat_daily_programs?: {
13067
+ name: string | null;
13063
13068
  thermostat_daily_program_id: string;
13064
13069
  device_id: string;
13065
13070
  periods: {
13066
13071
  climate_preset_key: string;
13067
13072
  starts_at_time: string;
13068
13073
  }[];
13074
+ workspace_id: string;
13069
13075
  created_at: string;
13070
- name?: string | undefined;
13071
- }[] | null | undefined;
13076
+ }[] | undefined;
13072
13077
  thermostat_weekly_program?: {
13073
- device_id: string;
13074
13078
  created_at: string;
13075
13079
  monday_program_id: string | null;
13076
13080
  tuesday_program_id: string | null;
@@ -13155,7 +13159,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13155
13159
  fallback_climate_preset_key?: string | null | undefined;
13156
13160
  active_thermostat_schedule?: {
13157
13161
  climate_preset_key: string;
13162
+ name: string | null;
13158
13163
  device_id: string;
13164
+ workspace_id: string;
13159
13165
  created_at: string;
13160
13166
  thermostat_schedule_id: string;
13161
13167
  starts_at: string;
@@ -13164,22 +13170,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13164
13170
  message: string;
13165
13171
  error_code: string;
13166
13172
  }[];
13167
- name?: string | undefined;
13168
13173
  max_override_period_minutes?: number | null | undefined;
13169
13174
  is_override_allowed?: boolean | undefined;
13170
13175
  } | null | undefined;
13171
13176
  thermostat_daily_programs?: {
13177
+ name: string | null;
13172
13178
  thermostat_daily_program_id: string;
13173
13179
  device_id: string;
13174
13180
  periods: {
13175
13181
  climate_preset_key: string;
13176
13182
  starts_at_time: string;
13177
13183
  }[];
13184
+ workspace_id: string;
13178
13185
  created_at: string;
13179
- name?: string | undefined;
13180
- }[] | null | undefined;
13186
+ }[] | undefined;
13181
13187
  thermostat_weekly_program?: {
13182
- device_id: string;
13183
13188
  created_at: string;
13184
13189
  monday_program_id: string | null;
13185
13190
  tuesday_program_id: string | null;
@@ -13800,6 +13805,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13800
13805
  }>>, "strip", z.ZodTypeAny, {
13801
13806
  display_name: string;
13802
13807
  device_id: string;
13808
+ workspace_id: string;
13803
13809
  created_at: string;
13804
13810
  errors: ({
13805
13811
  message: string;
@@ -14331,7 +14337,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14331
14337
  fallback_climate_preset_key?: string | null | undefined;
14332
14338
  active_thermostat_schedule?: {
14333
14339
  climate_preset_key: string;
14340
+ name: string | null;
14334
14341
  device_id: string;
14342
+ workspace_id: string;
14335
14343
  created_at: string;
14336
14344
  thermostat_schedule_id: string;
14337
14345
  starts_at: string;
@@ -14340,22 +14348,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14340
14348
  message: string;
14341
14349
  error_code: string;
14342
14350
  }[];
14343
- name?: string | undefined;
14344
14351
  max_override_period_minutes?: number | null | undefined;
14345
14352
  is_override_allowed?: boolean | undefined;
14346
14353
  } | null | undefined;
14347
14354
  thermostat_daily_programs?: {
14355
+ name: string | null;
14348
14356
  thermostat_daily_program_id: string;
14349
14357
  device_id: string;
14350
14358
  periods: {
14351
14359
  climate_preset_key: string;
14352
14360
  starts_at_time: string;
14353
14361
  }[];
14362
+ workspace_id: string;
14354
14363
  created_at: string;
14355
- name?: string | undefined;
14356
- }[] | null | undefined;
14364
+ }[] | undefined;
14357
14365
  thermostat_weekly_program?: {
14358
- device_id: string;
14359
14366
  created_at: string;
14360
14367
  monday_program_id: string | null;
14361
14368
  tuesday_program_id: string | null;
@@ -14386,7 +14393,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14386
14393
  location_name?: string | undefined;
14387
14394
  timezone?: string | undefined;
14388
14395
  } | null;
14389
- workspace_id: string;
14390
14396
  is_managed: true;
14391
14397
  can_remotely_unlock?: boolean | undefined;
14392
14398
  can_remotely_lock?: boolean | undefined;
@@ -14403,6 +14409,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14403
14409
  }, {
14404
14410
  display_name: string;
14405
14411
  device_id: string;
14412
+ workspace_id: string;
14406
14413
  created_at: string;
14407
14414
  errors: ({
14408
14415
  message: string;
@@ -14934,7 +14941,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14934
14941
  fallback_climate_preset_key?: string | null | undefined;
14935
14942
  active_thermostat_schedule?: {
14936
14943
  climate_preset_key: string;
14944
+ name: string | null;
14937
14945
  device_id: string;
14946
+ workspace_id: string;
14938
14947
  created_at: string;
14939
14948
  thermostat_schedule_id: string;
14940
14949
  starts_at: string;
@@ -14943,22 +14952,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14943
14952
  message: string;
14944
14953
  error_code: string;
14945
14954
  }[];
14946
- name?: string | undefined;
14947
14955
  max_override_period_minutes?: number | null | undefined;
14948
14956
  is_override_allowed?: boolean | undefined;
14949
14957
  } | null | undefined;
14950
14958
  thermostat_daily_programs?: {
14959
+ name: string | null;
14951
14960
  thermostat_daily_program_id: string;
14952
14961
  device_id: string;
14953
14962
  periods: {
14954
14963
  climate_preset_key: string;
14955
14964
  starts_at_time: string;
14956
14965
  }[];
14966
+ workspace_id: string;
14957
14967
  created_at: string;
14958
- name?: string | undefined;
14959
- }[] | null | undefined;
14968
+ }[] | undefined;
14960
14969
  thermostat_weekly_program?: {
14961
- device_id: string;
14962
14970
  created_at: string;
14963
14971
  monday_program_id: string | null;
14964
14972
  tuesday_program_id: string | null;
@@ -14989,7 +14997,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
14989
14997
  location_name?: string | undefined;
14990
14998
  timezone?: string | undefined;
14991
14999
  } | null;
14992
- workspace_id: string;
14993
15000
  is_managed: true;
14994
15001
  can_remotely_unlock?: boolean | undefined;
14995
15002
  can_remotely_lock?: boolean | undefined;
@@ -16743,12 +16750,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16743
16750
  active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
16744
16751
  thermostat_schedule_id: z.ZodString;
16745
16752
  device_id: z.ZodString;
16746
- name: z.ZodOptional<z.ZodString>;
16753
+ name: z.ZodNullable<z.ZodString>;
16747
16754
  climate_preset_key: z.ZodString;
16748
16755
  max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16749
16756
  starts_at: z.ZodString;
16750
16757
  is_override_allowed: z.ZodOptional<z.ZodBoolean>;
16751
16758
  ends_at: z.ZodString;
16759
+ workspace_id: z.ZodString;
16752
16760
  created_at: z.ZodString;
16753
16761
  errors: z.ZodArray<z.ZodObject<{
16754
16762
  error_code: z.ZodString;
@@ -16762,7 +16770,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16762
16770
  }>, "many">;
16763
16771
  }, "strip", z.ZodTypeAny, {
16764
16772
  climate_preset_key: string;
16773
+ name: string | null;
16765
16774
  device_id: string;
16775
+ workspace_id: string;
16766
16776
  created_at: string;
16767
16777
  thermostat_schedule_id: string;
16768
16778
  starts_at: string;
@@ -16771,12 +16781,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16771
16781
  message: string;
16772
16782
  error_code: string;
16773
16783
  }[];
16774
- name?: string | undefined;
16775
16784
  max_override_period_minutes?: number | null | undefined;
16776
16785
  is_override_allowed?: boolean | undefined;
16777
16786
  }, {
16778
16787
  climate_preset_key: string;
16788
+ name: string | null;
16779
16789
  device_id: string;
16790
+ workspace_id: string;
16780
16791
  created_at: string;
16781
16792
  thermostat_schedule_id: string;
16782
16793
  starts_at: string;
@@ -16785,14 +16796,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16785
16796
  message: string;
16786
16797
  error_code: string;
16787
16798
  }[];
16788
- name?: string | undefined;
16789
16799
  max_override_period_minutes?: number | null | undefined;
16790
16800
  is_override_allowed?: boolean | undefined;
16791
16801
  }>>>>;
16792
- 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<{
16793
16803
  thermostat_daily_program_id: z.ZodString;
16794
16804
  device_id: z.ZodString;
16795
- name: z.ZodOptional<z.ZodString>;
16805
+ name: z.ZodNullable<z.ZodString>;
16796
16806
  periods: z.ZodArray<z.ZodObject<{
16797
16807
  starts_at_time: z.ZodString;
16798
16808
  climate_preset_key: z.ZodString;
@@ -16803,28 +16813,30 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16803
16813
  climate_preset_key: string;
16804
16814
  starts_at_time: string;
16805
16815
  }>, "many">;
16816
+ workspace_id: z.ZodString;
16806
16817
  created_at: z.ZodString;
16807
16818
  }, "strip", z.ZodTypeAny, {
16819
+ name: string | null;
16808
16820
  thermostat_daily_program_id: string;
16809
16821
  device_id: string;
16810
16822
  periods: {
16811
16823
  climate_preset_key: string;
16812
16824
  starts_at_time: string;
16813
16825
  }[];
16826
+ workspace_id: string;
16814
16827
  created_at: string;
16815
- name?: string | undefined;
16816
16828
  }, {
16829
+ name: string | null;
16817
16830
  thermostat_daily_program_id: string;
16818
16831
  device_id: string;
16819
16832
  periods: {
16820
16833
  climate_preset_key: string;
16821
16834
  starts_at_time: string;
16822
16835
  }[];
16836
+ workspace_id: string;
16823
16837
  created_at: string;
16824
- name?: string | undefined;
16825
- }>, "many">>>>;
16826
- thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
16827
- device_id: z.ZodString;
16838
+ }>, "many">>>;
16839
+ thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
16828
16840
  monday_program_id: z.ZodNullable<z.ZodString>;
16829
16841
  tuesday_program_id: z.ZodNullable<z.ZodString>;
16830
16842
  wednesday_program_id: z.ZodNullable<z.ZodString>;
@@ -16834,7 +16846,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16834
16846
  sunday_program_id: z.ZodNullable<z.ZodString>;
16835
16847
  created_at: z.ZodString;
16836
16848
  }, "strip", z.ZodTypeAny, {
16837
- device_id: string;
16838
16849
  created_at: string;
16839
16850
  monday_program_id: string | null;
16840
16851
  tuesday_program_id: string | null;
@@ -16844,7 +16855,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16844
16855
  saturday_program_id: string | null;
16845
16856
  sunday_program_id: string | null;
16846
16857
  }, {
16847
- device_id: string;
16848
16858
  created_at: string;
16849
16859
  monday_program_id: string | null;
16850
16860
  tuesday_program_id: string | null;
@@ -16939,7 +16949,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16939
16949
  fallback_climate_preset_key?: string | null | undefined;
16940
16950
  active_thermostat_schedule?: {
16941
16951
  climate_preset_key: string;
16952
+ name: string | null;
16942
16953
  device_id: string;
16954
+ workspace_id: string;
16943
16955
  created_at: string;
16944
16956
  thermostat_schedule_id: string;
16945
16957
  starts_at: string;
@@ -16948,131 +16960,131 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
16948
16960
  message: string;
16949
16961
  error_code: string;
16950
16962
  }[];
16951
- name?: string | undefined;
16952
16963
  max_override_period_minutes?: number | null | undefined;
16953
16964
  is_override_allowed?: boolean | undefined;
16954
16965
  } | null | undefined;
16955
16966
  thermostat_daily_programs?: {
16967
+ name: string | null;
16956
16968
  thermostat_daily_program_id: string;
16957
16969
  device_id: string;
16958
16970
  periods: {
16959
16971
  climate_preset_key: string;
16960
16972
  starts_at_time: string;
16961
16973
  }[];
16974
+ workspace_id: string;
16962
16975
  created_at: string;
16963
- name?: string | undefined;
16964
- }[] | null | undefined;
16965
- thermostat_weekly_program?: {
16966
- device_id: string;
16967
- created_at: string;
16968
- monday_program_id: string | null;
16969
- tuesday_program_id: string | null;
16970
- wednesday_program_id: string | null;
16971
- thursday_program_id: string | null;
16972
- friday_program_id: string | null;
16973
- saturday_program_id: string | null;
16974
- sunday_program_id: string | null;
16975
- } | null | undefined;
16976
- min_cooling_set_point_celsius?: number | undefined;
16977
- min_cooling_set_point_fahrenheit?: number | undefined;
16978
- max_cooling_set_point_celsius?: number | undefined;
16979
- max_cooling_set_point_fahrenheit?: number | undefined;
16980
- min_heating_set_point_celsius?: number | undefined;
16981
- min_heating_set_point_fahrenheit?: number | undefined;
16982
- max_heating_set_point_celsius?: number | undefined;
16983
- max_heating_set_point_fahrenheit?: number | undefined;
16984
- min_heating_cooling_delta_celsius?: number | undefined;
16985
- min_heating_cooling_delta_fahrenheit?: number | undefined;
16986
- temperature_threshold?: {
16987
- lower_limit_celsius: number | null;
16988
- lower_limit_fahrenheit: number | null;
16989
- upper_limit_celsius: number | null;
16990
- upper_limit_fahrenheit: number | null;
16991
- } | undefined;
16992
- }, {
16993
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
16994
- temperature_fahrenheit?: number | undefined;
16995
- temperature_celsius?: number | undefined;
16996
- relative_humidity?: number | undefined;
16997
- available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
16998
- available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
16999
- is_heating?: boolean | undefined;
17000
- is_cooling?: boolean | undefined;
17001
- is_fan_running?: boolean | undefined;
17002
- is_temporary_manual_override_active?: boolean | undefined;
17003
- current_climate_setting?: {
17004
- climate_preset_key?: string | undefined;
17005
- can_edit?: boolean | undefined;
17006
- can_delete?: boolean | undefined;
17007
- can_program?: boolean | undefined;
17008
- name?: string | null | undefined;
17009
- display_name?: string | undefined;
17010
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
17011
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
17012
- cooling_set_point_celsius?: number | undefined;
17013
- heating_set_point_celsius?: number | undefined;
17014
- cooling_set_point_fahrenheit?: number | undefined;
17015
- heating_set_point_fahrenheit?: number | undefined;
17016
- manual_override_allowed?: boolean | undefined;
17017
- } | undefined;
17018
- default_climate_setting?: {
17019
- climate_preset_key?: string | undefined;
17020
- can_edit?: boolean | undefined;
17021
- can_delete?: boolean | undefined;
17022
- can_program?: boolean | undefined;
17023
- name?: string | null | undefined;
17024
- display_name?: string | undefined;
17025
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
17026
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
17027
- cooling_set_point_celsius?: number | undefined;
17028
- heating_set_point_celsius?: number | undefined;
17029
- cooling_set_point_fahrenheit?: number | undefined;
17030
- heating_set_point_fahrenheit?: number | undefined;
17031
- manual_override_allowed?: boolean | undefined;
17032
- } | undefined;
17033
- available_climate_presets?: {
17034
- climate_preset_key: string;
17035
- can_edit: boolean;
17036
- can_delete: boolean;
17037
- can_program: boolean;
17038
- display_name: string;
17039
- manual_override_allowed: boolean;
17040
- name?: string | null | undefined;
17041
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
17042
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
17043
- cooling_set_point_celsius?: number | undefined;
17044
- heating_set_point_celsius?: number | undefined;
17045
- cooling_set_point_fahrenheit?: number | undefined;
17046
- heating_set_point_fahrenheit?: number | undefined;
17047
- }[] | undefined;
17048
- fallback_climate_preset_key?: string | null | undefined;
17049
- active_thermostat_schedule?: {
17050
- climate_preset_key: string;
17051
- device_id: string;
17052
- created_at: string;
17053
- thermostat_schedule_id: string;
17054
- starts_at: string;
17055
- ends_at: string;
17056
- errors: {
17057
- message: string;
17058
- error_code: string;
17059
- }[];
17060
- name?: string | undefined;
17061
- max_override_period_minutes?: number | null | undefined;
17062
- is_override_allowed?: boolean | undefined;
17063
- } | null | undefined;
17064
- thermostat_daily_programs?: {
17065
- thermostat_daily_program_id: string;
17066
- device_id: string;
17067
- periods: {
17068
- climate_preset_key: string;
17069
- starts_at_time: string;
17070
- }[];
17071
- created_at: string;
17072
- name?: string | undefined;
17073
- }[] | null | undefined;
16976
+ }[] | undefined;
17074
16977
  thermostat_weekly_program?: {
16978
+ created_at: string;
16979
+ monday_program_id: string | null;
16980
+ tuesday_program_id: string | null;
16981
+ wednesday_program_id: string | null;
16982
+ thursday_program_id: string | null;
16983
+ friday_program_id: string | null;
16984
+ saturday_program_id: string | null;
16985
+ sunday_program_id: string | null;
16986
+ } | null | undefined;
16987
+ min_cooling_set_point_celsius?: number | undefined;
16988
+ min_cooling_set_point_fahrenheit?: number | undefined;
16989
+ max_cooling_set_point_celsius?: number | undefined;
16990
+ max_cooling_set_point_fahrenheit?: number | undefined;
16991
+ min_heating_set_point_celsius?: number | undefined;
16992
+ min_heating_set_point_fahrenheit?: number | undefined;
16993
+ max_heating_set_point_celsius?: number | undefined;
16994
+ max_heating_set_point_fahrenheit?: number | undefined;
16995
+ min_heating_cooling_delta_celsius?: number | undefined;
16996
+ min_heating_cooling_delta_fahrenheit?: number | undefined;
16997
+ temperature_threshold?: {
16998
+ lower_limit_celsius: number | null;
16999
+ lower_limit_fahrenheit: number | null;
17000
+ upper_limit_celsius: number | null;
17001
+ upper_limit_fahrenheit: number | null;
17002
+ } | undefined;
17003
+ }, {
17004
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
17005
+ temperature_fahrenheit?: number | undefined;
17006
+ temperature_celsius?: number | undefined;
17007
+ relative_humidity?: number | undefined;
17008
+ available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
17009
+ available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
17010
+ is_heating?: boolean | undefined;
17011
+ is_cooling?: boolean | undefined;
17012
+ is_fan_running?: boolean | undefined;
17013
+ is_temporary_manual_override_active?: boolean | undefined;
17014
+ current_climate_setting?: {
17015
+ climate_preset_key?: string | undefined;
17016
+ can_edit?: boolean | undefined;
17017
+ can_delete?: boolean | undefined;
17018
+ can_program?: boolean | undefined;
17019
+ name?: string | null | undefined;
17020
+ display_name?: string | undefined;
17021
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
17022
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
17023
+ cooling_set_point_celsius?: number | undefined;
17024
+ heating_set_point_celsius?: number | undefined;
17025
+ cooling_set_point_fahrenheit?: number | undefined;
17026
+ heating_set_point_fahrenheit?: number | undefined;
17027
+ manual_override_allowed?: boolean | undefined;
17028
+ } | undefined;
17029
+ default_climate_setting?: {
17030
+ climate_preset_key?: string | undefined;
17031
+ can_edit?: boolean | undefined;
17032
+ can_delete?: boolean | undefined;
17033
+ can_program?: boolean | undefined;
17034
+ name?: string | null | undefined;
17035
+ display_name?: string | undefined;
17036
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
17037
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
17038
+ cooling_set_point_celsius?: number | undefined;
17039
+ heating_set_point_celsius?: number | undefined;
17040
+ cooling_set_point_fahrenheit?: number | undefined;
17041
+ heating_set_point_fahrenheit?: number | undefined;
17042
+ manual_override_allowed?: boolean | undefined;
17043
+ } | undefined;
17044
+ available_climate_presets?: {
17045
+ climate_preset_key: string;
17046
+ can_edit: boolean;
17047
+ can_delete: boolean;
17048
+ can_program: boolean;
17049
+ display_name: string;
17050
+ manual_override_allowed: boolean;
17051
+ name?: string | null | undefined;
17052
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
17053
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
17054
+ cooling_set_point_celsius?: number | undefined;
17055
+ heating_set_point_celsius?: number | undefined;
17056
+ cooling_set_point_fahrenheit?: number | undefined;
17057
+ heating_set_point_fahrenheit?: number | undefined;
17058
+ }[] | undefined;
17059
+ fallback_climate_preset_key?: string | null | undefined;
17060
+ active_thermostat_schedule?: {
17061
+ climate_preset_key: string;
17062
+ name: string | null;
17063
+ device_id: string;
17064
+ workspace_id: string;
17065
+ created_at: string;
17066
+ thermostat_schedule_id: string;
17067
+ starts_at: string;
17068
+ ends_at: string;
17069
+ errors: {
17070
+ message: string;
17071
+ error_code: string;
17072
+ }[];
17073
+ max_override_period_minutes?: number | null | undefined;
17074
+ is_override_allowed?: boolean | undefined;
17075
+ } | null | undefined;
17076
+ thermostat_daily_programs?: {
17077
+ name: string | null;
17078
+ thermostat_daily_program_id: string;
17075
17079
  device_id: string;
17080
+ periods: {
17081
+ climate_preset_key: string;
17082
+ starts_at_time: string;
17083
+ }[];
17084
+ workspace_id: string;
17085
+ created_at: string;
17086
+ }[] | undefined;
17087
+ thermostat_weekly_program?: {
17076
17088
  created_at: string;
17077
17089
  monday_program_id: string | null;
17078
17090
  tuesday_program_id: string | null;
@@ -17690,7 +17702,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17690
17702
  can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
17691
17703
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
17692
17704
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
17693
- }>>, "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">, {
17694
17706
  is_managed: z.ZodLiteral<false>;
17695
17707
  properties: z.ZodObject<Pick<{
17696
17708
  online: z.ZodBoolean;
@@ -17841,6 +17853,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
17841
17853
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
17842
17854
  }>>, "strip", z.ZodTypeAny, {
17843
17855
  device_id: string;
17856
+ workspace_id: string;
17844
17857
  created_at: string;
17845
17858
  errors: ({
17846
17859
  message: string;
@@ -18047,7 +18060,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18047
18060
  location_name?: string | undefined;
18048
18061
  timezone?: string | undefined;
18049
18062
  } | null;
18050
- workspace_id: string;
18051
18063
  is_managed: false;
18052
18064
  can_remotely_unlock?: boolean | undefined;
18053
18065
  can_remotely_lock?: boolean | undefined;
@@ -18062,6 +18074,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18062
18074
  can_simulate_disconnection?: boolean | undefined;
18063
18075
  }, {
18064
18076
  device_id: string;
18077
+ workspace_id: string;
18065
18078
  created_at: string;
18066
18079
  errors: ({
18067
18080
  message: string;
@@ -18268,7 +18281,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
18268
18281
  location_name?: string | undefined;
18269
18282
  timezone?: string | undefined;
18270
18283
  } | null;
18271
- workspace_id: string;
18272
18284
  is_managed: false;
18273
18285
  can_remotely_unlock?: boolean | undefined;
18274
18286
  can_remotely_lock?: boolean | undefined;
@@ -18297,18 +18309,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18297
18309
  event_type: z.ZodLiteral<"access_code.created">;
18298
18310
  }>, "strip", z.ZodTypeAny, {
18299
18311
  device_id: string;
18312
+ workspace_id: string;
18300
18313
  created_at: string;
18301
18314
  connected_account_id: string;
18302
- workspace_id: string;
18303
18315
  access_code_id: string;
18304
18316
  event_id: string;
18305
18317
  occurred_at: string;
18306
18318
  event_type: "access_code.created";
18307
18319
  }, {
18308
18320
  device_id: string;
18321
+ workspace_id: string;
18309
18322
  created_at: string;
18310
18323
  connected_account_id: string;
18311
- workspace_id: string;
18312
18324
  access_code_id: string;
18313
18325
  event_id: string;
18314
18326
  occurred_at: string;
@@ -18326,18 +18338,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18326
18338
  event_type: z.ZodLiteral<"access_code.changed">;
18327
18339
  }>, "strip", z.ZodTypeAny, {
18328
18340
  device_id: string;
18341
+ workspace_id: string;
18329
18342
  created_at: string;
18330
18343
  connected_account_id: string;
18331
- workspace_id: string;
18332
18344
  access_code_id: string;
18333
18345
  event_id: string;
18334
18346
  occurred_at: string;
18335
18347
  event_type: "access_code.changed";
18336
18348
  }, {
18337
18349
  device_id: string;
18350
+ workspace_id: string;
18338
18351
  created_at: string;
18339
18352
  connected_account_id: string;
18340
- workspace_id: string;
18341
18353
  access_code_id: string;
18342
18354
  event_id: string;
18343
18355
  occurred_at: string;
@@ -18357,9 +18369,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18357
18369
  }>, "strip", z.ZodTypeAny, {
18358
18370
  code: string;
18359
18371
  device_id: string;
18372
+ workspace_id: string;
18360
18373
  created_at: string;
18361
18374
  connected_account_id: string;
18362
- workspace_id: string;
18363
18375
  access_code_id: string;
18364
18376
  event_id: string;
18365
18377
  occurred_at: string;
@@ -18367,9 +18379,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18367
18379
  }, {
18368
18380
  code: string;
18369
18381
  device_id: string;
18382
+ workspace_id: string;
18370
18383
  created_at: string;
18371
18384
  connected_account_id: string;
18372
- workspace_id: string;
18373
18385
  access_code_id: string;
18374
18386
  event_id: string;
18375
18387
  occurred_at: string;
@@ -18389,9 +18401,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18389
18401
  }>, "strip", z.ZodTypeAny, {
18390
18402
  code: string;
18391
18403
  device_id: string;
18404
+ workspace_id: string;
18392
18405
  created_at: string;
18393
18406
  connected_account_id: string;
18394
- workspace_id: string;
18395
18407
  access_code_id: string;
18396
18408
  event_id: string;
18397
18409
  occurred_at: string;
@@ -18399,9 +18411,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18399
18411
  }, {
18400
18412
  code: string;
18401
18413
  device_id: string;
18414
+ workspace_id: string;
18402
18415
  created_at: string;
18403
18416
  connected_account_id: string;
18404
- workspace_id: string;
18405
18417
  access_code_id: string;
18406
18418
  event_id: string;
18407
18419
  occurred_at: string;
@@ -18419,18 +18431,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18419
18431
  event_type: z.ZodLiteral<"access_code.removed_from_device">;
18420
18432
  }>, "strip", z.ZodTypeAny, {
18421
18433
  device_id: string;
18434
+ workspace_id: string;
18422
18435
  created_at: string;
18423
18436
  connected_account_id: string;
18424
- workspace_id: string;
18425
18437
  access_code_id: string;
18426
18438
  event_id: string;
18427
18439
  occurred_at: string;
18428
18440
  event_type: "access_code.removed_from_device";
18429
18441
  }, {
18430
18442
  device_id: string;
18443
+ workspace_id: string;
18431
18444
  created_at: string;
18432
18445
  connected_account_id: string;
18433
- workspace_id: string;
18434
18446
  access_code_id: string;
18435
18447
  event_id: string;
18436
18448
  occurred_at: string;
@@ -18448,18 +18460,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18448
18460
  event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
18449
18461
  }>, "strip", z.ZodTypeAny, {
18450
18462
  device_id: string;
18463
+ workspace_id: string;
18451
18464
  created_at: string;
18452
18465
  connected_account_id: string;
18453
- workspace_id: string;
18454
18466
  access_code_id: string;
18455
18467
  event_id: string;
18456
18468
  occurred_at: string;
18457
18469
  event_type: "access_code.delay_in_setting_on_device";
18458
18470
  }, {
18459
18471
  device_id: string;
18472
+ workspace_id: string;
18460
18473
  created_at: string;
18461
18474
  connected_account_id: string;
18462
- workspace_id: string;
18463
18475
  access_code_id: string;
18464
18476
  event_id: string;
18465
18477
  occurred_at: string;
@@ -18477,18 +18489,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18477
18489
  event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
18478
18490
  }>, "strip", z.ZodTypeAny, {
18479
18491
  device_id: string;
18492
+ workspace_id: string;
18480
18493
  created_at: string;
18481
18494
  connected_account_id: string;
18482
- workspace_id: string;
18483
18495
  access_code_id: string;
18484
18496
  event_id: string;
18485
18497
  occurred_at: string;
18486
18498
  event_type: "access_code.failed_to_set_on_device";
18487
18499
  }, {
18488
18500
  device_id: string;
18501
+ workspace_id: string;
18489
18502
  created_at: string;
18490
18503
  connected_account_id: string;
18491
- workspace_id: string;
18492
18504
  access_code_id: string;
18493
18505
  event_id: string;
18494
18506
  occurred_at: string;
@@ -18508,9 +18520,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18508
18520
  }>, "strip", z.ZodTypeAny, {
18509
18521
  code: string | null;
18510
18522
  device_id: string;
18523
+ workspace_id: string;
18511
18524
  created_at: string;
18512
18525
  connected_account_id: string;
18513
- workspace_id: string;
18514
18526
  access_code_id: string;
18515
18527
  event_id: string;
18516
18528
  occurred_at: string;
@@ -18518,9 +18530,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18518
18530
  }, {
18519
18531
  code: string | null;
18520
18532
  device_id: string;
18533
+ workspace_id: string;
18521
18534
  created_at: string;
18522
18535
  connected_account_id: string;
18523
- workspace_id: string;
18524
18536
  access_code_id: string;
18525
18537
  event_id: string;
18526
18538
  occurred_at: string;
@@ -18538,18 +18550,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18538
18550
  event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
18539
18551
  }>, "strip", z.ZodTypeAny, {
18540
18552
  device_id: string;
18553
+ workspace_id: string;
18541
18554
  created_at: string;
18542
18555
  connected_account_id: string;
18543
- workspace_id: string;
18544
18556
  access_code_id: string;
18545
18557
  event_id: string;
18546
18558
  occurred_at: string;
18547
18559
  event_type: "access_code.delay_in_removing_from_device";
18548
18560
  }, {
18549
18561
  device_id: string;
18562
+ workspace_id: string;
18550
18563
  created_at: string;
18551
18564
  connected_account_id: string;
18552
- workspace_id: string;
18553
18565
  access_code_id: string;
18554
18566
  event_id: string;
18555
18567
  occurred_at: string;
@@ -18567,18 +18579,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18567
18579
  event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
18568
18580
  }>, "strip", z.ZodTypeAny, {
18569
18581
  device_id: string;
18582
+ workspace_id: string;
18570
18583
  created_at: string;
18571
18584
  connected_account_id: string;
18572
- workspace_id: string;
18573
18585
  access_code_id: string;
18574
18586
  event_id: string;
18575
18587
  occurred_at: string;
18576
18588
  event_type: "access_code.failed_to_remove_from_device";
18577
18589
  }, {
18578
18590
  device_id: string;
18591
+ workspace_id: string;
18579
18592
  created_at: string;
18580
18593
  connected_account_id: string;
18581
- workspace_id: string;
18582
18594
  access_code_id: string;
18583
18595
  event_id: string;
18584
18596
  occurred_at: string;
@@ -18596,18 +18608,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18596
18608
  event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
18597
18609
  }>, "strip", z.ZodTypeAny, {
18598
18610
  device_id: string;
18611
+ workspace_id: string;
18599
18612
  created_at: string;
18600
18613
  connected_account_id: string;
18601
- workspace_id: string;
18602
18614
  access_code_id: string;
18603
18615
  event_id: string;
18604
18616
  occurred_at: string;
18605
18617
  event_type: "access_code.modified_external_to_seam";
18606
18618
  }, {
18607
18619
  device_id: string;
18620
+ workspace_id: string;
18608
18621
  created_at: string;
18609
18622
  connected_account_id: string;
18610
- workspace_id: string;
18611
18623
  access_code_id: string;
18612
18624
  event_id: string;
18613
18625
  occurred_at: string;
@@ -18625,18 +18637,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18625
18637
  event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
18626
18638
  }>, "strip", z.ZodTypeAny, {
18627
18639
  device_id: string;
18640
+ workspace_id: string;
18628
18641
  created_at: string;
18629
18642
  connected_account_id: string;
18630
- workspace_id: string;
18631
18643
  access_code_id: string;
18632
18644
  event_id: string;
18633
18645
  occurred_at: string;
18634
18646
  event_type: "access_code.deleted_external_to_seam";
18635
18647
  }, {
18636
18648
  device_id: string;
18649
+ workspace_id: string;
18637
18650
  created_at: string;
18638
18651
  connected_account_id: string;
18639
- workspace_id: string;
18640
18652
  access_code_id: string;
18641
18653
  event_id: string;
18642
18654
  occurred_at: string;
@@ -18655,9 +18667,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18655
18667
  backup_access_code_id: z.ZodString;
18656
18668
  }>, "strip", z.ZodTypeAny, {
18657
18669
  device_id: string;
18670
+ workspace_id: string;
18658
18671
  created_at: string;
18659
18672
  connected_account_id: string;
18660
- workspace_id: string;
18661
18673
  access_code_id: string;
18662
18674
  event_id: string;
18663
18675
  occurred_at: string;
@@ -18665,9 +18677,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18665
18677
  backup_access_code_id: string;
18666
18678
  }, {
18667
18679
  device_id: string;
18680
+ workspace_id: string;
18668
18681
  created_at: string;
18669
18682
  connected_account_id: string;
18670
- workspace_id: string;
18671
18683
  access_code_id: string;
18672
18684
  event_id: string;
18673
18685
  occurred_at: string;
@@ -18686,18 +18698,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18686
18698
  event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
18687
18699
  }>, "strip", z.ZodTypeAny, {
18688
18700
  device_id: string;
18701
+ workspace_id: string;
18689
18702
  created_at: string;
18690
18703
  connected_account_id: string;
18691
- workspace_id: string;
18692
18704
  access_code_id: string;
18693
18705
  event_id: string;
18694
18706
  occurred_at: string;
18695
18707
  event_type: "access_code.unmanaged.converted_to_managed";
18696
18708
  }, {
18697
18709
  device_id: string;
18710
+ workspace_id: string;
18698
18711
  created_at: string;
18699
18712
  connected_account_id: string;
18700
- workspace_id: string;
18701
18713
  access_code_id: string;
18702
18714
  event_id: string;
18703
18715
  occurred_at: string;
@@ -18715,18 +18727,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18715
18727
  event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
18716
18728
  }>, "strip", z.ZodTypeAny, {
18717
18729
  device_id: string;
18730
+ workspace_id: string;
18718
18731
  created_at: string;
18719
18732
  connected_account_id: string;
18720
- workspace_id: string;
18721
18733
  access_code_id: string;
18722
18734
  event_id: string;
18723
18735
  occurred_at: string;
18724
18736
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
18725
18737
  }, {
18726
18738
  device_id: string;
18739
+ workspace_id: string;
18727
18740
  created_at: string;
18728
18741
  connected_account_id: string;
18729
- workspace_id: string;
18730
18742
  access_code_id: string;
18731
18743
  event_id: string;
18732
18744
  occurred_at: string;
@@ -18744,18 +18756,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18744
18756
  event_type: z.ZodLiteral<"access_code.unmanaged.created">;
18745
18757
  }>, "strip", z.ZodTypeAny, {
18746
18758
  device_id: string;
18759
+ workspace_id: string;
18747
18760
  created_at: string;
18748
18761
  connected_account_id: string;
18749
- workspace_id: string;
18750
18762
  access_code_id: string;
18751
18763
  event_id: string;
18752
18764
  occurred_at: string;
18753
18765
  event_type: "access_code.unmanaged.created";
18754
18766
  }, {
18755
18767
  device_id: string;
18768
+ workspace_id: string;
18756
18769
  created_at: string;
18757
18770
  connected_account_id: string;
18758
- workspace_id: string;
18759
18771
  access_code_id: string;
18760
18772
  event_id: string;
18761
18773
  occurred_at: string;
@@ -18773,18 +18785,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18773
18785
  event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
18774
18786
  }>, "strip", z.ZodTypeAny, {
18775
18787
  device_id: string;
18788
+ workspace_id: string;
18776
18789
  created_at: string;
18777
18790
  connected_account_id: string;
18778
- workspace_id: string;
18779
18791
  access_code_id: string;
18780
18792
  event_id: string;
18781
18793
  occurred_at: string;
18782
18794
  event_type: "access_code.unmanaged.removed";
18783
18795
  }, {
18784
18796
  device_id: string;
18797
+ workspace_id: string;
18785
18798
  created_at: string;
18786
18799
  connected_account_id: string;
18787
- workspace_id: string;
18788
18800
  access_code_id: string;
18789
18801
  event_id: string;
18790
18802
  occurred_at: string;
@@ -18799,15 +18811,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18799
18811
  }>, {
18800
18812
  event_type: z.ZodLiteral<"access_grant.created">;
18801
18813
  }>, "strip", z.ZodTypeAny, {
18802
- created_at: string;
18803
18814
  workspace_id: string;
18815
+ created_at: string;
18804
18816
  access_grant_id: string;
18805
18817
  event_id: string;
18806
18818
  occurred_at: string;
18807
18819
  event_type: "access_grant.created";
18808
18820
  }, {
18809
- created_at: string;
18810
18821
  workspace_id: string;
18822
+ created_at: string;
18811
18823
  access_grant_id: string;
18812
18824
  event_id: string;
18813
18825
  occurred_at: string;
@@ -18822,15 +18834,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18822
18834
  }>, {
18823
18835
  event_type: z.ZodLiteral<"access_grant.deleted">;
18824
18836
  }>, "strip", z.ZodTypeAny, {
18825
- created_at: string;
18826
18837
  workspace_id: string;
18838
+ created_at: string;
18827
18839
  access_grant_id: string;
18828
18840
  event_id: string;
18829
18841
  occurred_at: string;
18830
18842
  event_type: "access_grant.deleted";
18831
18843
  }, {
18832
- created_at: string;
18833
18844
  workspace_id: string;
18845
+ created_at: string;
18834
18846
  access_grant_id: string;
18835
18847
  event_id: string;
18836
18848
  occurred_at: string;
@@ -18845,15 +18857,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18845
18857
  }>, {
18846
18858
  event_type: z.ZodLiteral<"access_grant.access_granted_to_all_doors">;
18847
18859
  }>, "strip", z.ZodTypeAny, {
18848
- created_at: string;
18849
18860
  workspace_id: string;
18861
+ created_at: string;
18850
18862
  access_grant_id: string;
18851
18863
  event_id: string;
18852
18864
  occurred_at: string;
18853
18865
  event_type: "access_grant.access_granted_to_all_doors";
18854
18866
  }, {
18855
- created_at: string;
18856
18867
  workspace_id: string;
18868
+ created_at: string;
18857
18869
  access_grant_id: string;
18858
18870
  event_id: string;
18859
18871
  occurred_at: string;
@@ -18869,16 +18881,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18869
18881
  event_type: z.ZodLiteral<"access_grant.access_granted_to_door">;
18870
18882
  acs_entrance_id: z.ZodString;
18871
18883
  }>, "strip", z.ZodTypeAny, {
18872
- created_at: string;
18873
18884
  workspace_id: string;
18885
+ created_at: string;
18874
18886
  access_grant_id: string;
18875
18887
  acs_entrance_id: string;
18876
18888
  event_id: string;
18877
18889
  occurred_at: string;
18878
18890
  event_type: "access_grant.access_granted_to_door";
18879
18891
  }, {
18880
- created_at: string;
18881
18892
  workspace_id: string;
18893
+ created_at: string;
18882
18894
  access_grant_id: string;
18883
18895
  acs_entrance_id: string;
18884
18896
  event_id: string;
@@ -18895,16 +18907,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18895
18907
  event_type: z.ZodLiteral<"access_grant.access_to_door_lost">;
18896
18908
  acs_entrance_id: z.ZodString;
18897
18909
  }>, "strip", z.ZodTypeAny, {
18898
- created_at: string;
18899
18910
  workspace_id: string;
18911
+ created_at: string;
18900
18912
  access_grant_id: string;
18901
18913
  acs_entrance_id: string;
18902
18914
  event_id: string;
18903
18915
  occurred_at: string;
18904
18916
  event_type: "access_grant.access_to_door_lost";
18905
18917
  }, {
18906
- created_at: string;
18907
18918
  workspace_id: string;
18919
+ created_at: string;
18908
18920
  access_grant_id: string;
18909
18921
  acs_entrance_id: string;
18910
18922
  event_id: string;
@@ -18920,15 +18932,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18920
18932
  }>, {
18921
18933
  event_type: z.ZodLiteral<"access_method.issued">;
18922
18934
  }>, "strip", z.ZodTypeAny, {
18923
- created_at: string;
18924
18935
  workspace_id: string;
18936
+ created_at: string;
18925
18937
  access_method_id: string;
18926
18938
  event_id: string;
18927
18939
  occurred_at: string;
18928
18940
  event_type: "access_method.issued";
18929
18941
  }, {
18930
- created_at: string;
18931
18942
  workspace_id: string;
18943
+ created_at: string;
18932
18944
  access_method_id: string;
18933
18945
  event_id: string;
18934
18946
  occurred_at: string;
@@ -18943,15 +18955,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18943
18955
  }>, {
18944
18956
  event_type: z.ZodLiteral<"access_method.revoked">;
18945
18957
  }>, "strip", z.ZodTypeAny, {
18946
- created_at: string;
18947
18958
  workspace_id: string;
18959
+ created_at: string;
18948
18960
  access_method_id: string;
18949
18961
  event_id: string;
18950
18962
  occurred_at: string;
18951
18963
  event_type: "access_method.revoked";
18952
18964
  }, {
18953
- created_at: string;
18954
18965
  workspace_id: string;
18966
+ created_at: string;
18955
18967
  access_method_id: string;
18956
18968
  event_id: string;
18957
18969
  occurred_at: string;
@@ -18966,15 +18978,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18966
18978
  }>, {
18967
18979
  event_type: z.ZodLiteral<"access_method.card_encoding_required">;
18968
18980
  }>, "strip", z.ZodTypeAny, {
18969
- created_at: string;
18970
18981
  workspace_id: string;
18982
+ created_at: string;
18971
18983
  access_method_id: string;
18972
18984
  event_id: string;
18973
18985
  occurred_at: string;
18974
18986
  event_type: "access_method.card_encoding_required";
18975
18987
  }, {
18976
- created_at: string;
18977
18988
  workspace_id: string;
18989
+ created_at: string;
18978
18990
  access_method_id: string;
18979
18991
  event_id: string;
18980
18992
  occurred_at: string;
@@ -18990,16 +19002,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18990
19002
  }>, {}>, {
18991
19003
  event_type: z.ZodLiteral<"acs_system.connected">;
18992
19004
  }>, "strip", z.ZodTypeAny, {
18993
- created_at: string;
18994
19005
  workspace_id: string;
19006
+ created_at: string;
18995
19007
  acs_system_id: string;
18996
19008
  event_id: string;
18997
19009
  occurred_at: string;
18998
19010
  event_type: "acs_system.connected";
18999
19011
  connected_account_id?: string | undefined;
19000
19012
  }, {
19001
- created_at: string;
19002
19013
  workspace_id: string;
19014
+ created_at: string;
19003
19015
  acs_system_id: string;
19004
19016
  event_id: string;
19005
19017
  occurred_at: string;
@@ -19016,16 +19028,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19016
19028
  }>, {}>, {
19017
19029
  event_type: z.ZodLiteral<"acs_system.added">;
19018
19030
  }>, "strip", z.ZodTypeAny, {
19019
- created_at: string;
19020
19031
  workspace_id: string;
19032
+ created_at: string;
19021
19033
  acs_system_id: string;
19022
19034
  event_id: string;
19023
19035
  occurred_at: string;
19024
19036
  event_type: "acs_system.added";
19025
19037
  connected_account_id?: string | undefined;
19026
19038
  }, {
19027
- created_at: string;
19028
19039
  workspace_id: string;
19040
+ created_at: string;
19029
19041
  acs_system_id: string;
19030
19042
  event_id: string;
19031
19043
  occurred_at: string;
@@ -19042,16 +19054,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19042
19054
  }>, {}>, {
19043
19055
  event_type: z.ZodLiteral<"acs_system.disconnected">;
19044
19056
  }>, "strip", z.ZodTypeAny, {
19045
- created_at: string;
19046
19057
  workspace_id: string;
19058
+ created_at: string;
19047
19059
  acs_system_id: string;
19048
19060
  event_id: string;
19049
19061
  occurred_at: string;
19050
19062
  event_type: "acs_system.disconnected";
19051
19063
  connected_account_id?: string | undefined;
19052
19064
  }, {
19053
- created_at: string;
19054
19065
  workspace_id: string;
19066
+ created_at: string;
19055
19067
  acs_system_id: string;
19056
19068
  event_id: string;
19057
19069
  occurred_at: string;
@@ -19070,8 +19082,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19070
19082
  }>, {
19071
19083
  event_type: z.ZodLiteral<"acs_credential.deleted">;
19072
19084
  }>, "strip", z.ZodTypeAny, {
19073
- created_at: string;
19074
19085
  workspace_id: string;
19086
+ created_at: string;
19075
19087
  acs_system_id: string;
19076
19088
  acs_credential_id: string;
19077
19089
  event_id: string;
@@ -19079,8 +19091,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19079
19091
  event_type: "acs_credential.deleted";
19080
19092
  connected_account_id?: string | undefined;
19081
19093
  }, {
19082
- created_at: string;
19083
19094
  workspace_id: string;
19095
+ created_at: string;
19084
19096
  acs_system_id: string;
19085
19097
  acs_credential_id: string;
19086
19098
  event_id: string;
@@ -19100,8 +19112,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19100
19112
  }>, {
19101
19113
  event_type: z.ZodLiteral<"acs_credential.issued">;
19102
19114
  }>, "strip", z.ZodTypeAny, {
19103
- created_at: string;
19104
19115
  workspace_id: string;
19116
+ created_at: string;
19105
19117
  acs_system_id: string;
19106
19118
  acs_credential_id: string;
19107
19119
  event_id: string;
@@ -19109,8 +19121,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19109
19121
  event_type: "acs_credential.issued";
19110
19122
  connected_account_id?: string | undefined;
19111
19123
  }, {
19112
- created_at: string;
19113
19124
  workspace_id: string;
19125
+ created_at: string;
19114
19126
  acs_system_id: string;
19115
19127
  acs_credential_id: string;
19116
19128
  event_id: string;
@@ -19130,8 +19142,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19130
19142
  }>, {
19131
19143
  event_type: z.ZodLiteral<"acs_credential.reissued">;
19132
19144
  }>, "strip", z.ZodTypeAny, {
19133
- created_at: string;
19134
19145
  workspace_id: string;
19146
+ created_at: string;
19135
19147
  acs_system_id: string;
19136
19148
  acs_credential_id: string;
19137
19149
  event_id: string;
@@ -19139,8 +19151,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19139
19151
  event_type: "acs_credential.reissued";
19140
19152
  connected_account_id?: string | undefined;
19141
19153
  }, {
19142
- created_at: string;
19143
19154
  workspace_id: string;
19155
+ created_at: string;
19144
19156
  acs_system_id: string;
19145
19157
  acs_credential_id: string;
19146
19158
  event_id: string;
@@ -19160,8 +19172,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19160
19172
  }>, {
19161
19173
  event_type: z.ZodLiteral<"acs_credential.invalidated">;
19162
19174
  }>, "strip", z.ZodTypeAny, {
19163
- created_at: string;
19164
19175
  workspace_id: string;
19176
+ created_at: string;
19165
19177
  acs_system_id: string;
19166
19178
  acs_credential_id: string;
19167
19179
  event_id: string;
@@ -19169,8 +19181,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19169
19181
  event_type: "acs_credential.invalidated";
19170
19182
  connected_account_id?: string | undefined;
19171
19183
  }, {
19172
- created_at: string;
19173
19184
  workspace_id: string;
19185
+ created_at: string;
19174
19186
  acs_system_id: string;
19175
19187
  acs_credential_id: string;
19176
19188
  event_id: string;
@@ -19190,8 +19202,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19190
19202
  }>, {
19191
19203
  event_type: z.ZodLiteral<"acs_user.created">;
19192
19204
  }>, "strip", z.ZodTypeAny, {
19193
- created_at: string;
19194
19205
  workspace_id: string;
19206
+ created_at: string;
19195
19207
  acs_system_id: string;
19196
19208
  acs_user_id: string;
19197
19209
  event_id: string;
@@ -19199,8 +19211,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19199
19211
  event_type: "acs_user.created";
19200
19212
  connected_account_id?: string | undefined;
19201
19213
  }, {
19202
- created_at: string;
19203
19214
  workspace_id: string;
19215
+ created_at: string;
19204
19216
  acs_system_id: string;
19205
19217
  acs_user_id: string;
19206
19218
  event_id: string;
@@ -19220,8 +19232,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19220
19232
  }>, {
19221
19233
  event_type: z.ZodLiteral<"acs_user.deleted">;
19222
19234
  }>, "strip", z.ZodTypeAny, {
19223
- created_at: string;
19224
19235
  workspace_id: string;
19236
+ created_at: string;
19225
19237
  acs_system_id: string;
19226
19238
  acs_user_id: string;
19227
19239
  event_id: string;
@@ -19229,8 +19241,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19229
19241
  event_type: "acs_user.deleted";
19230
19242
  connected_account_id?: string | undefined;
19231
19243
  }, {
19232
- created_at: string;
19233
19244
  workspace_id: string;
19245
+ created_at: string;
19234
19246
  acs_system_id: string;
19235
19247
  acs_user_id: string;
19236
19248
  event_id: string;
@@ -19250,8 +19262,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19250
19262
  }>, {
19251
19263
  event_type: z.ZodLiteral<"acs_encoder.added">;
19252
19264
  }>, "strip", z.ZodTypeAny, {
19253
- created_at: string;
19254
19265
  workspace_id: string;
19266
+ created_at: string;
19255
19267
  acs_system_id: string;
19256
19268
  acs_encoder_id: string;
19257
19269
  event_id: string;
@@ -19259,8 +19271,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19259
19271
  event_type: "acs_encoder.added";
19260
19272
  connected_account_id?: string | undefined;
19261
19273
  }, {
19262
- created_at: string;
19263
19274
  workspace_id: string;
19275
+ created_at: string;
19264
19276
  acs_system_id: string;
19265
19277
  acs_encoder_id: string;
19266
19278
  event_id: string;
@@ -19280,8 +19292,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19280
19292
  }>, {
19281
19293
  event_type: z.ZodLiteral<"acs_encoder.removed">;
19282
19294
  }>, "strip", z.ZodTypeAny, {
19283
- created_at: string;
19284
19295
  workspace_id: string;
19296
+ created_at: string;
19285
19297
  acs_system_id: string;
19286
19298
  acs_encoder_id: string;
19287
19299
  event_id: string;
@@ -19289,8 +19301,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19289
19301
  event_type: "acs_encoder.removed";
19290
19302
  connected_account_id?: string | undefined;
19291
19303
  }, {
19292
- created_at: string;
19293
19304
  workspace_id: string;
19305
+ created_at: string;
19294
19306
  acs_system_id: string;
19295
19307
  acs_encoder_id: string;
19296
19308
  event_id: string;
@@ -19310,8 +19322,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19310
19322
  }>, {
19311
19323
  event_type: z.ZodLiteral<"acs_access_group.deleted">;
19312
19324
  }>, "strip", z.ZodTypeAny, {
19313
- created_at: string;
19314
19325
  workspace_id: string;
19326
+ created_at: string;
19315
19327
  acs_access_group_id: string;
19316
19328
  acs_system_id: string;
19317
19329
  event_id: string;
@@ -19319,8 +19331,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19319
19331
  event_type: "acs_access_group.deleted";
19320
19332
  connected_account_id?: string | undefined;
19321
19333
  }, {
19322
- created_at: string;
19323
19334
  workspace_id: string;
19335
+ created_at: string;
19324
19336
  acs_access_group_id: string;
19325
19337
  acs_system_id: string;
19326
19338
  event_id: string;
@@ -19340,8 +19352,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19340
19352
  }>, {
19341
19353
  event_type: z.ZodLiteral<"acs_entrance.added">;
19342
19354
  }>, "strip", z.ZodTypeAny, {
19343
- created_at: string;
19344
19355
  workspace_id: string;
19356
+ created_at: string;
19345
19357
  acs_system_id: string;
19346
19358
  acs_entrance_id: string;
19347
19359
  event_id: string;
@@ -19349,8 +19361,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19349
19361
  event_type: "acs_entrance.added";
19350
19362
  connected_account_id?: string | undefined;
19351
19363
  }, {
19352
- created_at: string;
19353
19364
  workspace_id: string;
19365
+ created_at: string;
19354
19366
  acs_system_id: string;
19355
19367
  acs_entrance_id: string;
19356
19368
  event_id: string;
@@ -19370,8 +19382,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19370
19382
  }>, {
19371
19383
  event_type: z.ZodLiteral<"acs_entrance.removed">;
19372
19384
  }>, "strip", z.ZodTypeAny, {
19373
- created_at: string;
19374
19385
  workspace_id: string;
19386
+ created_at: string;
19375
19387
  acs_system_id: string;
19376
19388
  acs_entrance_id: string;
19377
19389
  event_id: string;
@@ -19379,8 +19391,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19379
19391
  event_type: "acs_entrance.removed";
19380
19392
  connected_account_id?: string | undefined;
19381
19393
  }, {
19382
- created_at: string;
19383
19394
  workspace_id: string;
19395
+ created_at: string;
19384
19396
  acs_system_id: string;
19385
19397
  acs_entrance_id: string;
19386
19398
  event_id: string;
@@ -19397,15 +19409,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19397
19409
  }>, {
19398
19410
  event_type: z.ZodLiteral<"client_session.deleted">;
19399
19411
  }>, "strip", z.ZodTypeAny, {
19400
- created_at: string;
19401
19412
  workspace_id: string;
19413
+ created_at: string;
19402
19414
  client_session_id: string;
19403
19415
  event_id: string;
19404
19416
  occurred_at: string;
19405
19417
  event_type: "client_session.deleted";
19406
19418
  }, {
19407
- created_at: string;
19408
19419
  workspace_id: string;
19420
+ created_at: string;
19409
19421
  client_session_id: string;
19410
19422
  event_id: string;
19411
19423
  occurred_at: string;
@@ -19421,17 +19433,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19421
19433
  event_type: z.ZodLiteral<"connected_account.connected">;
19422
19434
  connect_webview_id: z.ZodString;
19423
19435
  }>, "strip", z.ZodTypeAny, {
19436
+ workspace_id: string;
19424
19437
  created_at: string;
19425
19438
  connected_account_id: string;
19426
- workspace_id: string;
19427
19439
  connect_webview_id: string;
19428
19440
  event_id: string;
19429
19441
  occurred_at: string;
19430
19442
  event_type: "connected_account.connected";
19431
19443
  }, {
19444
+ workspace_id: string;
19432
19445
  created_at: string;
19433
19446
  connected_account_id: string;
19434
- workspace_id: string;
19435
19447
  connect_webview_id: string;
19436
19448
  event_id: string;
19437
19449
  occurred_at: string;
@@ -19447,17 +19459,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19447
19459
  event_type: z.ZodLiteral<"connected_account.created">;
19448
19460
  connect_webview_id: z.ZodString;
19449
19461
  }>, "strip", z.ZodTypeAny, {
19462
+ workspace_id: string;
19450
19463
  created_at: string;
19451
19464
  connected_account_id: string;
19452
- workspace_id: string;
19453
19465
  connect_webview_id: string;
19454
19466
  event_id: string;
19455
19467
  occurred_at: string;
19456
19468
  event_type: "connected_account.created";
19457
19469
  }, {
19470
+ workspace_id: string;
19458
19471
  created_at: string;
19459
19472
  connected_account_id: string;
19460
- workspace_id: string;
19461
19473
  connect_webview_id: string;
19462
19474
  event_id: string;
19463
19475
  occurred_at: string;
@@ -19473,17 +19485,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19473
19485
  event_type: z.ZodLiteral<"connected_account.successful_login">;
19474
19486
  connect_webview_id: z.ZodString;
19475
19487
  }>, "strip", z.ZodTypeAny, {
19488
+ workspace_id: string;
19476
19489
  created_at: string;
19477
19490
  connected_account_id: string;
19478
- workspace_id: string;
19479
19491
  connect_webview_id: string;
19480
19492
  event_id: string;
19481
19493
  occurred_at: string;
19482
19494
  event_type: "connected_account.successful_login";
19483
19495
  }, {
19496
+ workspace_id: string;
19484
19497
  created_at: string;
19485
19498
  connected_account_id: string;
19486
- workspace_id: string;
19487
19499
  connect_webview_id: string;
19488
19500
  event_id: string;
19489
19501
  occurred_at: string;
@@ -19498,16 +19510,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19498
19510
  }>, {
19499
19511
  event_type: z.ZodLiteral<"connected_account.disconnected">;
19500
19512
  }>, "strip", z.ZodTypeAny, {
19513
+ workspace_id: string;
19501
19514
  created_at: string;
19502
19515
  connected_account_id: string;
19503
- workspace_id: string;
19504
19516
  event_id: string;
19505
19517
  occurred_at: string;
19506
19518
  event_type: "connected_account.disconnected";
19507
19519
  }, {
19520
+ workspace_id: string;
19508
19521
  created_at: string;
19509
19522
  connected_account_id: string;
19510
- workspace_id: string;
19511
19523
  event_id: string;
19512
19524
  occurred_at: string;
19513
19525
  event_type: "connected_account.disconnected";
@@ -19521,16 +19533,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19521
19533
  }>, {
19522
19534
  event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
19523
19535
  }>, "strip", z.ZodTypeAny, {
19536
+ workspace_id: string;
19524
19537
  created_at: string;
19525
19538
  connected_account_id: string;
19526
- workspace_id: string;
19527
19539
  event_id: string;
19528
19540
  occurred_at: string;
19529
19541
  event_type: "connected_account.completed_first_sync";
19530
19542
  }, {
19543
+ workspace_id: string;
19531
19544
  created_at: string;
19532
19545
  connected_account_id: string;
19533
- workspace_id: string;
19534
19546
  event_id: string;
19535
19547
  occurred_at: string;
19536
19548
  event_type: "connected_account.completed_first_sync";
@@ -19544,16 +19556,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19544
19556
  }>, {
19545
19557
  event_type: z.ZodLiteral<"connected_account.deleted">;
19546
19558
  }>, "strip", z.ZodTypeAny, {
19559
+ workspace_id: string;
19547
19560
  created_at: string;
19548
19561
  connected_account_id: string;
19549
- workspace_id: string;
19550
19562
  event_id: string;
19551
19563
  occurred_at: string;
19552
19564
  event_type: "connected_account.deleted";
19553
19565
  }, {
19566
+ workspace_id: string;
19554
19567
  created_at: string;
19555
19568
  connected_account_id: string;
19556
- workspace_id: string;
19557
19569
  event_id: string;
19558
19570
  occurred_at: string;
19559
19571
  event_type: "connected_account.deleted";
@@ -19567,16 +19579,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19567
19579
  }>, {
19568
19580
  event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
19569
19581
  }>, "strip", z.ZodTypeAny, {
19582
+ workspace_id: string;
19570
19583
  created_at: string;
19571
19584
  connected_account_id: string;
19572
- workspace_id: string;
19573
19585
  event_id: string;
19574
19586
  occurred_at: string;
19575
19587
  event_type: "connected_account.completed_first_sync_after_reconnection";
19576
19588
  }, {
19589
+ workspace_id: string;
19577
19590
  created_at: string;
19578
19591
  connected_account_id: string;
19579
- workspace_id: string;
19580
19592
  event_id: string;
19581
19593
  occurred_at: string;
19582
19594
  event_type: "connected_account.completed_first_sync_after_reconnection";
@@ -19593,8 +19605,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19593
19605
  event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
19594
19606
  }>, "strip", z.ZodTypeAny, {
19595
19607
  status: string;
19596
- created_at: string;
19597
19608
  workspace_id: string;
19609
+ created_at: string;
19598
19610
  action_attempt_id: string;
19599
19611
  action_type: string;
19600
19612
  event_id: string;
@@ -19602,8 +19614,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19602
19614
  event_type: "action_attempt.lock_door.succeeded";
19603
19615
  }, {
19604
19616
  status: string;
19605
- created_at: string;
19606
19617
  workspace_id: string;
19618
+ created_at: string;
19607
19619
  action_attempt_id: string;
19608
19620
  action_type: string;
19609
19621
  event_id: string;
@@ -19622,8 +19634,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19622
19634
  event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
19623
19635
  }>, "strip", z.ZodTypeAny, {
19624
19636
  status: string;
19625
- created_at: string;
19626
19637
  workspace_id: string;
19638
+ created_at: string;
19627
19639
  action_attempt_id: string;
19628
19640
  action_type: string;
19629
19641
  event_id: string;
@@ -19631,8 +19643,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19631
19643
  event_type: "action_attempt.lock_door.failed";
19632
19644
  }, {
19633
19645
  status: string;
19634
- created_at: string;
19635
19646
  workspace_id: string;
19647
+ created_at: string;
19636
19648
  action_attempt_id: string;
19637
19649
  action_type: string;
19638
19650
  event_id: string;
@@ -19651,8 +19663,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19651
19663
  event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
19652
19664
  }>, "strip", z.ZodTypeAny, {
19653
19665
  status: string;
19654
- created_at: string;
19655
19666
  workspace_id: string;
19667
+ created_at: string;
19656
19668
  action_attempt_id: string;
19657
19669
  action_type: string;
19658
19670
  event_id: string;
@@ -19660,8 +19672,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19660
19672
  event_type: "action_attempt.unlock_door.succeeded";
19661
19673
  }, {
19662
19674
  status: string;
19663
- created_at: string;
19664
19675
  workspace_id: string;
19676
+ created_at: string;
19665
19677
  action_attempt_id: string;
19666
19678
  action_type: string;
19667
19679
  event_id: string;
@@ -19680,8 +19692,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19680
19692
  event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
19681
19693
  }>, "strip", z.ZodTypeAny, {
19682
19694
  status: string;
19683
- created_at: string;
19684
19695
  workspace_id: string;
19696
+ created_at: string;
19685
19697
  action_attempt_id: string;
19686
19698
  action_type: string;
19687
19699
  event_id: string;
@@ -19689,8 +19701,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19689
19701
  event_type: "action_attempt.unlock_door.failed";
19690
19702
  }, {
19691
19703
  status: string;
19692
- created_at: string;
19693
19704
  workspace_id: string;
19705
+ created_at: string;
19694
19706
  action_attempt_id: string;
19695
19707
  action_type: string;
19696
19708
  event_id: string;
@@ -19707,17 +19719,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19707
19719
  event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
19708
19720
  connected_account_id: z.ZodString;
19709
19721
  }>, "strip", z.ZodTypeAny, {
19722
+ workspace_id: string;
19710
19723
  created_at: string;
19711
19724
  connected_account_id: string;
19712
- workspace_id: string;
19713
19725
  connect_webview_id: string;
19714
19726
  event_id: string;
19715
19727
  occurred_at: string;
19716
19728
  event_type: "connect_webview.login_succeeded";
19717
19729
  }, {
19730
+ workspace_id: string;
19718
19731
  created_at: string;
19719
19732
  connected_account_id: string;
19720
- workspace_id: string;
19721
19733
  connect_webview_id: string;
19722
19734
  event_id: string;
19723
19735
  occurred_at: string;
@@ -19732,15 +19744,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19732
19744
  }>, {
19733
19745
  event_type: z.ZodLiteral<"connect_webview.login_failed">;
19734
19746
  }>, "strip", z.ZodTypeAny, {
19735
- created_at: string;
19736
19747
  workspace_id: string;
19748
+ created_at: string;
19737
19749
  connect_webview_id: string;
19738
19750
  event_id: string;
19739
19751
  occurred_at: string;
19740
19752
  event_type: "connect_webview.login_failed";
19741
19753
  }, {
19742
- created_at: string;
19743
19754
  workspace_id: string;
19755
+ created_at: string;
19744
19756
  connect_webview_id: string;
19745
19757
  event_id: string;
19746
19758
  occurred_at: string;
@@ -19757,17 +19769,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19757
19769
  event_type: z.ZodLiteral<"device.connected">;
19758
19770
  }>, "strip", z.ZodTypeAny, {
19759
19771
  device_id: string;
19772
+ workspace_id: string;
19760
19773
  created_at: string;
19761
19774
  connected_account_id: string;
19762
- workspace_id: string;
19763
19775
  event_id: string;
19764
19776
  occurred_at: string;
19765
19777
  event_type: "device.connected";
19766
19778
  }, {
19767
19779
  device_id: string;
19780
+ workspace_id: string;
19768
19781
  created_at: string;
19769
19782
  connected_account_id: string;
19770
- workspace_id: string;
19771
19783
  event_id: string;
19772
19784
  occurred_at: string;
19773
19785
  event_type: "device.connected";
@@ -19783,17 +19795,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19783
19795
  event_type: z.ZodLiteral<"device.added">;
19784
19796
  }>, "strip", z.ZodTypeAny, {
19785
19797
  device_id: string;
19798
+ workspace_id: string;
19786
19799
  created_at: string;
19787
19800
  connected_account_id: string;
19788
- workspace_id: string;
19789
19801
  event_id: string;
19790
19802
  occurred_at: string;
19791
19803
  event_type: "device.added";
19792
19804
  }, {
19793
19805
  device_id: string;
19806
+ workspace_id: string;
19794
19807
  created_at: string;
19795
19808
  connected_account_id: string;
19796
- workspace_id: string;
19797
19809
  event_id: string;
19798
19810
  occurred_at: string;
19799
19811
  event_type: "device.added";
@@ -19809,17 +19821,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19809
19821
  event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
19810
19822
  }>, "strip", z.ZodTypeAny, {
19811
19823
  device_id: string;
19824
+ workspace_id: string;
19812
19825
  created_at: string;
19813
19826
  connected_account_id: string;
19814
- workspace_id: string;
19815
19827
  event_id: string;
19816
19828
  occurred_at: string;
19817
19829
  event_type: "device.converted_to_unmanaged";
19818
19830
  }, {
19819
19831
  device_id: string;
19832
+ workspace_id: string;
19820
19833
  created_at: string;
19821
19834
  connected_account_id: string;
19822
- workspace_id: string;
19823
19835
  event_id: string;
19824
19836
  occurred_at: string;
19825
19837
  event_type: "device.converted_to_unmanaged";
@@ -19835,17 +19847,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19835
19847
  event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
19836
19848
  }>, "strip", z.ZodTypeAny, {
19837
19849
  device_id: string;
19850
+ workspace_id: string;
19838
19851
  created_at: string;
19839
19852
  connected_account_id: string;
19840
- workspace_id: string;
19841
19853
  event_id: string;
19842
19854
  occurred_at: string;
19843
19855
  event_type: "device.unmanaged.converted_to_managed";
19844
19856
  }, {
19845
19857
  device_id: string;
19858
+ workspace_id: string;
19846
19859
  created_at: string;
19847
19860
  connected_account_id: string;
19848
- workspace_id: string;
19849
19861
  event_id: string;
19850
19862
  occurred_at: string;
19851
19863
  event_type: "device.unmanaged.converted_to_managed";
@@ -19861,17 +19873,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19861
19873
  event_type: z.ZodLiteral<"device.unmanaged.connected">;
19862
19874
  }>, "strip", z.ZodTypeAny, {
19863
19875
  device_id: string;
19876
+ workspace_id: string;
19864
19877
  created_at: string;
19865
19878
  connected_account_id: string;
19866
- workspace_id: string;
19867
19879
  event_id: string;
19868
19880
  occurred_at: string;
19869
19881
  event_type: "device.unmanaged.connected";
19870
19882
  }, {
19871
19883
  device_id: string;
19884
+ workspace_id: string;
19872
19885
  created_at: string;
19873
19886
  connected_account_id: string;
19874
- workspace_id: string;
19875
19887
  event_id: string;
19876
19888
  occurred_at: string;
19877
19889
  event_type: "device.unmanaged.connected";
@@ -19888,19 +19900,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19888
19900
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
19889
19901
  }>, "strip", z.ZodTypeAny, {
19890
19902
  device_id: string;
19903
+ workspace_id: string;
19891
19904
  created_at: string;
19892
19905
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19893
19906
  connected_account_id: string;
19894
- workspace_id: string;
19895
19907
  event_id: string;
19896
19908
  occurred_at: string;
19897
19909
  event_type: "device.disconnected";
19898
19910
  }, {
19899
19911
  device_id: string;
19912
+ workspace_id: string;
19900
19913
  created_at: string;
19901
19914
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19902
19915
  connected_account_id: string;
19903
- workspace_id: string;
19904
19916
  event_id: string;
19905
19917
  occurred_at: string;
19906
19918
  event_type: "device.disconnected";
@@ -19917,19 +19929,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19917
19929
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
19918
19930
  }>, "strip", z.ZodTypeAny, {
19919
19931
  device_id: string;
19932
+ workspace_id: string;
19920
19933
  created_at: string;
19921
19934
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19922
19935
  connected_account_id: string;
19923
- workspace_id: string;
19924
19936
  event_id: string;
19925
19937
  occurred_at: string;
19926
19938
  event_type: "device.unmanaged.disconnected";
19927
19939
  }, {
19928
19940
  device_id: string;
19941
+ workspace_id: string;
19929
19942
  created_at: string;
19930
19943
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
19931
19944
  connected_account_id: string;
19932
- workspace_id: string;
19933
19945
  event_id: string;
19934
19946
  occurred_at: string;
19935
19947
  event_type: "device.unmanaged.disconnected";
@@ -19945,17 +19957,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19945
19957
  event_type: z.ZodLiteral<"device.tampered">;
19946
19958
  }>, "strip", z.ZodTypeAny, {
19947
19959
  device_id: string;
19960
+ workspace_id: string;
19948
19961
  created_at: string;
19949
19962
  connected_account_id: string;
19950
- workspace_id: string;
19951
19963
  event_id: string;
19952
19964
  occurred_at: string;
19953
19965
  event_type: "device.tampered";
19954
19966
  }, {
19955
19967
  device_id: string;
19968
+ workspace_id: string;
19956
19969
  created_at: string;
19957
19970
  connected_account_id: string;
19958
- workspace_id: string;
19959
19971
  event_id: string;
19960
19972
  occurred_at: string;
19961
19973
  event_type: "device.tampered";
@@ -19972,19 +19984,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19972
19984
  battery_level: z.ZodNumber;
19973
19985
  }>, "strip", z.ZodTypeAny, {
19974
19986
  device_id: string;
19987
+ workspace_id: string;
19975
19988
  created_at: string;
19976
19989
  connected_account_id: string;
19977
19990
  battery_level: number;
19978
- workspace_id: string;
19979
19991
  event_id: string;
19980
19992
  occurred_at: string;
19981
19993
  event_type: "device.low_battery";
19982
19994
  }, {
19983
19995
  device_id: string;
19996
+ workspace_id: string;
19984
19997
  created_at: string;
19985
19998
  connected_account_id: string;
19986
19999
  battery_level: number;
19987
- workspace_id: string;
19988
20000
  event_id: string;
19989
20001
  occurred_at: string;
19990
20002
  event_type: "device.low_battery";
@@ -20002,20 +20014,20 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20002
20014
  battery_level: z.ZodNumber;
20003
20015
  }>, "strip", z.ZodTypeAny, {
20004
20016
  device_id: string;
20017
+ workspace_id: string;
20005
20018
  created_at: string;
20006
20019
  connected_account_id: string;
20007
20020
  battery_level: number;
20008
- workspace_id: string;
20009
20021
  event_id: string;
20010
20022
  occurred_at: string;
20011
20023
  event_type: "device.battery_status_changed";
20012
20024
  battery_status: "critical" | "low" | "good" | "full";
20013
20025
  }, {
20014
20026
  device_id: string;
20027
+ workspace_id: string;
20015
20028
  created_at: string;
20016
20029
  connected_account_id: string;
20017
20030
  battery_level: number;
20018
- workspace_id: string;
20019
20031
  event_id: string;
20020
20032
  occurred_at: string;
20021
20033
  event_type: "device.battery_status_changed";
@@ -20032,17 +20044,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20032
20044
  event_type: z.ZodLiteral<"device.removed">;
20033
20045
  }>, "strip", z.ZodTypeAny, {
20034
20046
  device_id: string;
20047
+ workspace_id: string;
20035
20048
  created_at: string;
20036
20049
  connected_account_id: string;
20037
- workspace_id: string;
20038
20050
  event_id: string;
20039
20051
  occurred_at: string;
20040
20052
  event_type: "device.removed";
20041
20053
  }, {
20042
20054
  device_id: string;
20055
+ workspace_id: string;
20043
20056
  created_at: string;
20044
20057
  connected_account_id: string;
20045
- workspace_id: string;
20046
20058
  event_id: string;
20047
20059
  occurred_at: string;
20048
20060
  event_type: "device.removed";
@@ -20058,17 +20070,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20058
20070
  event_type: z.ZodLiteral<"device.deleted">;
20059
20071
  }>, "strip", z.ZodTypeAny, {
20060
20072
  device_id: string;
20073
+ workspace_id: string;
20061
20074
  created_at: string;
20062
20075
  connected_account_id: string;
20063
- workspace_id: string;
20064
20076
  event_id: string;
20065
20077
  occurred_at: string;
20066
20078
  event_type: "device.deleted";
20067
20079
  }, {
20068
20080
  device_id: string;
20081
+ workspace_id: string;
20069
20082
  created_at: string;
20070
20083
  connected_account_id: string;
20071
- workspace_id: string;
20072
20084
  event_id: string;
20073
20085
  occurred_at: string;
20074
20086
  event_type: "device.deleted";
@@ -20084,17 +20096,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20084
20096
  event_type: z.ZodLiteral<"device.third_party_integration_detected">;
20085
20097
  }>, "strip", z.ZodTypeAny, {
20086
20098
  device_id: string;
20099
+ workspace_id: string;
20087
20100
  created_at: string;
20088
20101
  connected_account_id: string;
20089
- workspace_id: string;
20090
20102
  event_id: string;
20091
20103
  occurred_at: string;
20092
20104
  event_type: "device.third_party_integration_detected";
20093
20105
  }, {
20094
20106
  device_id: string;
20107
+ workspace_id: string;
20095
20108
  created_at: string;
20096
20109
  connected_account_id: string;
20097
- workspace_id: string;
20098
20110
  event_id: string;
20099
20111
  occurred_at: string;
20100
20112
  event_type: "device.third_party_integration_detected";
@@ -20110,17 +20122,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20110
20122
  event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
20111
20123
  }>, "strip", z.ZodTypeAny, {
20112
20124
  device_id: string;
20125
+ workspace_id: string;
20113
20126
  created_at: string;
20114
20127
  connected_account_id: string;
20115
- workspace_id: string;
20116
20128
  event_id: string;
20117
20129
  occurred_at: string;
20118
20130
  event_type: "device.third_party_integration_no_longer_detected";
20119
20131
  }, {
20120
20132
  device_id: string;
20133
+ workspace_id: string;
20121
20134
  created_at: string;
20122
20135
  connected_account_id: string;
20123
- workspace_id: string;
20124
20136
  event_id: string;
20125
20137
  occurred_at: string;
20126
20138
  event_type: "device.third_party_integration_no_longer_detected";
@@ -20136,17 +20148,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20136
20148
  event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
20137
20149
  }>, "strip", z.ZodTypeAny, {
20138
20150
  device_id: string;
20151
+ workspace_id: string;
20139
20152
  created_at: string;
20140
20153
  connected_account_id: string;
20141
- workspace_id: string;
20142
20154
  event_id: string;
20143
20155
  occurred_at: string;
20144
20156
  event_type: "device.salto.privacy_mode_activated";
20145
20157
  }, {
20146
20158
  device_id: string;
20159
+ workspace_id: string;
20147
20160
  created_at: string;
20148
20161
  connected_account_id: string;
20149
- workspace_id: string;
20150
20162
  event_id: string;
20151
20163
  occurred_at: string;
20152
20164
  event_type: "device.salto.privacy_mode_activated";
@@ -20162,17 +20174,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20162
20174
  event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
20163
20175
  }>, "strip", z.ZodTypeAny, {
20164
20176
  device_id: string;
20177
+ workspace_id: string;
20165
20178
  created_at: string;
20166
20179
  connected_account_id: string;
20167
- workspace_id: string;
20168
20180
  event_id: string;
20169
20181
  occurred_at: string;
20170
20182
  event_type: "device.salto.privacy_mode_deactivated";
20171
20183
  }, {
20172
20184
  device_id: string;
20185
+ workspace_id: string;
20173
20186
  created_at: string;
20174
20187
  connected_account_id: string;
20175
- workspace_id: string;
20176
20188
  event_id: string;
20177
20189
  occurred_at: string;
20178
20190
  event_type: "device.salto.privacy_mode_deactivated";
@@ -20188,17 +20200,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20188
20200
  event_type: z.ZodLiteral<"device.connection_became_flaky">;
20189
20201
  }>, "strip", z.ZodTypeAny, {
20190
20202
  device_id: string;
20203
+ workspace_id: string;
20191
20204
  created_at: string;
20192
20205
  connected_account_id: string;
20193
- workspace_id: string;
20194
20206
  event_id: string;
20195
20207
  occurred_at: string;
20196
20208
  event_type: "device.connection_became_flaky";
20197
20209
  }, {
20198
20210
  device_id: string;
20211
+ workspace_id: string;
20199
20212
  created_at: string;
20200
20213
  connected_account_id: string;
20201
- workspace_id: string;
20202
20214
  event_id: string;
20203
20215
  occurred_at: string;
20204
20216
  event_type: "device.connection_became_flaky";
@@ -20214,17 +20226,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20214
20226
  event_type: z.ZodLiteral<"device.connection_stabilized">;
20215
20227
  }>, "strip", z.ZodTypeAny, {
20216
20228
  device_id: string;
20229
+ workspace_id: string;
20217
20230
  created_at: string;
20218
20231
  connected_account_id: string;
20219
- workspace_id: string;
20220
20232
  event_id: string;
20221
20233
  occurred_at: string;
20222
20234
  event_type: "device.connection_stabilized";
20223
20235
  }, {
20224
20236
  device_id: string;
20237
+ workspace_id: string;
20225
20238
  created_at: string;
20226
20239
  connected_account_id: string;
20227
- workspace_id: string;
20228
20240
  event_id: string;
20229
20241
  occurred_at: string;
20230
20242
  event_type: "device.connection_stabilized";
@@ -20240,17 +20252,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20240
20252
  event_type: z.ZodLiteral<"device.error.subscription_required">;
20241
20253
  }>, "strip", z.ZodTypeAny, {
20242
20254
  device_id: string;
20255
+ workspace_id: string;
20243
20256
  created_at: string;
20244
20257
  connected_account_id: string;
20245
- workspace_id: string;
20246
20258
  event_id: string;
20247
20259
  occurred_at: string;
20248
20260
  event_type: "device.error.subscription_required";
20249
20261
  }, {
20250
20262
  device_id: string;
20263
+ workspace_id: string;
20251
20264
  created_at: string;
20252
20265
  connected_account_id: string;
20253
- workspace_id: string;
20254
20266
  event_id: string;
20255
20267
  occurred_at: string;
20256
20268
  event_type: "device.error.subscription_required";
@@ -20266,17 +20278,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20266
20278
  event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
20267
20279
  }>, "strip", z.ZodTypeAny, {
20268
20280
  device_id: string;
20281
+ workspace_id: string;
20269
20282
  created_at: string;
20270
20283
  connected_account_id: string;
20271
- workspace_id: string;
20272
20284
  event_id: string;
20273
20285
  occurred_at: string;
20274
20286
  event_type: "device.error.subscription_required.resolved";
20275
20287
  }, {
20276
20288
  device_id: string;
20289
+ workspace_id: string;
20277
20290
  created_at: string;
20278
20291
  connected_account_id: string;
20279
- workspace_id: string;
20280
20292
  event_id: string;
20281
20293
  occurred_at: string;
20282
20294
  event_type: "device.error.subscription_required.resolved";
@@ -20292,17 +20304,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20292
20304
  event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
20293
20305
  }>, "strip", z.ZodTypeAny, {
20294
20306
  device_id: string;
20307
+ workspace_id: string;
20295
20308
  created_at: string;
20296
20309
  connected_account_id: string;
20297
- workspace_id: string;
20298
20310
  event_id: string;
20299
20311
  occurred_at: string;
20300
20312
  event_type: "device.accessory_keypad_connected";
20301
20313
  }, {
20302
20314
  device_id: string;
20315
+ workspace_id: string;
20303
20316
  created_at: string;
20304
20317
  connected_account_id: string;
20305
- workspace_id: string;
20306
20318
  event_id: string;
20307
20319
  occurred_at: string;
20308
20320
  event_type: "device.accessory_keypad_connected";
@@ -20318,17 +20330,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20318
20330
  event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
20319
20331
  }>, "strip", z.ZodTypeAny, {
20320
20332
  device_id: string;
20333
+ workspace_id: string;
20321
20334
  created_at: string;
20322
20335
  connected_account_id: string;
20323
- workspace_id: string;
20324
20336
  event_id: string;
20325
20337
  occurred_at: string;
20326
20338
  event_type: "device.accessory_keypad_disconnected";
20327
20339
  }, {
20328
20340
  device_id: string;
20341
+ workspace_id: string;
20329
20342
  created_at: string;
20330
20343
  connected_account_id: string;
20331
- workspace_id: string;
20332
20344
  event_id: string;
20333
20345
  occurred_at: string;
20334
20346
  event_type: "device.accessory_keypad_disconnected";
@@ -20350,9 +20362,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20350
20362
  minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20351
20363
  }>, "strip", z.ZodTypeAny, {
20352
20364
  device_id: string;
20365
+ workspace_id: string;
20353
20366
  created_at: string;
20354
20367
  connected_account_id: string;
20355
- workspace_id: string;
20356
20368
  event_id: string;
20357
20369
  occurred_at: string;
20358
20370
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -20364,9 +20376,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20364
20376
  noise_threshold_name?: string | undefined;
20365
20377
  }, {
20366
20378
  device_id: string;
20379
+ workspace_id: string;
20367
20380
  created_at: string;
20368
20381
  connected_account_id: string;
20369
- workspace_id: string;
20370
20382
  event_id: string;
20371
20383
  occurred_at: string;
20372
20384
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -20391,10 +20403,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20391
20403
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
20392
20404
  }>, "strip", z.ZodTypeAny, {
20393
20405
  device_id: string;
20406
+ workspace_id: string;
20394
20407
  created_at: string;
20395
20408
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20396
20409
  connected_account_id: string;
20397
- workspace_id: string;
20398
20410
  event_id: string;
20399
20411
  occurred_at: string;
20400
20412
  event_type: "lock.locked";
@@ -20402,10 +20414,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20402
20414
  action_attempt_id?: string | undefined;
20403
20415
  }, {
20404
20416
  device_id: string;
20417
+ workspace_id: string;
20405
20418
  created_at: string;
20406
20419
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20407
20420
  connected_account_id: string;
20408
- workspace_id: string;
20409
20421
  event_id: string;
20410
20422
  occurred_at: string;
20411
20423
  event_type: "lock.locked";
@@ -20426,10 +20438,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20426
20438
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
20427
20439
  }>, "strip", z.ZodTypeAny, {
20428
20440
  device_id: string;
20441
+ workspace_id: string;
20429
20442
  created_at: string;
20430
20443
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20431
20444
  connected_account_id: string;
20432
- workspace_id: string;
20433
20445
  event_id: string;
20434
20446
  occurred_at: string;
20435
20447
  event_type: "lock.unlocked";
@@ -20437,10 +20449,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20437
20449
  action_attempt_id?: string | undefined;
20438
20450
  }, {
20439
20451
  device_id: string;
20452
+ workspace_id: string;
20440
20453
  created_at: string;
20441
20454
  method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
20442
20455
  connected_account_id: string;
20443
- workspace_id: string;
20444
20456
  event_id: string;
20445
20457
  occurred_at: string;
20446
20458
  event_type: "lock.unlocked";
@@ -20459,18 +20471,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20459
20471
  access_code_id: z.ZodOptional<z.ZodString>;
20460
20472
  }>, "strip", z.ZodTypeAny, {
20461
20473
  device_id: string;
20474
+ workspace_id: string;
20462
20475
  created_at: string;
20463
20476
  connected_account_id: string;
20464
- workspace_id: string;
20465
20477
  event_id: string;
20466
20478
  occurred_at: string;
20467
20479
  event_type: "lock.access_denied";
20468
20480
  access_code_id?: string | undefined;
20469
20481
  }, {
20470
20482
  device_id: string;
20483
+ workspace_id: string;
20471
20484
  created_at: string;
20472
20485
  connected_account_id: string;
20473
- workspace_id: string;
20474
20486
  event_id: string;
20475
20487
  occurred_at: string;
20476
20488
  event_type: "lock.access_denied";
@@ -20491,10 +20503,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20491
20503
  }>, "strip", z.ZodTypeAny, {
20492
20504
  climate_preset_key: string;
20493
20505
  device_id: string;
20506
+ workspace_id: string;
20494
20507
  created_at: string;
20495
20508
  thermostat_schedule_id: string | null;
20496
20509
  connected_account_id: string;
20497
- workspace_id: string;
20498
20510
  event_id: string;
20499
20511
  occurred_at: string;
20500
20512
  event_type: "thermostat.climate_preset_activated";
@@ -20502,10 +20514,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20502
20514
  }, {
20503
20515
  climate_preset_key: string;
20504
20516
  device_id: string;
20517
+ workspace_id: string;
20505
20518
  created_at: string;
20506
20519
  thermostat_schedule_id: string | null;
20507
20520
  connected_account_id: string;
20508
- workspace_id: string;
20509
20521
  event_id: string;
20510
20522
  occurred_at: string;
20511
20523
  event_type: "thermostat.climate_preset_activated";
@@ -20537,10 +20549,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20537
20549
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
20538
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, {
20539
20551
  device_id: string;
20552
+ workspace_id: string;
20540
20553
  created_at: string;
20541
20554
  method: "seam" | "external";
20542
20555
  connected_account_id: string;
20543
- workspace_id: string;
20544
20556
  event_id: string;
20545
20557
  occurred_at: string;
20546
20558
  event_type: "thermostat.manually_adjusted";
@@ -20552,10 +20564,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20552
20564
  heating_set_point_fahrenheit?: number | undefined;
20553
20565
  }, {
20554
20566
  device_id: string;
20567
+ workspace_id: string;
20555
20568
  created_at: string;
20556
20569
  method: "seam" | "external";
20557
20570
  connected_account_id: string;
20558
- workspace_id: string;
20559
20571
  event_id: string;
20560
20572
  occurred_at: string;
20561
20573
  event_type: "thermostat.manually_adjusted";
@@ -20583,6 +20595,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20583
20595
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
20584
20596
  }>, "strip", z.ZodTypeAny, {
20585
20597
  device_id: string;
20598
+ workspace_id: string;
20586
20599
  created_at: string;
20587
20600
  temperature_fahrenheit: number;
20588
20601
  temperature_celsius: number;
@@ -20591,12 +20604,12 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20591
20604
  upper_limit_celsius: number | null;
20592
20605
  upper_limit_fahrenheit: number | null;
20593
20606
  connected_account_id: string;
20594
- workspace_id: string;
20595
20607
  event_id: string;
20596
20608
  occurred_at: string;
20597
20609
  event_type: "thermostat.temperature_threshold_exceeded";
20598
20610
  }, {
20599
20611
  device_id: string;
20612
+ workspace_id: string;
20600
20613
  created_at: string;
20601
20614
  temperature_fahrenheit: number;
20602
20615
  temperature_celsius: number;
@@ -20605,7 +20618,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20605
20618
  upper_limit_celsius: number | null;
20606
20619
  upper_limit_fahrenheit: number | null;
20607
20620
  connected_account_id: string;
20608
- workspace_id: string;
20609
20621
  event_id: string;
20610
20622
  occurred_at: string;
20611
20623
  event_type: "thermostat.temperature_threshold_exceeded";
@@ -20627,6 +20639,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20627
20639
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
20628
20640
  }>, "strip", z.ZodTypeAny, {
20629
20641
  device_id: string;
20642
+ workspace_id: string;
20630
20643
  created_at: string;
20631
20644
  temperature_fahrenheit: number;
20632
20645
  temperature_celsius: number;
@@ -20635,12 +20648,12 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20635
20648
  upper_limit_celsius: number | null;
20636
20649
  upper_limit_fahrenheit: number | null;
20637
20650
  connected_account_id: string;
20638
- workspace_id: string;
20639
20651
  event_id: string;
20640
20652
  occurred_at: string;
20641
20653
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
20642
20654
  }, {
20643
20655
  device_id: string;
20656
+ workspace_id: string;
20644
20657
  created_at: string;
20645
20658
  temperature_fahrenheit: number;
20646
20659
  temperature_celsius: number;
@@ -20649,7 +20662,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20649
20662
  upper_limit_celsius: number | null;
20650
20663
  upper_limit_fahrenheit: number | null;
20651
20664
  connected_account_id: string;
20652
- workspace_id: string;
20653
20665
  event_id: string;
20654
20666
  occurred_at: string;
20655
20667
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
@@ -20669,11 +20681,11 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20669
20681
  desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
20670
20682
  }>, "strip", z.ZodTypeAny, {
20671
20683
  device_id: string;
20684
+ workspace_id: string;
20672
20685
  created_at: string;
20673
20686
  temperature_fahrenheit: number;
20674
20687
  temperature_celsius: number;
20675
20688
  connected_account_id: string;
20676
- workspace_id: string;
20677
20689
  event_id: string;
20678
20690
  occurred_at: string;
20679
20691
  event_type: "thermostat.temperature_reached_set_point";
@@ -20681,11 +20693,11 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20681
20693
  desired_temperature_fahrenheit?: number | undefined;
20682
20694
  }, {
20683
20695
  device_id: string;
20696
+ workspace_id: string;
20684
20697
  created_at: string;
20685
20698
  temperature_fahrenheit: number;
20686
20699
  temperature_celsius: number;
20687
20700
  connected_account_id: string;
20688
- workspace_id: string;
20689
20701
  event_id: string;
20690
20702
  occurred_at: string;
20691
20703
  event_type: "thermostat.temperature_reached_set_point";
@@ -20705,21 +20717,21 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20705
20717
  temperature_fahrenheit: z.ZodNumber;
20706
20718
  }>, "strip", z.ZodTypeAny, {
20707
20719
  device_id: string;
20720
+ workspace_id: string;
20708
20721
  created_at: string;
20709
20722
  temperature_fahrenheit: number;
20710
20723
  temperature_celsius: number;
20711
20724
  connected_account_id: string;
20712
- workspace_id: string;
20713
20725
  event_id: string;
20714
20726
  occurred_at: string;
20715
20727
  event_type: "thermostat.temperature_changed";
20716
20728
  }, {
20717
20729
  device_id: string;
20730
+ workspace_id: string;
20718
20731
  created_at: string;
20719
20732
  temperature_fahrenheit: number;
20720
20733
  temperature_celsius: number;
20721
20734
  connected_account_id: string;
20722
- workspace_id: string;
20723
20735
  event_id: string;
20724
20736
  occurred_at: string;
20725
20737
  event_type: "thermostat.temperature_changed";
@@ -20736,19 +20748,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20736
20748
  device_name: z.ZodString;
20737
20749
  }>, "strip", z.ZodTypeAny, {
20738
20750
  device_id: string;
20751
+ workspace_id: string;
20739
20752
  created_at: string;
20740
20753
  connected_account_id: string;
20741
20754
  device_name: string;
20742
- workspace_id: string;
20743
20755
  event_id: string;
20744
20756
  occurred_at: string;
20745
20757
  event_type: "device.name_changed";
20746
20758
  }, {
20747
20759
  device_id: string;
20760
+ workspace_id: string;
20748
20761
  created_at: string;
20749
20762
  connected_account_id: string;
20750
20763
  device_name: string;
20751
- workspace_id: string;
20752
20764
  event_id: string;
20753
20765
  occurred_at: string;
20754
20766
  event_type: "device.name_changed";
@@ -20762,15 +20774,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20762
20774
  }>, {
20763
20775
  event_type: z.ZodLiteral<"enrollment_automation.deleted">;
20764
20776
  }>, "strip", z.ZodTypeAny, {
20765
- created_at: string;
20766
20777
  workspace_id: string;
20778
+ created_at: string;
20767
20779
  enrollment_automation_id: string;
20768
20780
  event_id: string;
20769
20781
  occurred_at: string;
20770
20782
  event_type: "enrollment_automation.deleted";
20771
20783
  }, {
20772
- created_at: string;
20773
20784
  workspace_id: string;
20785
+ created_at: string;
20774
20786
  enrollment_automation_id: string;
20775
20787
  event_id: string;
20776
20788
  occurred_at: string;
@@ -20786,15 +20798,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20786
20798
  event_type: z.ZodLiteral<"phone.deactivated">;
20787
20799
  }>, "strip", z.ZodTypeAny, {
20788
20800
  device_id: string;
20789
- created_at: string;
20790
20801
  workspace_id: string;
20802
+ created_at: string;
20791
20803
  event_id: string;
20792
20804
  occurred_at: string;
20793
20805
  event_type: "phone.deactivated";
20794
20806
  }, {
20795
20807
  device_id: string;
20796
- created_at: string;
20797
20808
  workspace_id: string;
20809
+ created_at: string;
20798
20810
  event_id: string;
20799
20811
  occurred_at: string;
20800
20812
  event_type: "phone.deactivated";
@@ -20811,16 +20823,16 @@ declare const instant_key: z.ZodObject<{
20811
20823
  user_identity_id: z.ZodString;
20812
20824
  expires_at: z.ZodString;
20813
20825
  }, "strip", z.ZodTypeAny, {
20814
- created_at: string;
20815
20826
  workspace_id: string;
20827
+ created_at: string;
20816
20828
  user_identity_id: string;
20817
20829
  instant_key_url: string;
20818
20830
  client_session_id: string;
20819
20831
  expires_at: string;
20820
20832
  instant_key_id: string;
20821
20833
  }, {
20822
- created_at: string;
20823
20834
  workspace_id: string;
20835
+ created_at: string;
20824
20836
  user_identity_id: string;
20825
20837
  instant_key_url: string;
20826
20838
  client_session_id: string;
@@ -20873,7 +20885,7 @@ declare const pagination: z.ZodObject<{
20873
20885
  declare const thermostat_daily_program: z.ZodObject<{
20874
20886
  thermostat_daily_program_id: z.ZodString;
20875
20887
  device_id: z.ZodString;
20876
- name: z.ZodOptional<z.ZodString>;
20888
+ name: z.ZodNullable<z.ZodString>;
20877
20889
  periods: z.ZodArray<z.ZodObject<{
20878
20890
  starts_at_time: z.ZodString;
20879
20891
  climate_preset_key: z.ZodString;
@@ -20884,28 +20896,30 @@ declare const thermostat_daily_program: z.ZodObject<{
20884
20896
  climate_preset_key: string;
20885
20897
  starts_at_time: string;
20886
20898
  }>, "many">;
20899
+ workspace_id: z.ZodString;
20887
20900
  created_at: z.ZodString;
20888
20901
  }, "strip", z.ZodTypeAny, {
20902
+ name: string | null;
20889
20903
  thermostat_daily_program_id: string;
20890
20904
  device_id: string;
20891
20905
  periods: {
20892
20906
  climate_preset_key: string;
20893
20907
  starts_at_time: string;
20894
20908
  }[];
20909
+ workspace_id: string;
20895
20910
  created_at: string;
20896
- name?: string | undefined;
20897
20911
  }, {
20912
+ name: string | null;
20898
20913
  thermostat_daily_program_id: string;
20899
20914
  device_id: string;
20900
20915
  periods: {
20901
20916
  climate_preset_key: string;
20902
20917
  starts_at_time: string;
20903
20918
  }[];
20919
+ workspace_id: string;
20904
20920
  created_at: string;
20905
- name?: string | undefined;
20906
20921
  }>;
20907
20922
  declare const thermostat_weekly_program: z.ZodObject<{
20908
- device_id: z.ZodString;
20909
20923
  monday_program_id: z.ZodNullable<z.ZodString>;
20910
20924
  tuesday_program_id: z.ZodNullable<z.ZodString>;
20911
20925
  wednesday_program_id: z.ZodNullable<z.ZodString>;
@@ -20915,7 +20929,6 @@ declare const thermostat_weekly_program: z.ZodObject<{
20915
20929
  sunday_program_id: z.ZodNullable<z.ZodString>;
20916
20930
  created_at: z.ZodString;
20917
20931
  }, "strip", z.ZodTypeAny, {
20918
- device_id: string;
20919
20932
  created_at: string;
20920
20933
  monday_program_id: string | null;
20921
20934
  tuesday_program_id: string | null;
@@ -20925,7 +20938,6 @@ declare const thermostat_weekly_program: z.ZodObject<{
20925
20938
  saturday_program_id: string | null;
20926
20939
  sunday_program_id: string | null;
20927
20940
  }, {
20928
- device_id: string;
20929
20941
  created_at: string;
20930
20942
  monday_program_id: string | null;
20931
20943
  tuesday_program_id: string | null;
@@ -20939,12 +20951,13 @@ declare const thermostat_weekly_program: z.ZodObject<{
20939
20951
  declare const thermostat_schedule: z.ZodObject<{
20940
20952
  thermostat_schedule_id: z.ZodString;
20941
20953
  device_id: z.ZodString;
20942
- name: z.ZodOptional<z.ZodString>;
20954
+ name: z.ZodNullable<z.ZodString>;
20943
20955
  climate_preset_key: z.ZodString;
20944
20956
  max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20945
20957
  starts_at: z.ZodString;
20946
20958
  is_override_allowed: z.ZodOptional<z.ZodBoolean>;
20947
20959
  ends_at: z.ZodString;
20960
+ workspace_id: z.ZodString;
20948
20961
  created_at: z.ZodString;
20949
20962
  errors: z.ZodArray<z.ZodObject<{
20950
20963
  error_code: z.ZodString;
@@ -20958,7 +20971,9 @@ declare const thermostat_schedule: z.ZodObject<{
20958
20971
  }>, "many">;
20959
20972
  }, "strip", z.ZodTypeAny, {
20960
20973
  climate_preset_key: string;
20974
+ name: string | null;
20961
20975
  device_id: string;
20976
+ workspace_id: string;
20962
20977
  created_at: string;
20963
20978
  thermostat_schedule_id: string;
20964
20979
  starts_at: string;
@@ -20967,12 +20982,13 @@ declare const thermostat_schedule: z.ZodObject<{
20967
20982
  message: string;
20968
20983
  error_code: string;
20969
20984
  }[];
20970
- name?: string | undefined;
20971
20985
  max_override_period_minutes?: number | null | undefined;
20972
20986
  is_override_allowed?: boolean | undefined;
20973
20987
  }, {
20974
20988
  climate_preset_key: string;
20989
+ name: string | null;
20975
20990
  device_id: string;
20991
+ workspace_id: string;
20976
20992
  created_at: string;
20977
20993
  thermostat_schedule_id: string;
20978
20994
  starts_at: string;
@@ -20981,7 +20997,6 @@ declare const thermostat_schedule: z.ZodObject<{
20981
20997
  message: string;
20982
20998
  error_code: string;
20983
20999
  }[];
20984
- name?: string | undefined;
20985
21000
  max_override_period_minutes?: number | null | undefined;
20986
21001
  is_override_allowed?: boolean | undefined;
20987
21002
  }>;
@@ -20998,8 +21013,8 @@ declare const user_identity: z.ZodObject<{
20998
21013
  workspace_id: z.ZodString;
20999
21014
  }, "strip", z.ZodTypeAny, {
21000
21015
  display_name: string;
21001
- created_at: string;
21002
21016
  workspace_id: string;
21017
+ created_at: string;
21003
21018
  user_identity_id: string;
21004
21019
  email_address: string | null;
21005
21020
  full_name: string | null;
@@ -21007,8 +21022,8 @@ declare const user_identity: z.ZodObject<{
21007
21022
  user_identity_key: string | null;
21008
21023
  }, {
21009
21024
  display_name: string;
21010
- created_at: string;
21011
21025
  workspace_id: string;
21026
+ created_at: string;
21012
21027
  user_identity_id: string;
21013
21028
  email_address: string | null;
21014
21029
  full_name: string | null;
@@ -25690,6 +25705,7 @@ declare const _default: {
25690
25705
  };
25691
25706
  name: {
25692
25707
  description: string;
25708
+ nullable: boolean;
25693
25709
  type: string;
25694
25710
  };
25695
25711
  starts_at: {
@@ -25702,6 +25718,11 @@ declare const _default: {
25702
25718
  format: string;
25703
25719
  type: string;
25704
25720
  };
25721
+ workspace_id: {
25722
+ description: string;
25723
+ format: string;
25724
+ type: string;
25725
+ };
25705
25726
  };
25706
25727
  required: string[];
25707
25728
  type: string;
@@ -26033,7 +26054,6 @@ declare const _default: {
26033
26054
  type: string;
26034
26055
  };
26035
26056
  thermostat_daily_programs: {
26036
- default: null;
26037
26057
  items: {
26038
26058
  properties: {
26039
26059
  created_at: {
@@ -26048,6 +26068,7 @@ declare const _default: {
26048
26068
  };
26049
26069
  name: {
26050
26070
  description: string;
26071
+ nullable: boolean;
26051
26072
  type: string;
26052
26073
  };
26053
26074
  periods: {
@@ -26074,15 +26095,18 @@ declare const _default: {
26074
26095
  format: string;
26075
26096
  type: string;
26076
26097
  };
26098
+ workspace_id: {
26099
+ description: string;
26100
+ format: string;
26101
+ type: string;
26102
+ };
26077
26103
  };
26078
26104
  required: string[];
26079
26105
  type: string;
26080
26106
  };
26081
- nullable: boolean;
26082
26107
  type: string;
26083
26108
  };
26084
26109
  thermostat_weekly_program: {
26085
- default: null;
26086
26110
  nullable: boolean;
26087
26111
  properties: {
26088
26112
  created_at: {
@@ -26090,11 +26114,6 @@ declare const _default: {
26090
26114
  format: string;
26091
26115
  type: string;
26092
26116
  };
26093
- device_id: {
26094
- description: string;
26095
- format: string;
26096
- type: string;
26097
- };
26098
26117
  friday_program_id: {
26099
26118
  description: string;
26100
26119
  format: string;
@@ -29649,6 +29668,7 @@ declare const _default: {
29649
29668
  };
29650
29669
  name: {
29651
29670
  description: string;
29671
+ nullable: boolean;
29652
29672
  type: string;
29653
29673
  };
29654
29674
  starts_at: {
@@ -29661,6 +29681,11 @@ declare const _default: {
29661
29681
  format: string;
29662
29682
  type: string;
29663
29683
  };
29684
+ workspace_id: {
29685
+ description: string;
29686
+ format: string;
29687
+ type: string;
29688
+ };
29664
29689
  };
29665
29690
  required: string[];
29666
29691
  type: string;
@@ -39572,6 +39597,7 @@ declare const _default: {
39572
39597
  'x-fern-sdk-group-name': string[];
39573
39598
  'x-fern-sdk-method-name': string;
39574
39599
  'x-response-key': null;
39600
+ 'x-title': string;
39575
39601
  };
39576
39602
  };
39577
39603
  '/connected_accounts/get': {
@@ -39660,6 +39686,7 @@ declare const _default: {
39660
39686
  'x-fern-sdk-method-name': string;
39661
39687
  'x-fern-sdk-return-value': string;
39662
39688
  'x-response-key': string;
39689
+ 'x-title': string;
39663
39690
  };
39664
39691
  };
39665
39692
  '/connected_accounts/list': {
@@ -39753,6 +39780,7 @@ declare const _default: {
39753
39780
  'x-fern-sdk-method-name': string;
39754
39781
  'x-fern-sdk-return-value': string;
39755
39782
  'x-response-key': string;
39783
+ 'x-title': string;
39756
39784
  };
39757
39785
  };
39758
39786
  '/connected_accounts/update': {
@@ -39835,6 +39863,7 @@ declare const _default: {
39835
39863
  'x-fern-sdk-group-name': string[];
39836
39864
  'x-fern-sdk-method-name': string;
39837
39865
  'x-response-key': null;
39866
+ 'x-title': string;
39838
39867
  };
39839
39868
  };
39840
39869
  '/devices/delete': {
@@ -44440,36 +44469,43 @@ declare const _default: {
44440
44469
  friday_program_id: {
44441
44470
  description: string;
44442
44471
  format: string;
44472
+ nullable: boolean;
44443
44473
  type: string;
44444
44474
  };
44445
44475
  monday_program_id: {
44446
44476
  description: string;
44447
44477
  format: string;
44478
+ nullable: boolean;
44448
44479
  type: string;
44449
44480
  };
44450
44481
  saturday_program_id: {
44451
44482
  description: string;
44452
44483
  format: string;
44484
+ nullable: boolean;
44453
44485
  type: string;
44454
44486
  };
44455
44487
  sunday_program_id: {
44456
44488
  description: string;
44457
44489
  format: string;
44490
+ nullable: boolean;
44458
44491
  type: string;
44459
44492
  };
44460
44493
  thursday_program_id: {
44461
44494
  description: string;
44462
44495
  format: string;
44496
+ nullable: boolean;
44463
44497
  type: string;
44464
44498
  };
44465
44499
  tuesday_program_id: {
44466
44500
  description: string;
44467
44501
  format: string;
44502
+ nullable: boolean;
44468
44503
  type: string;
44469
44504
  };
44470
44505
  wednesday_program_id: {
44471
44506
  description: string;
44472
44507
  format: string;
44508
+ nullable: boolean;
44473
44509
  type: string;
44474
44510
  };
44475
44511
  };
@@ -44900,6 +44936,7 @@ declare const _default: {
44900
44936
  };
44901
44937
  name: {
44902
44938
  description: string;
44939
+ nullable: boolean;
44903
44940
  type: string;
44904
44941
  };
44905
44942
  periods: {
@@ -44926,6 +44963,11 @@ declare const _default: {
44926
44963
  format: string;
44927
44964
  type: string;
44928
44965
  };
44966
+ workspace_id: {
44967
+ description: string;
44968
+ format: string;
44969
+ type: string;
44970
+ };
44929
44971
  };
44930
44972
  required: string[];
44931
44973
  type: string;
@@ -71552,7 +71594,7 @@ interface Routes {
71552
71594
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
71553
71595
  device_id: string;
71554
71596
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
71555
- name?: string | undefined;
71597
+ name: string | null;
71556
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). */
71557
71599
  climate_preset_key: string;
71558
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). */
@@ -71563,6 +71605,8 @@ interface Routes {
71563
71605
  is_override_allowed?: boolean | undefined;
71564
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. */
71565
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;
71566
71610
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
71567
71611
  created_at: string;
71568
71612
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -71579,7 +71623,7 @@ interface Routes {
71579
71623
  /** ID of the desired thermostat device. */
71580
71624
  device_id: string;
71581
71625
  /** User-friendly name to identify the thermostat daily program. */
71582
- name?: string | undefined;
71626
+ name: string | null;
71583
71627
  /** Array of thermostat daily program periods. */
71584
71628
  periods: Array<{
71585
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. */
@@ -71587,12 +71631,12 @@ interface Routes {
71587
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. */
71588
71632
  climate_preset_key: string;
71589
71633
  }>;
71634
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
71635
+ workspace_id: string;
71590
71636
  /** Date and time at which the thermostat daily program was created. */
71591
71637
  created_at: string;
71592
- }> | null) | undefined;
71593
- thermostat_weekly_program?: ({
71594
- /** ID of the thermostat device the weekly program is for. */
71595
- device_id: string;
71638
+ }> | undefined) | undefined;
71639
+ thermostat_weekly_program?: (({
71596
71640
  /** ID of the thermostat daily program to run on Mondays. */
71597
71641
  monday_program_id: string | null;
71598
71642
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -71609,7 +71653,7 @@ interface Routes {
71609
71653
  sunday_program_id: string | null;
71610
71654
  /** Date and time at which the thermostat weekly program was created. */
71611
71655
  created_at: string;
71612
- } | null) | undefined;
71656
+ } | null) | undefined) | undefined;
71613
71657
  min_cooling_set_point_celsius?: number | undefined;
71614
71658
  min_cooling_set_point_fahrenheit?: number | undefined;
71615
71659
  max_cooling_set_point_celsius?: number | undefined;
@@ -72343,7 +72387,7 @@ interface Routes {
72343
72387
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
72344
72388
  device_id: string;
72345
72389
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
72346
- name?: string | undefined;
72390
+ name: string | null;
72347
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). */
72348
72392
  climate_preset_key: string;
72349
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). */
@@ -72354,6 +72398,8 @@ interface Routes {
72354
72398
  is_override_allowed?: boolean | undefined;
72355
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. */
72356
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;
72357
72403
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
72358
72404
  created_at: string;
72359
72405
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -72370,7 +72416,7 @@ interface Routes {
72370
72416
  /** ID of the desired thermostat device. */
72371
72417
  device_id: string;
72372
72418
  /** User-friendly name to identify the thermostat daily program. */
72373
- name?: string | undefined;
72419
+ name: string | null;
72374
72420
  /** Array of thermostat daily program periods. */
72375
72421
  periods: Array<{
72376
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. */
@@ -72378,12 +72424,12 @@ interface Routes {
72378
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. */
72379
72425
  climate_preset_key: string;
72380
72426
  }>;
72427
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
72428
+ workspace_id: string;
72381
72429
  /** Date and time at which the thermostat daily program was created. */
72382
72430
  created_at: string;
72383
- }> | null) | undefined;
72384
- thermostat_weekly_program?: ({
72385
- /** ID of the thermostat device the weekly program is for. */
72386
- device_id: string;
72431
+ }> | undefined) | undefined;
72432
+ thermostat_weekly_program?: (({
72387
72433
  /** ID of the thermostat daily program to run on Mondays. */
72388
72434
  monday_program_id: string | null;
72389
72435
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -72400,7 +72446,7 @@ interface Routes {
72400
72446
  sunday_program_id: string | null;
72401
72447
  /** Date and time at which the thermostat weekly program was created. */
72402
72448
  created_at: string;
72403
- } | null) | undefined;
72449
+ } | null) | undefined) | undefined;
72404
72450
  min_cooling_set_point_celsius?: number | undefined;
72405
72451
  min_cooling_set_point_fahrenheit?: number | undefined;
72406
72452
  max_cooling_set_point_celsius?: number | undefined;
@@ -76562,7 +76608,7 @@ interface Routes {
76562
76608
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
76563
76609
  device_id: string;
76564
76610
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
76565
- name?: string | undefined;
76611
+ name: string | null;
76566
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). */
76567
76613
  climate_preset_key: string;
76568
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). */
@@ -76573,6 +76619,8 @@ interface Routes {
76573
76619
  is_override_allowed?: boolean | undefined;
76574
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. */
76575
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;
76576
76624
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
76577
76625
  created_at: string;
76578
76626
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -76589,7 +76637,7 @@ interface Routes {
76589
76637
  /** ID of the desired thermostat device. */
76590
76638
  device_id: string;
76591
76639
  /** User-friendly name to identify the thermostat daily program. */
76592
- name?: string | undefined;
76640
+ name: string | null;
76593
76641
  /** Array of thermostat daily program periods. */
76594
76642
  periods: Array<{
76595
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. */
@@ -76597,12 +76645,12 @@ interface Routes {
76597
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. */
76598
76646
  climate_preset_key: string;
76599
76647
  }>;
76648
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
76649
+ workspace_id: string;
76600
76650
  /** Date and time at which the thermostat daily program was created. */
76601
76651
  created_at: string;
76602
- }> | null) | undefined;
76603
- thermostat_weekly_program?: ({
76604
- /** ID of the thermostat device the weekly program is for. */
76605
- device_id: string;
76652
+ }> | undefined) | undefined;
76653
+ thermostat_weekly_program?: (({
76606
76654
  /** ID of the thermostat daily program to run on Mondays. */
76607
76655
  monday_program_id: string | null;
76608
76656
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -76619,7 +76667,7 @@ interface Routes {
76619
76667
  sunday_program_id: string | null;
76620
76668
  /** Date and time at which the thermostat weekly program was created. */
76621
76669
  created_at: string;
76622
- } | null) | undefined;
76670
+ } | null) | undefined) | undefined;
76623
76671
  min_cooling_set_point_celsius?: number | undefined;
76624
76672
  min_cooling_set_point_fahrenheit?: number | undefined;
76625
76673
  max_cooling_set_point_celsius?: number | undefined;
@@ -77313,7 +77361,7 @@ interface Routes {
77313
77361
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
77314
77362
  device_id: string;
77315
77363
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
77316
- name?: string | undefined;
77364
+ name: string | null;
77317
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). */
77318
77366
  climate_preset_key: string;
77319
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). */
@@ -77324,6 +77372,8 @@ interface Routes {
77324
77372
  is_override_allowed?: boolean | undefined;
77325
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. */
77326
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;
77327
77377
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
77328
77378
  created_at: string;
77329
77379
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -77340,7 +77390,7 @@ interface Routes {
77340
77390
  /** ID of the desired thermostat device. */
77341
77391
  device_id: string;
77342
77392
  /** User-friendly name to identify the thermostat daily program. */
77343
- name?: string | undefined;
77393
+ name: string | null;
77344
77394
  /** Array of thermostat daily program periods. */
77345
77395
  periods: Array<{
77346
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. */
@@ -77348,12 +77398,12 @@ interface Routes {
77348
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. */
77349
77399
  climate_preset_key: string;
77350
77400
  }>;
77401
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
77402
+ workspace_id: string;
77351
77403
  /** Date and time at which the thermostat daily program was created. */
77352
77404
  created_at: string;
77353
- }> | null) | undefined;
77354
- thermostat_weekly_program?: ({
77355
- /** ID of the thermostat device the weekly program is for. */
77356
- device_id: string;
77405
+ }> | undefined) | undefined;
77406
+ thermostat_weekly_program?: (({
77357
77407
  /** ID of the thermostat daily program to run on Mondays. */
77358
77408
  monday_program_id: string | null;
77359
77409
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -77370,7 +77420,7 @@ interface Routes {
77370
77420
  sunday_program_id: string | null;
77371
77421
  /** Date and time at which the thermostat weekly program was created. */
77372
77422
  created_at: string;
77373
- } | null) | undefined;
77423
+ } | null) | undefined) | undefined;
77374
77424
  min_cooling_set_point_celsius?: number | undefined;
77375
77425
  min_cooling_set_point_fahrenheit?: number | undefined;
77376
77426
  max_cooling_set_point_celsius?: number | undefined;
@@ -78104,7 +78154,7 @@ interface Routes {
78104
78154
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
78105
78155
  device_id: string;
78106
78156
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
78107
- name?: string | undefined;
78157
+ name: string | null;
78108
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). */
78109
78159
  climate_preset_key: string;
78110
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). */
@@ -78115,6 +78165,8 @@ interface Routes {
78115
78165
  is_override_allowed?: boolean | undefined;
78116
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. */
78117
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;
78118
78170
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
78119
78171
  created_at: string;
78120
78172
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -78131,7 +78183,7 @@ interface Routes {
78131
78183
  /** ID of the desired thermostat device. */
78132
78184
  device_id: string;
78133
78185
  /** User-friendly name to identify the thermostat daily program. */
78134
- name?: string | undefined;
78186
+ name: string | null;
78135
78187
  /** Array of thermostat daily program periods. */
78136
78188
  periods: Array<{
78137
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. */
@@ -78139,12 +78191,12 @@ interface Routes {
78139
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. */
78140
78192
  climate_preset_key: string;
78141
78193
  }>;
78194
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
78195
+ workspace_id: string;
78142
78196
  /** Date and time at which the thermostat daily program was created. */
78143
78197
  created_at: string;
78144
- }> | null) | undefined;
78145
- thermostat_weekly_program?: ({
78146
- /** ID of the thermostat device the weekly program is for. */
78147
- device_id: string;
78198
+ }> | undefined) | undefined;
78199
+ thermostat_weekly_program?: (({
78148
78200
  /** ID of the thermostat daily program to run on Mondays. */
78149
78201
  monday_program_id: string | null;
78150
78202
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -78161,7 +78213,7 @@ interface Routes {
78161
78213
  sunday_program_id: string | null;
78162
78214
  /** Date and time at which the thermostat weekly program was created. */
78163
78215
  created_at: string;
78164
- } | null) | undefined;
78216
+ } | null) | undefined) | undefined;
78165
78217
  min_cooling_set_point_celsius?: number | undefined;
78166
78218
  min_cooling_set_point_fahrenheit?: number | undefined;
78167
78219
  max_cooling_set_point_celsius?: number | undefined;
@@ -78854,7 +78906,7 @@ interface Routes {
78854
78906
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
78855
78907
  device_id: string;
78856
78908
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
78857
- name?: string | undefined;
78909
+ name: string | null;
78858
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). */
78859
78911
  climate_preset_key: string;
78860
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). */
@@ -78865,6 +78917,8 @@ interface Routes {
78865
78917
  is_override_allowed?: boolean | undefined;
78866
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. */
78867
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;
78868
78922
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
78869
78923
  created_at: string;
78870
78924
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -78881,7 +78935,7 @@ interface Routes {
78881
78935
  /** ID of the desired thermostat device. */
78882
78936
  device_id: string;
78883
78937
  /** User-friendly name to identify the thermostat daily program. */
78884
- name?: string | undefined;
78938
+ name: string | null;
78885
78939
  /** Array of thermostat daily program periods. */
78886
78940
  periods: Array<{
78887
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. */
@@ -78889,12 +78943,12 @@ interface Routes {
78889
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. */
78890
78944
  climate_preset_key: string;
78891
78945
  }>;
78946
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
78947
+ workspace_id: string;
78892
78948
  /** Date and time at which the thermostat daily program was created. */
78893
78949
  created_at: string;
78894
- }> | null) | undefined;
78895
- thermostat_weekly_program?: ({
78896
- /** ID of the thermostat device the weekly program is for. */
78897
- device_id: string;
78950
+ }> | undefined) | undefined;
78951
+ thermostat_weekly_program?: (({
78898
78952
  /** ID of the thermostat daily program to run on Mondays. */
78899
78953
  monday_program_id: string | null;
78900
78954
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -78911,7 +78965,7 @@ interface Routes {
78911
78965
  sunday_program_id: string | null;
78912
78966
  /** Date and time at which the thermostat weekly program was created. */
78913
78967
  created_at: string;
78914
- } | null) | undefined;
78968
+ } | null) | undefined) | undefined;
78915
78969
  min_cooling_set_point_celsius?: number | undefined;
78916
78970
  min_cooling_set_point_fahrenheit?: number | undefined;
78917
78971
  max_cooling_set_point_celsius?: number | undefined;
@@ -84143,7 +84197,7 @@ interface Routes {
84143
84197
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
84144
84198
  device_id: string;
84145
84199
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
84146
- name?: string | undefined;
84200
+ name: string | null;
84147
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). */
84148
84202
  climate_preset_key: string;
84149
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). */
@@ -84154,6 +84208,8 @@ interface Routes {
84154
84208
  is_override_allowed?: boolean | undefined;
84155
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. */
84156
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;
84157
84213
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
84158
84214
  created_at: string;
84159
84215
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -84170,7 +84226,7 @@ interface Routes {
84170
84226
  /** ID of the desired thermostat device. */
84171
84227
  device_id: string;
84172
84228
  /** User-friendly name to identify the thermostat daily program. */
84173
- name?: string | undefined;
84229
+ name: string | null;
84174
84230
  /** Array of thermostat daily program periods. */
84175
84231
  periods: Array<{
84176
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. */
@@ -84178,12 +84234,12 @@ interface Routes {
84178
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. */
84179
84235
  climate_preset_key: string;
84180
84236
  }>;
84237
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
84238
+ workspace_id: string;
84181
84239
  /** Date and time at which the thermostat daily program was created. */
84182
84240
  created_at: string;
84183
- }> | null) | undefined;
84184
- thermostat_weekly_program?: ({
84185
- /** ID of the thermostat device the weekly program is for. */
84186
- device_id: string;
84241
+ }> | undefined) | undefined;
84242
+ thermostat_weekly_program?: (({
84187
84243
  /** ID of the thermostat daily program to run on Mondays. */
84188
84244
  monday_program_id: string | null;
84189
84245
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -84200,7 +84256,7 @@ interface Routes {
84200
84256
  sunday_program_id: string | null;
84201
84257
  /** Date and time at which the thermostat weekly program was created. */
84202
84258
  created_at: string;
84203
- } | null) | undefined;
84259
+ } | null) | undefined) | undefined;
84204
84260
  min_cooling_set_point_celsius?: number | undefined;
84205
84261
  min_cooling_set_point_fahrenheit?: number | undefined;
84206
84262
  max_cooling_set_point_celsius?: number | undefined;
@@ -84893,7 +84949,7 @@ interface Routes {
84893
84949
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
84894
84950
  device_id: string;
84895
84951
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
84896
- name?: string | undefined;
84952
+ name: string | null;
84897
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). */
84898
84954
  climate_preset_key: string;
84899
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). */
@@ -84904,6 +84960,8 @@ interface Routes {
84904
84960
  is_override_allowed?: boolean | undefined;
84905
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. */
84906
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;
84907
84965
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
84908
84966
  created_at: string;
84909
84967
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -84920,7 +84978,7 @@ interface Routes {
84920
84978
  /** ID of the desired thermostat device. */
84921
84979
  device_id: string;
84922
84980
  /** User-friendly name to identify the thermostat daily program. */
84923
- name?: string | undefined;
84981
+ name: string | null;
84924
84982
  /** Array of thermostat daily program periods. */
84925
84983
  periods: Array<{
84926
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. */
@@ -84928,12 +84986,12 @@ interface Routes {
84928
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. */
84929
84987
  climate_preset_key: string;
84930
84988
  }>;
84989
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
84990
+ workspace_id: string;
84931
84991
  /** Date and time at which the thermostat daily program was created. */
84932
84992
  created_at: string;
84933
- }> | null) | undefined;
84934
- thermostat_weekly_program?: ({
84935
- /** ID of the thermostat device the weekly program is for. */
84936
- device_id: string;
84993
+ }> | undefined) | undefined;
84994
+ thermostat_weekly_program?: (({
84937
84995
  /** ID of the thermostat daily program to run on Mondays. */
84938
84996
  monday_program_id: string | null;
84939
84997
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -84950,7 +85008,7 @@ interface Routes {
84950
85008
  sunday_program_id: string | null;
84951
85009
  /** Date and time at which the thermostat weekly program was created. */
84952
85010
  created_at: string;
84953
- } | null) | undefined;
85011
+ } | null) | undefined) | undefined;
84954
85012
  min_cooling_set_point_celsius?: number | undefined;
84955
85013
  min_cooling_set_point_fahrenheit?: number | undefined;
84956
85014
  max_cooling_set_point_celsius?: number | undefined;
@@ -90328,19 +90386,19 @@ interface Routes {
90328
90386
  /** ID of the thermostat device that the weekly program is for. */
90329
90387
  device_id: string;
90330
90388
  /** ID of the thermostat daily program to run on Mondays. */
90331
- monday_program_id?: string | undefined;
90389
+ monday_program_id?: (string | undefined) | null;
90332
90390
  /** ID of the thermostat daily program to run on Tuesdays. */
90333
- tuesday_program_id?: string | undefined;
90391
+ tuesday_program_id?: (string | undefined) | null;
90334
90392
  /** ID of the thermostat daily program to run on Wednesdays. */
90335
- wednesday_program_id?: string | undefined;
90393
+ wednesday_program_id?: (string | undefined) | null;
90336
90394
  /** ID of the thermostat daily program to run on Thursdays. */
90337
- thursday_program_id?: string | undefined;
90395
+ thursday_program_id?: (string | undefined) | null;
90338
90396
  /** ID of the thermostat daily program to run on Fridays. */
90339
- friday_program_id?: string | undefined;
90397
+ friday_program_id?: (string | undefined) | null;
90340
90398
  /** ID of the thermostat daily program to run on Saturdays. */
90341
- saturday_program_id?: string | undefined;
90399
+ saturday_program_id?: (string | undefined) | null;
90342
90400
  /** ID of the thermostat daily program to run on Sundays. */
90343
- sunday_program_id?: string | undefined;
90401
+ sunday_program_id?: (string | undefined) | null;
90344
90402
  };
90345
90403
  commonParams: {};
90346
90404
  formData: {};
@@ -93745,7 +93803,7 @@ interface Routes {
93745
93803
  /** ID of the desired thermostat device. */
93746
93804
  device_id: string;
93747
93805
  /** User-friendly name to identify the thermostat daily program. */
93748
- name?: string | undefined;
93806
+ name: string | null;
93749
93807
  /** Array of thermostat daily program periods. */
93750
93808
  periods: Array<{
93751
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. */
@@ -93753,6 +93811,8 @@ interface Routes {
93753
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. */
93754
93812
  climate_preset_key: string;
93755
93813
  }>;
93814
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
93815
+ workspace_id: string;
93756
93816
  /** Date and time at which the thermostat daily program was created. */
93757
93817
  created_at: string;
93758
93818
  };
@@ -95385,7 +95445,7 @@ interface Routes {
95385
95445
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
95386
95446
  device_id: string;
95387
95447
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
95388
- name?: string | undefined;
95448
+ name: string | null;
95389
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). */
95390
95450
  climate_preset_key: string;
95391
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). */
@@ -95396,6 +95456,8 @@ interface Routes {
95396
95456
  is_override_allowed?: boolean | undefined;
95397
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. */
95398
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;
95399
95461
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
95400
95462
  created_at: string;
95401
95463
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -95412,7 +95474,7 @@ interface Routes {
95412
95474
  /** ID of the desired thermostat device. */
95413
95475
  device_id: string;
95414
95476
  /** User-friendly name to identify the thermostat daily program. */
95415
- name?: string | undefined;
95477
+ name: string | null;
95416
95478
  /** Array of thermostat daily program periods. */
95417
95479
  periods: Array<{
95418
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. */
@@ -95420,12 +95482,12 @@ interface Routes {
95420
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. */
95421
95483
  climate_preset_key: string;
95422
95484
  }>;
95485
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
95486
+ workspace_id: string;
95423
95487
  /** Date and time at which the thermostat daily program was created. */
95424
95488
  created_at: string;
95425
- }> | null) | undefined;
95426
- thermostat_weekly_program?: ({
95427
- /** ID of the thermostat device the weekly program is for. */
95428
- device_id: string;
95489
+ }> | undefined) | undefined;
95490
+ thermostat_weekly_program?: (({
95429
95491
  /** ID of the thermostat daily program to run on Mondays. */
95430
95492
  monday_program_id: string | null;
95431
95493
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -95442,7 +95504,7 @@ interface Routes {
95442
95504
  sunday_program_id: string | null;
95443
95505
  /** Date and time at which the thermostat weekly program was created. */
95444
95506
  created_at: string;
95445
- } | null) | undefined;
95507
+ } | null) | undefined) | undefined;
95446
95508
  min_cooling_set_point_celsius?: number | undefined;
95447
95509
  min_cooling_set_point_fahrenheit?: number | undefined;
95448
95510
  max_cooling_set_point_celsius?: number | undefined;
@@ -98424,7 +98486,7 @@ interface Routes {
98424
98486
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
98425
98487
  device_id: string;
98426
98488
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
98427
- name?: string | undefined;
98489
+ name: string | null;
98428
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). */
98429
98491
  climate_preset_key: string;
98430
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). */
@@ -98435,6 +98497,8 @@ interface Routes {
98435
98497
  is_override_allowed?: boolean | undefined;
98436
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. */
98437
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;
98438
98502
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
98439
98503
  created_at: string;
98440
98504
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -98451,7 +98515,7 @@ interface Routes {
98451
98515
  /** ID of the desired thermostat device. */
98452
98516
  device_id: string;
98453
98517
  /** User-friendly name to identify the thermostat daily program. */
98454
- name?: string | undefined;
98518
+ name: string | null;
98455
98519
  /** Array of thermostat daily program periods. */
98456
98520
  periods: Array<{
98457
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. */
@@ -98459,12 +98523,12 @@ interface Routes {
98459
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. */
98460
98524
  climate_preset_key: string;
98461
98525
  }>;
98526
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
98527
+ workspace_id: string;
98462
98528
  /** Date and time at which the thermostat daily program was created. */
98463
98529
  created_at: string;
98464
- }> | null) | undefined;
98465
- thermostat_weekly_program?: ({
98466
- /** ID of the thermostat device the weekly program is for. */
98467
- device_id: string;
98530
+ }> | undefined) | undefined;
98531
+ thermostat_weekly_program?: (({
98468
98532
  /** ID of the thermostat daily program to run on Mondays. */
98469
98533
  monday_program_id: string | null;
98470
98534
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -98481,7 +98545,7 @@ interface Routes {
98481
98545
  sunday_program_id: string | null;
98482
98546
  /** Date and time at which the thermostat weekly program was created. */
98483
98547
  created_at: string;
98484
- } | null) | undefined;
98548
+ } | null) | undefined) | undefined;
98485
98549
  min_cooling_set_point_celsius?: number | undefined;
98486
98550
  min_cooling_set_point_fahrenheit?: number | undefined;
98487
98551
  max_cooling_set_point_celsius?: number | undefined;
@@ -99174,7 +99238,7 @@ interface Routes {
99174
99238
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
99175
99239
  device_id: string;
99176
99240
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
99177
- name?: string | undefined;
99241
+ name: string | null;
99178
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). */
99179
99243
  climate_preset_key: string;
99180
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). */
@@ -99185,6 +99249,8 @@ interface Routes {
99185
99249
  is_override_allowed?: boolean | undefined;
99186
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. */
99187
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;
99188
99254
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
99189
99255
  created_at: string;
99190
99256
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -99201,7 +99267,7 @@ interface Routes {
99201
99267
  /** ID of the desired thermostat device. */
99202
99268
  device_id: string;
99203
99269
  /** User-friendly name to identify the thermostat daily program. */
99204
- name?: string | undefined;
99270
+ name: string | null;
99205
99271
  /** Array of thermostat daily program periods. */
99206
99272
  periods: Array<{
99207
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. */
@@ -99209,12 +99275,12 @@ interface Routes {
99209
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. */
99210
99276
  climate_preset_key: string;
99211
99277
  }>;
99278
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
99279
+ workspace_id: string;
99212
99280
  /** Date and time at which the thermostat daily program was created. */
99213
99281
  created_at: string;
99214
- }> | null) | undefined;
99215
- thermostat_weekly_program?: ({
99216
- /** ID of the thermostat device the weekly program is for. */
99217
- device_id: string;
99282
+ }> | undefined) | undefined;
99283
+ thermostat_weekly_program?: (({
99218
99284
  /** ID of the thermostat daily program to run on Mondays. */
99219
99285
  monday_program_id: string | null;
99220
99286
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -99231,7 +99297,7 @@ interface Routes {
99231
99297
  sunday_program_id: string | null;
99232
99298
  /** Date and time at which the thermostat weekly program was created. */
99233
99299
  created_at: string;
99234
- } | null) | undefined;
99300
+ } | null) | undefined) | undefined;
99235
99301
  min_cooling_set_point_celsius?: number | undefined;
99236
99302
  min_cooling_set_point_fahrenheit?: number | undefined;
99237
99303
  max_cooling_set_point_celsius?: number | undefined;
@@ -100612,7 +100678,7 @@ interface Routes {
100612
100678
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
100613
100679
  device_id: string;
100614
100680
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100615
- name?: string | undefined;
100681
+ name: string | null;
100616
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). */
100617
100683
  climate_preset_key: string;
100618
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). */
@@ -100623,6 +100689,8 @@ interface Routes {
100623
100689
  is_override_allowed?: boolean | undefined;
100624
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. */
100625
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;
100626
100694
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
100627
100695
  created_at: string;
100628
100696
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -100665,7 +100733,7 @@ interface Routes {
100665
100733
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
100666
100734
  device_id: string;
100667
100735
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100668
- name?: string | undefined;
100736
+ name: string | null;
100669
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). */
100670
100738
  climate_preset_key: string;
100671
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). */
@@ -100676,6 +100744,8 @@ interface Routes {
100676
100744
  is_override_allowed?: boolean | undefined;
100677
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. */
100678
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;
100679
100749
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
100680
100750
  created_at: string;
100681
100751
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -100707,7 +100777,7 @@ interface Routes {
100707
100777
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
100708
100778
  device_id: string;
100709
100779
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
100710
- name?: string | undefined;
100780
+ name: string | null;
100711
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). */
100712
100782
  climate_preset_key: string;
100713
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). */
@@ -100718,6 +100788,8 @@ interface Routes {
100718
100788
  is_override_allowed?: boolean | undefined;
100719
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. */
100720
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;
100721
100793
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
100722
100794
  created_at: string;
100723
100795
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -104287,7 +104359,7 @@ interface Routes {
104287
104359
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
104288
104360
  device_id: string;
104289
104361
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
104290
- name?: string | undefined;
104362
+ name: string | null;
104291
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). */
104292
104364
  climate_preset_key: string;
104293
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). */
@@ -104298,6 +104370,8 @@ interface Routes {
104298
104370
  is_override_allowed?: boolean | undefined;
104299
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. */
104300
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;
104301
104375
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
104302
104376
  created_at: string;
104303
104377
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -104314,7 +104388,7 @@ interface Routes {
104314
104388
  /** ID of the desired thermostat device. */
104315
104389
  device_id: string;
104316
104390
  /** User-friendly name to identify the thermostat daily program. */
104317
- name?: string | undefined;
104391
+ name: string | null;
104318
104392
  /** Array of thermostat daily program periods. */
104319
104393
  periods: Array<{
104320
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. */
@@ -104322,12 +104396,12 @@ interface Routes {
104322
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. */
104323
104397
  climate_preset_key: string;
104324
104398
  }>;
104399
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
104400
+ workspace_id: string;
104325
104401
  /** Date and time at which the thermostat daily program was created. */
104326
104402
  created_at: string;
104327
- }> | null) | undefined;
104328
- thermostat_weekly_program?: ({
104329
- /** ID of the thermostat device the weekly program is for. */
104330
- device_id: string;
104403
+ }> | undefined) | undefined;
104404
+ thermostat_weekly_program?: (({
104331
104405
  /** ID of the thermostat daily program to run on Mondays. */
104332
104406
  monday_program_id: string | null;
104333
104407
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -104344,7 +104418,7 @@ interface Routes {
104344
104418
  sunday_program_id: string | null;
104345
104419
  /** Date and time at which the thermostat weekly program was created. */
104346
104420
  created_at: string;
104347
- } | null) | undefined;
104421
+ } | null) | undefined) | undefined;
104348
104422
  min_cooling_set_point_celsius?: number | undefined;
104349
104423
  min_cooling_set_point_fahrenheit?: number | undefined;
104350
104424
  max_cooling_set_point_celsius?: number | undefined;
@@ -105039,7 +105113,7 @@ interface Routes {
105039
105113
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
105040
105114
  device_id: string;
105041
105115
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
105042
- name?: string | undefined;
105116
+ name: string | null;
105043
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). */
105044
105118
  climate_preset_key: string;
105045
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). */
@@ -105050,6 +105124,8 @@ interface Routes {
105050
105124
  is_override_allowed?: boolean | undefined;
105051
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. */
105052
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;
105053
105129
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
105054
105130
  created_at: string;
105055
105131
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -105066,7 +105142,7 @@ interface Routes {
105066
105142
  /** ID of the desired thermostat device. */
105067
105143
  device_id: string;
105068
105144
  /** User-friendly name to identify the thermostat daily program. */
105069
- name?: string | undefined;
105145
+ name: string | null;
105070
105146
  /** Array of thermostat daily program periods. */
105071
105147
  periods: Array<{
105072
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. */
@@ -105074,12 +105150,12 @@ interface Routes {
105074
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. */
105075
105151
  climate_preset_key: string;
105076
105152
  }>;
105153
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
105154
+ workspace_id: string;
105077
105155
  /** Date and time at which the thermostat daily program was created. */
105078
105156
  created_at: string;
105079
- }> | null) | undefined;
105080
- thermostat_weekly_program?: ({
105081
- /** ID of the thermostat device the weekly program is for. */
105082
- device_id: string;
105157
+ }> | undefined) | undefined;
105158
+ thermostat_weekly_program?: (({
105083
105159
  /** ID of the thermostat daily program to run on Mondays. */
105084
105160
  monday_program_id: string | null;
105085
105161
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -105096,7 +105172,7 @@ interface Routes {
105096
105172
  sunday_program_id: string | null;
105097
105173
  /** Date and time at which the thermostat weekly program was created. */
105098
105174
  created_at: string;
105099
- } | null) | undefined;
105175
+ } | null) | undefined) | undefined;
105100
105176
  min_cooling_set_point_celsius?: number | undefined;
105101
105177
  min_cooling_set_point_fahrenheit?: number | undefined;
105102
105178
  max_cooling_set_point_celsius?: number | undefined;