@seamapi/types 1.242.0 → 1.243.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/connect.cjs +134 -45
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +484 -62
  4. package/dist/devicedb.cjs +9 -6
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +123 -70
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
  8. package/lib/seam/connect/models/acs/acs-system.js +23 -20
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-user.d.ts +8 -8
  11. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  12. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
  13. package/lib/seam/connect/models/devices/device-metadata.d.ts +78 -0
  14. package/lib/seam/connect/models/devices/device-metadata.js +14 -0
  15. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  16. package/lib/seam/connect/models/devices/device.d.ts +108 -6
  17. package/lib/seam/connect/models/devices/phone.d.ts +83 -5
  18. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +83 -5
  19. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
  20. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  21. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  22. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  23. package/lib/seam/connect/models/thermostats/index.js +1 -1
  24. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  25. package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
  26. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
  27. package/lib/seam/connect/openapi.d.ts +49 -0
  28. package/lib/seam/connect/openapi.js +87 -22
  29. package/lib/seam/connect/openapi.js.map +1 -1
  30. package/lib/seam/connect/route-types.d.ts +208 -36
  31. package/lib/seam/devicedb/models/device-model.d.ts +59 -24
  32. package/lib/seam/devicedb/models/device-model.js +9 -6
  33. package/lib/seam/devicedb/models/device-model.js.map +1 -1
  34. package/lib/seam/devicedb/route-specs.d.ts +56 -38
  35. package/lib/seam/devicedb/route-types.d.ts +8 -8
  36. package/package.json +1 -1
  37. package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
  38. package/src/lib/seam/connect/models/devices/device-metadata.ts +16 -0
  39. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  40. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  41. package/src/lib/seam/connect/openapi.ts +90 -22
  42. package/src/lib/seam/connect/route-types.ts +236 -36
  43. package/src/lib/seam/devicedb/models/device-model.ts +24 -19
  44. package/src/lib/seam/devicedb/route-types.ts +8 -8
  45. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
  46. /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
  47. /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
@@ -827,41 +827,54 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
827
827
  created_at: z.ZodString;
828
828
  message: z.ZodString;
829
829
  }, {
830
- error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
830
+ error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
831
+ }>, "strip", z.ZodTypeAny, {
832
+ message: string;
833
+ error_code: "salto_ks_subscription_limit_exceeded";
834
+ created_at: string;
835
+ }, {
836
+ message: string;
837
+ error_code: "salto_ks_subscription_limit_exceeded";
838
+ created_at: string;
839
+ }>, z.ZodObject<z.objectUtil.extendShape<{
840
+ created_at: z.ZodString;
841
+ message: z.ZodString;
842
+ }, {
843
+ error_code: z.ZodLiteral<"acs_system_disconnected">;
831
844
  }>, "strip", z.ZodTypeAny, {
832
845
  message: string;
833
- error_code: "salto_site_user_limit_reached";
846
+ error_code: "acs_system_disconnected";
834
847
  created_at: string;
835
848
  }, {
836
849
  message: string;
837
- error_code: "salto_site_user_limit_reached";
850
+ error_code: "acs_system_disconnected";
838
851
  created_at: string;
839
852
  }>, z.ZodObject<z.objectUtil.extendShape<{
840
853
  created_at: z.ZodString;
841
854
  message: z.ZodString;
842
855
  }, {
843
- error_code: z.ZodLiteral<"salto_seam_integration_blocked">;
856
+ error_code: z.ZodLiteral<"account_disconnected">;
844
857
  }>, "strip", z.ZodTypeAny, {
845
858
  message: string;
846
- error_code: "salto_seam_integration_blocked";
859
+ error_code: "account_disconnected";
847
860
  created_at: string;
848
861
  }, {
849
862
  message: string;
850
- error_code: "salto_seam_integration_blocked";
863
+ error_code: "account_disconnected";
851
864
  created_at: string;
852
865
  }>]>, "many">;
853
866
  warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
854
867
  created_at: z.ZodString;
855
868
  message: z.ZodString;
856
869
  }, {
857
- warning_code: z.ZodLiteral<"salto_site_user_limit_almost_reached">;
870
+ warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
858
871
  }>, "strip", z.ZodTypeAny, {
859
872
  message: string;
860
- warning_code: "salto_site_user_limit_almost_reached";
873
+ warning_code: "salto_ks_subscription_limit_almost_reached";
861
874
  created_at: string;
862
875
  }, {
863
876
  message: string;
864
- warning_code: "salto_site_user_limit_almost_reached";
877
+ warning_code: "salto_ks_subscription_limit_almost_reached";
865
878
  created_at: string;
866
879
  }>, "many">;
867
880
  }, {
@@ -881,16 +894,20 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
881
894
  created_at: string;
882
895
  } | {
883
896
  message: string;
884
- error_code: "salto_site_user_limit_reached";
897
+ error_code: "salto_ks_subscription_limit_exceeded";
898
+ created_at: string;
899
+ } | {
900
+ message: string;
901
+ error_code: "acs_system_disconnected";
885
902
  created_at: string;
886
903
  } | {
887
904
  message: string;
888
- error_code: "salto_seam_integration_blocked";
905
+ error_code: "account_disconnected";
889
906
  created_at: string;
890
907
  })[];
891
908
  warnings: {
892
909
  message: string;
893
- warning_code: "salto_site_user_limit_almost_reached";
910
+ warning_code: "salto_ks_subscription_limit_almost_reached";
894
911
  created_at: string;
895
912
  }[];
896
913
  name: string;
@@ -924,16 +941,20 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
924
941
  created_at: string;
925
942
  } | {
926
943
  message: string;
927
- error_code: "salto_site_user_limit_reached";
944
+ error_code: "salto_ks_subscription_limit_exceeded";
945
+ created_at: string;
946
+ } | {
947
+ message: string;
948
+ error_code: "acs_system_disconnected";
928
949
  created_at: string;
929
950
  } | {
930
951
  message: string;
931
- error_code: "salto_seam_integration_blocked";
952
+ error_code: "account_disconnected";
932
953
  created_at: string;
933
954
  })[];
934
955
  warnings: {
935
956
  message: string;
936
- warning_code: "salto_site_user_limit_almost_reached";
957
+ warning_code: "salto_ks_subscription_limit_almost_reached";
937
958
  created_at: string;
938
959
  }[];
939
960
  name: string;
@@ -3566,14 +3587,68 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
3566
3587
  lock_id: z.ZodNumber;
3567
3588
  lock_alias: z.ZodString;
3568
3589
  feature_value: z.ZodString;
3590
+ features: z.ZodObject<{
3591
+ passcode: z.ZodBoolean;
3592
+ passcode_management: z.ZodBoolean;
3593
+ unlock_via_gateway: z.ZodBoolean;
3594
+ lock_command: z.ZodBoolean;
3595
+ incomplete_keyboard_passcode: z.ZodBoolean;
3596
+ }, "strip", z.ZodTypeAny, {
3597
+ passcode: boolean;
3598
+ passcode_management: boolean;
3599
+ unlock_via_gateway: boolean;
3600
+ lock_command: boolean;
3601
+ incomplete_keyboard_passcode: boolean;
3602
+ }, {
3603
+ passcode: boolean;
3604
+ passcode_management: boolean;
3605
+ unlock_via_gateway: boolean;
3606
+ lock_command: boolean;
3607
+ incomplete_keyboard_passcode: boolean;
3608
+ }>;
3609
+ has_gateway: z.ZodOptional<z.ZodBoolean>;
3610
+ wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
3611
+ wireless_keypad_id: z.ZodNumber;
3612
+ wireless_keypad_name: z.ZodString;
3613
+ }, "strip", z.ZodTypeAny, {
3614
+ wireless_keypad_id: number;
3615
+ wireless_keypad_name: string;
3616
+ }, {
3617
+ wireless_keypad_id: number;
3618
+ wireless_keypad_name: string;
3619
+ }>, "many">>;
3569
3620
  }, "strip", z.ZodTypeAny, {
3570
3621
  lock_id: number;
3571
3622
  lock_alias: string;
3572
3623
  feature_value: string;
3624
+ features: {
3625
+ passcode: boolean;
3626
+ passcode_management: boolean;
3627
+ unlock_via_gateway: boolean;
3628
+ lock_command: boolean;
3629
+ incomplete_keyboard_passcode: boolean;
3630
+ };
3631
+ has_gateway?: boolean | undefined;
3632
+ wireless_keypads?: {
3633
+ wireless_keypad_id: number;
3634
+ wireless_keypad_name: string;
3635
+ }[] | undefined;
3573
3636
  }, {
3574
3637
  lock_id: number;
3575
3638
  lock_alias: string;
3576
3639
  feature_value: string;
3640
+ features: {
3641
+ passcode: boolean;
3642
+ passcode_management: boolean;
3643
+ unlock_via_gateway: boolean;
3644
+ lock_command: boolean;
3645
+ incomplete_keyboard_passcode: boolean;
3646
+ };
3647
+ has_gateway?: boolean | undefined;
3648
+ wireless_keypads?: {
3649
+ wireless_keypad_id: number;
3650
+ wireless_keypad_name: string;
3651
+ }[] | undefined;
3577
3652
  }>>;
3578
3653
  seam_bridge_metadata: z.ZodOptional<z.ZodObject<{
3579
3654
  unlock_method: z.ZodOptional<z.ZodEnum<["bridge", "doorking"]>>;
@@ -3908,6 +3983,18 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
3908
3983
  lock_id: number;
3909
3984
  lock_alias: string;
3910
3985
  feature_value: string;
3986
+ features: {
3987
+ passcode: boolean;
3988
+ passcode_management: boolean;
3989
+ unlock_via_gateway: boolean;
3990
+ lock_command: boolean;
3991
+ incomplete_keyboard_passcode: boolean;
3992
+ };
3993
+ has_gateway?: boolean | undefined;
3994
+ wireless_keypads?: {
3995
+ wireless_keypad_id: number;
3996
+ wireless_keypad_name: string;
3997
+ }[] | undefined;
3911
3998
  } | undefined;
3912
3999
  seam_bridge_metadata?: {
3913
4000
  name: string;
@@ -4098,6 +4185,18 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4098
4185
  lock_id: number;
4099
4186
  lock_alias: string;
4100
4187
  feature_value: string;
4188
+ features: {
4189
+ passcode: boolean;
4190
+ passcode_management: boolean;
4191
+ unlock_via_gateway: boolean;
4192
+ lock_command: boolean;
4193
+ incomplete_keyboard_passcode: boolean;
4194
+ };
4195
+ has_gateway?: boolean | undefined;
4196
+ wireless_keypads?: {
4197
+ wireless_keypad_id: number;
4198
+ wireless_keypad_name: string;
4199
+ }[] | undefined;
4101
4200
  } | undefined;
4102
4201
  seam_bridge_metadata?: {
4103
4202
  name: string;
@@ -4254,7 +4353,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4254
4353
  climate_preset_key: z.ZodOptional<z.ZodString>;
4255
4354
  can_edit: z.ZodOptional<z.ZodBoolean>;
4256
4355
  can_delete: z.ZodOptional<z.ZodBoolean>;
4257
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4356
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
4258
4357
  display_name: z.ZodOptional<z.ZodString>;
4259
4358
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
4260
4359
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -4294,7 +4393,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4294
4393
  climate_preset_key: z.ZodOptional<z.ZodString>;
4295
4394
  can_edit: z.ZodOptional<z.ZodBoolean>;
4296
4395
  can_delete: z.ZodOptional<z.ZodBoolean>;
4297
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4396
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
4298
4397
  display_name: z.ZodOptional<z.ZodString>;
4299
4398
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
4300
4399
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -4334,7 +4433,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4334
4433
  climate_preset_key: z.ZodString;
4335
4434
  can_edit: z.ZodBoolean;
4336
4435
  can_delete: z.ZodBoolean;
4337
- name: z.ZodNullable<z.ZodString>;
4436
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4338
4437
  display_name: z.ZodString;
4339
4438
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
4340
4439
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -4360,9 +4459,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4360
4459
  climate_preset_key: string;
4361
4460
  can_edit: boolean;
4362
4461
  can_delete: boolean;
4363
- name: string | null;
4364
4462
  display_name: string;
4365
4463
  manual_override_allowed: boolean;
4464
+ name?: string | null | undefined;
4366
4465
  fan_mode_setting?: "auto" | "on" | undefined;
4367
4466
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
4368
4467
  cooling_set_point_celsius?: number | undefined;
@@ -4528,9 +4627,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4528
4627
  climate_preset_key: string;
4529
4628
  can_edit: boolean;
4530
4629
  can_delete: boolean;
4531
- name: string | null;
4532
4630
  display_name: string;
4533
4631
  manual_override_allowed: boolean;
4632
+ name?: string | null | undefined;
4534
4633
  fan_mode_setting?: "auto" | "on" | undefined;
4535
4634
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
4536
4635
  cooling_set_point_celsius?: number | undefined;
@@ -4812,6 +4911,18 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
4812
4911
  lock_id: number;
4813
4912
  lock_alias: string;
4814
4913
  feature_value: string;
4914
+ features: {
4915
+ passcode: boolean;
4916
+ passcode_management: boolean;
4917
+ unlock_via_gateway: boolean;
4918
+ lock_command: boolean;
4919
+ incomplete_keyboard_passcode: boolean;
4920
+ };
4921
+ has_gateway?: boolean | undefined;
4922
+ wireless_keypads?: {
4923
+ wireless_keypad_id: number;
4924
+ wireless_keypad_name: string;
4925
+ }[] | undefined;
4815
4926
  } | undefined;
4816
4927
  seam_bridge_metadata?: {
4817
4928
  name: string;
@@ -5179,6 +5290,18 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
5179
5290
  lock_id: number;
5180
5291
  lock_alias: string;
5181
5292
  feature_value: string;
5293
+ features: {
5294
+ passcode: boolean;
5295
+ passcode_management: boolean;
5296
+ unlock_via_gateway: boolean;
5297
+ lock_command: boolean;
5298
+ incomplete_keyboard_passcode: boolean;
5299
+ };
5300
+ has_gateway?: boolean | undefined;
5301
+ wireless_keypads?: {
5302
+ wireless_keypad_id: number;
5303
+ wireless_keypad_name: string;
5304
+ }[] | undefined;
5182
5305
  } | undefined;
5183
5306
  seam_bridge_metadata?: {
5184
5307
  name: string;
@@ -5310,9 +5433,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
5310
5433
  climate_preset_key: string;
5311
5434
  can_edit: boolean;
5312
5435
  can_delete: boolean;
5313
- name: string | null;
5314
5436
  display_name: string;
5315
5437
  manual_override_allowed: boolean;
5438
+ name?: string | null | undefined;
5316
5439
  fan_mode_setting?: "auto" | "on" | undefined;
5317
5440
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
5318
5441
  cooling_set_point_celsius?: number | undefined;
@@ -6044,14 +6167,68 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6044
6167
  lock_id: z.ZodNumber;
6045
6168
  lock_alias: z.ZodString;
6046
6169
  feature_value: z.ZodString;
6170
+ features: z.ZodObject<{
6171
+ passcode: z.ZodBoolean;
6172
+ passcode_management: z.ZodBoolean;
6173
+ unlock_via_gateway: z.ZodBoolean;
6174
+ lock_command: z.ZodBoolean;
6175
+ incomplete_keyboard_passcode: z.ZodBoolean;
6176
+ }, "strip", z.ZodTypeAny, {
6177
+ passcode: boolean;
6178
+ passcode_management: boolean;
6179
+ unlock_via_gateway: boolean;
6180
+ lock_command: boolean;
6181
+ incomplete_keyboard_passcode: boolean;
6182
+ }, {
6183
+ passcode: boolean;
6184
+ passcode_management: boolean;
6185
+ unlock_via_gateway: boolean;
6186
+ lock_command: boolean;
6187
+ incomplete_keyboard_passcode: boolean;
6188
+ }>;
6189
+ has_gateway: z.ZodOptional<z.ZodBoolean>;
6190
+ wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
6191
+ wireless_keypad_id: z.ZodNumber;
6192
+ wireless_keypad_name: z.ZodString;
6193
+ }, "strip", z.ZodTypeAny, {
6194
+ wireless_keypad_id: number;
6195
+ wireless_keypad_name: string;
6196
+ }, {
6197
+ wireless_keypad_id: number;
6198
+ wireless_keypad_name: string;
6199
+ }>, "many">>;
6047
6200
  }, "strip", z.ZodTypeAny, {
6048
6201
  lock_id: number;
6049
6202
  lock_alias: string;
6050
6203
  feature_value: string;
6204
+ features: {
6205
+ passcode: boolean;
6206
+ passcode_management: boolean;
6207
+ unlock_via_gateway: boolean;
6208
+ lock_command: boolean;
6209
+ incomplete_keyboard_passcode: boolean;
6210
+ };
6211
+ has_gateway?: boolean | undefined;
6212
+ wireless_keypads?: {
6213
+ wireless_keypad_id: number;
6214
+ wireless_keypad_name: string;
6215
+ }[] | undefined;
6051
6216
  }, {
6052
6217
  lock_id: number;
6053
6218
  lock_alias: string;
6054
6219
  feature_value: string;
6220
+ features: {
6221
+ passcode: boolean;
6222
+ passcode_management: boolean;
6223
+ unlock_via_gateway: boolean;
6224
+ lock_command: boolean;
6225
+ incomplete_keyboard_passcode: boolean;
6226
+ };
6227
+ has_gateway?: boolean | undefined;
6228
+ wireless_keypads?: {
6229
+ wireless_keypad_id: number;
6230
+ wireless_keypad_name: string;
6231
+ }[] | undefined;
6055
6232
  }>>;
6056
6233
  seam_bridge_metadata: z.ZodOptional<z.ZodObject<{
6057
6234
  unlock_method: z.ZodOptional<z.ZodEnum<["bridge", "doorking"]>>;
@@ -6386,6 +6563,18 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6386
6563
  lock_id: number;
6387
6564
  lock_alias: string;
6388
6565
  feature_value: string;
6566
+ features: {
6567
+ passcode: boolean;
6568
+ passcode_management: boolean;
6569
+ unlock_via_gateway: boolean;
6570
+ lock_command: boolean;
6571
+ incomplete_keyboard_passcode: boolean;
6572
+ };
6573
+ has_gateway?: boolean | undefined;
6574
+ wireless_keypads?: {
6575
+ wireless_keypad_id: number;
6576
+ wireless_keypad_name: string;
6577
+ }[] | undefined;
6389
6578
  } | undefined;
6390
6579
  seam_bridge_metadata?: {
6391
6580
  name: string;
@@ -6576,6 +6765,18 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6576
6765
  lock_id: number;
6577
6766
  lock_alias: string;
6578
6767
  feature_value: string;
6768
+ features: {
6769
+ passcode: boolean;
6770
+ passcode_management: boolean;
6771
+ unlock_via_gateway: boolean;
6772
+ lock_command: boolean;
6773
+ incomplete_keyboard_passcode: boolean;
6774
+ };
6775
+ has_gateway?: boolean | undefined;
6776
+ wireless_keypads?: {
6777
+ wireless_keypad_id: number;
6778
+ wireless_keypad_name: string;
6779
+ }[] | undefined;
6579
6780
  } | undefined;
6580
6781
  seam_bridge_metadata?: {
6581
6782
  name: string;
@@ -6732,7 +6933,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6732
6933
  climate_preset_key: z.ZodOptional<z.ZodString>;
6733
6934
  can_edit: z.ZodOptional<z.ZodBoolean>;
6734
6935
  can_delete: z.ZodOptional<z.ZodBoolean>;
6735
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6936
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
6736
6937
  display_name: z.ZodOptional<z.ZodString>;
6737
6938
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
6738
6939
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -6772,7 +6973,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6772
6973
  climate_preset_key: z.ZodOptional<z.ZodString>;
6773
6974
  can_edit: z.ZodOptional<z.ZodBoolean>;
6774
6975
  can_delete: z.ZodOptional<z.ZodBoolean>;
6775
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6976
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
6776
6977
  display_name: z.ZodOptional<z.ZodString>;
6777
6978
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
6778
6979
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -6812,7 +7013,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6812
7013
  climate_preset_key: z.ZodString;
6813
7014
  can_edit: z.ZodBoolean;
6814
7015
  can_delete: z.ZodBoolean;
6815
- name: z.ZodNullable<z.ZodString>;
7016
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6816
7017
  display_name: z.ZodString;
6817
7018
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
6818
7019
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -6838,9 +7039,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6838
7039
  climate_preset_key: string;
6839
7040
  can_edit: boolean;
6840
7041
  can_delete: boolean;
6841
- name: string | null;
6842
7042
  display_name: string;
6843
7043
  manual_override_allowed: boolean;
7044
+ name?: string | null | undefined;
6844
7045
  fan_mode_setting?: "auto" | "on" | undefined;
6845
7046
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
6846
7047
  cooling_set_point_celsius?: number | undefined;
@@ -7006,9 +7207,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
7006
7207
  climate_preset_key: string;
7007
7208
  can_edit: boolean;
7008
7209
  can_delete: boolean;
7009
- name: string | null;
7010
7210
  display_name: string;
7011
7211
  manual_override_allowed: boolean;
7212
+ name?: string | null | undefined;
7012
7213
  fan_mode_setting?: "auto" | "on" | undefined;
7013
7214
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
7014
7215
  cooling_set_point_celsius?: number | undefined;
@@ -11331,6 +11532,30 @@ declare const _default: {
11331
11532
  feature_value: {
11332
11533
  type: string;
11333
11534
  };
11535
+ features: {
11536
+ properties: {
11537
+ incomplete_keyboard_passcode: {
11538
+ type: string;
11539
+ };
11540
+ lock_command: {
11541
+ type: string;
11542
+ };
11543
+ passcode: {
11544
+ type: string;
11545
+ };
11546
+ passcode_management: {
11547
+ type: string;
11548
+ };
11549
+ unlock_via_gateway: {
11550
+ type: string;
11551
+ };
11552
+ };
11553
+ required: string[];
11554
+ type: string;
11555
+ };
11556
+ has_gateway: {
11557
+ type: string;
11558
+ };
11334
11559
  lock_alias: {
11335
11560
  type: string;
11336
11561
  };
@@ -11338,6 +11563,22 @@ declare const _default: {
11338
11563
  format: string;
11339
11564
  type: string;
11340
11565
  };
11566
+ wireless_keypads: {
11567
+ items: {
11568
+ properties: {
11569
+ wireless_keypad_id: {
11570
+ format: string;
11571
+ type: string;
11572
+ };
11573
+ wireless_keypad_name: {
11574
+ type: string;
11575
+ };
11576
+ };
11577
+ required: string[];
11578
+ type: string;
11579
+ };
11580
+ type: string;
11581
+ };
11341
11582
  };
11342
11583
  required: string[];
11343
11584
  type: string;
@@ -11580,6 +11821,7 @@ declare const _default: {
11580
11821
  type: string;
11581
11822
  };
11582
11823
  name: {
11824
+ default: null;
11583
11825
  nullable: boolean;
11584
11826
  type: string;
11585
11827
  };
@@ -11638,6 +11880,7 @@ declare const _default: {
11638
11880
  type: string;
11639
11881
  };
11640
11882
  name: {
11883
+ default: null;
11641
11884
  nullable: boolean;
11642
11885
  type: string;
11643
11886
  };
@@ -11687,6 +11930,7 @@ declare const _default: {
11687
11930
  type: string;
11688
11931
  };
11689
11932
  name: {
11933
+ default: null;
11690
11934
  nullable: boolean;
11691
11935
  type: string;
11692
11936
  };
@@ -23410,6 +23654,7 @@ declare const _default: {
23410
23654
  type: string;
23411
23655
  };
23412
23656
  name: {
23657
+ default: null;
23413
23658
  nullable: boolean;
23414
23659
  type: string;
23415
23660
  };
@@ -23468,6 +23713,7 @@ declare const _default: {
23468
23713
  type: string;
23469
23714
  };
23470
23715
  name: {
23716
+ default: null;
23471
23717
  nullable: boolean;
23472
23718
  type: string;
23473
23719
  };
@@ -24745,6 +24991,7 @@ declare const _default: {
24745
24991
  type: string;
24746
24992
  };
24747
24993
  name: {
24994
+ default: null;
24748
24995
  nullable: boolean;
24749
24996
  type: string;
24750
24997
  };
@@ -24803,6 +25050,7 @@ declare const _default: {
24803
25050
  type: string;
24804
25051
  };
24805
25052
  name: {
25053
+ default: null;
24806
25054
  nullable: boolean;
24807
25055
  type: string;
24808
25056
  };
@@ -24887,6 +25135,7 @@ declare const _default: {
24887
25135
  type: string;
24888
25136
  };
24889
25137
  name: {
25138
+ default: null;
24890
25139
  nullable: boolean;
24891
25140
  type: string;
24892
25141
  };
@@ -24945,6 +25194,7 @@ declare const _default: {
24945
25194
  type: string;
24946
25195
  };
24947
25196
  name: {
25197
+ default: null;
24948
25198
  nullable: boolean;
24949
25199
  type: string;
24950
25200
  };
@@ -30406,14 +30656,21 @@ interface Routes {
30406
30656
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30407
30657
  message: string;
30408
30658
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
30409
- error_code: 'salto_site_user_limit_reached';
30659
+ error_code: 'salto_ks_subscription_limit_exceeded';
30410
30660
  } | {
30411
30661
  /** Date and time at which Seam created the error. */
30412
30662
  created_at: string;
30413
30663
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30414
30664
  message: string;
30415
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
30416
- error_code: 'salto_seam_integration_blocked';
30665
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
30666
+ error_code: 'acs_system_disconnected';
30667
+ } | {
30668
+ /** Date and time at which Seam created the error. */
30669
+ created_at: string;
30670
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30671
+ message: string;
30672
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
30673
+ error_code: 'account_disconnected';
30417
30674
  }>;
30418
30675
  /** Warnings associated with the `acs_system`. */
30419
30676
  warnings: Array<{
@@ -30421,8 +30678,8 @@ interface Routes {
30421
30678
  created_at: string;
30422
30679
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30423
30680
  message: string;
30424
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
30425
- warning_code: 'salto_site_user_limit_almost_reached';
30681
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
30682
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
30426
30683
  }>;
30427
30684
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
30428
30685
  can_automate_enrollment?: boolean | undefined;
@@ -30497,14 +30754,21 @@ interface Routes {
30497
30754
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30498
30755
  message: string;
30499
30756
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
30500
- error_code: 'salto_site_user_limit_reached';
30757
+ error_code: 'salto_ks_subscription_limit_exceeded';
30501
30758
  } | {
30502
30759
  /** Date and time at which Seam created the error. */
30503
30760
  created_at: string;
30504
30761
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30505
30762
  message: string;
30506
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
30507
- error_code: 'salto_seam_integration_blocked';
30763
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
30764
+ error_code: 'acs_system_disconnected';
30765
+ } | {
30766
+ /** Date and time at which Seam created the error. */
30767
+ created_at: string;
30768
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30769
+ message: string;
30770
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
30771
+ error_code: 'account_disconnected';
30508
30772
  }>;
30509
30773
  /** Warnings associated with the `acs_system`. */
30510
30774
  warnings: Array<{
@@ -30512,8 +30776,8 @@ interface Routes {
30512
30776
  created_at: string;
30513
30777
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30514
30778
  message: string;
30515
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
30516
- warning_code: 'salto_site_user_limit_almost_reached';
30779
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
30780
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
30517
30781
  }>;
30518
30782
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
30519
30783
  can_automate_enrollment?: boolean | undefined;
@@ -30588,14 +30852,21 @@ interface Routes {
30588
30852
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30589
30853
  message: string;
30590
30854
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
30591
- error_code: 'salto_site_user_limit_reached';
30855
+ error_code: 'salto_ks_subscription_limit_exceeded';
30856
+ } | {
30857
+ /** Date and time at which Seam created the error. */
30858
+ created_at: string;
30859
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30860
+ message: string;
30861
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
30862
+ error_code: 'acs_system_disconnected';
30592
30863
  } | {
30593
30864
  /** Date and time at which Seam created the error. */
30594
30865
  created_at: string;
30595
30866
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30596
30867
  message: string;
30597
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
30598
- error_code: 'salto_seam_integration_blocked';
30868
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
30869
+ error_code: 'account_disconnected';
30599
30870
  }>;
30600
30871
  /** Warnings associated with the `acs_system`. */
30601
30872
  warnings: Array<{
@@ -30603,8 +30874,8 @@ interface Routes {
30603
30874
  created_at: string;
30604
30875
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30605
30876
  message: string;
30606
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
30607
- warning_code: 'salto_site_user_limit_almost_reached';
30877
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
30878
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
30608
30879
  }>;
30609
30880
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
30610
30881
  can_automate_enrollment?: boolean | undefined;
@@ -32630,6 +32901,18 @@ interface Routes {
32630
32901
  lock_id: number;
32631
32902
  lock_alias: string;
32632
32903
  feature_value: string;
32904
+ features: {
32905
+ passcode: boolean;
32906
+ passcode_management: boolean;
32907
+ unlock_via_gateway: boolean;
32908
+ lock_command: boolean;
32909
+ incomplete_keyboard_passcode: boolean;
32910
+ };
32911
+ has_gateway?: boolean | undefined;
32912
+ wireless_keypads?: Array<{
32913
+ wireless_keypad_id: number;
32914
+ wireless_keypad_name: string;
32915
+ }> | undefined;
32633
32916
  } | undefined;
32634
32917
  seam_bridge_metadata?: {
32635
32918
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -32766,7 +33049,7 @@ interface Routes {
32766
33049
  climate_preset_key: string;
32767
33050
  can_edit: boolean;
32768
33051
  can_delete: boolean;
32769
- name: string | null;
33052
+ name?: string | null;
32770
33053
  display_name: string;
32771
33054
  fan_mode_setting?: ('auto' | 'on') | undefined;
32772
33055
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -33074,6 +33357,18 @@ interface Routes {
33074
33357
  lock_id: number;
33075
33358
  lock_alias: string;
33076
33359
  feature_value: string;
33360
+ features: {
33361
+ passcode: boolean;
33362
+ passcode_management: boolean;
33363
+ unlock_via_gateway: boolean;
33364
+ lock_command: boolean;
33365
+ incomplete_keyboard_passcode: boolean;
33366
+ };
33367
+ has_gateway?: boolean | undefined;
33368
+ wireless_keypads?: Array<{
33369
+ wireless_keypad_id: number;
33370
+ wireless_keypad_name: string;
33371
+ }> | undefined;
33077
33372
  } | undefined;
33078
33373
  seam_bridge_metadata?: {
33079
33374
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -33210,7 +33505,7 @@ interface Routes {
33210
33505
  climate_preset_key: string;
33211
33506
  can_edit: boolean;
33212
33507
  can_delete: boolean;
33213
- name: string | null;
33508
+ name?: string | null;
33214
33509
  display_name: string;
33215
33510
  fan_mode_setting?: ('auto' | 'on') | undefined;
33216
33511
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -33898,6 +34193,18 @@ interface Routes {
33898
34193
  lock_id: number;
33899
34194
  lock_alias: string;
33900
34195
  feature_value: string;
34196
+ features: {
34197
+ passcode: boolean;
34198
+ passcode_management: boolean;
34199
+ unlock_via_gateway: boolean;
34200
+ lock_command: boolean;
34201
+ incomplete_keyboard_passcode: boolean;
34202
+ };
34203
+ has_gateway?: boolean | undefined;
34204
+ wireless_keypads?: Array<{
34205
+ wireless_keypad_id: number;
34206
+ wireless_keypad_name: string;
34207
+ }> | undefined;
33901
34208
  } | undefined;
33902
34209
  seam_bridge_metadata?: {
33903
34210
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -34034,7 +34341,7 @@ interface Routes {
34034
34341
  climate_preset_key: string;
34035
34342
  can_edit: boolean;
34036
34343
  can_delete: boolean;
34037
- name: string | null;
34344
+ name?: string | null;
34038
34345
  display_name: string;
34039
34346
  fan_mode_setting?: ('auto' | 'on') | undefined;
34040
34347
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -34317,6 +34624,18 @@ interface Routes {
34317
34624
  lock_id: number;
34318
34625
  lock_alias: string;
34319
34626
  feature_value: string;
34627
+ features: {
34628
+ passcode: boolean;
34629
+ passcode_management: boolean;
34630
+ unlock_via_gateway: boolean;
34631
+ lock_command: boolean;
34632
+ incomplete_keyboard_passcode: boolean;
34633
+ };
34634
+ has_gateway?: boolean | undefined;
34635
+ wireless_keypads?: Array<{
34636
+ wireless_keypad_id: number;
34637
+ wireless_keypad_name: string;
34638
+ }> | undefined;
34320
34639
  } | undefined;
34321
34640
  seam_bridge_metadata?: {
34322
34641
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -34453,7 +34772,7 @@ interface Routes {
34453
34772
  climate_preset_key: string;
34454
34773
  can_edit: boolean;
34455
34774
  can_delete: boolean;
34456
- name: string | null;
34775
+ name?: string | null;
34457
34776
  display_name: string;
34458
34777
  fan_mode_setting?: ('auto' | 'on') | undefined;
34459
34778
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -34761,6 +35080,18 @@ interface Routes {
34761
35080
  lock_id: number;
34762
35081
  lock_alias: string;
34763
35082
  feature_value: string;
35083
+ features: {
35084
+ passcode: boolean;
35085
+ passcode_management: boolean;
35086
+ unlock_via_gateway: boolean;
35087
+ lock_command: boolean;
35088
+ incomplete_keyboard_passcode: boolean;
35089
+ };
35090
+ has_gateway?: boolean | undefined;
35091
+ wireless_keypads?: Array<{
35092
+ wireless_keypad_id: number;
35093
+ wireless_keypad_name: string;
35094
+ }> | undefined;
34764
35095
  } | undefined;
34765
35096
  seam_bridge_metadata?: {
34766
35097
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -34897,7 +35228,7 @@ interface Routes {
34897
35228
  climate_preset_key: string;
34898
35229
  can_edit: boolean;
34899
35230
  can_delete: boolean;
34900
- name: string | null;
35231
+ name?: string | null;
34901
35232
  display_name: string;
34902
35233
  fan_mode_setting?: ('auto' | 'on') | undefined;
34903
35234
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -35180,6 +35511,18 @@ interface Routes {
35180
35511
  lock_id: number;
35181
35512
  lock_alias: string;
35182
35513
  feature_value: string;
35514
+ features: {
35515
+ passcode: boolean;
35516
+ passcode_management: boolean;
35517
+ unlock_via_gateway: boolean;
35518
+ lock_command: boolean;
35519
+ incomplete_keyboard_passcode: boolean;
35520
+ };
35521
+ has_gateway?: boolean | undefined;
35522
+ wireless_keypads?: Array<{
35523
+ wireless_keypad_id: number;
35524
+ wireless_keypad_name: string;
35525
+ }> | undefined;
35183
35526
  } | undefined;
35184
35527
  seam_bridge_metadata?: {
35185
35528
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -35316,7 +35659,7 @@ interface Routes {
35316
35659
  climate_preset_key: string;
35317
35660
  can_edit: boolean;
35318
35661
  can_delete: boolean;
35319
- name: string | null;
35662
+ name?: string | null;
35320
35663
  display_name: string;
35321
35664
  fan_mode_setting?: ('auto' | 'on') | undefined;
35322
35665
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -36454,6 +36797,18 @@ interface Routes {
36454
36797
  lock_id: number;
36455
36798
  lock_alias: string;
36456
36799
  feature_value: string;
36800
+ features: {
36801
+ passcode: boolean;
36802
+ passcode_management: boolean;
36803
+ unlock_via_gateway: boolean;
36804
+ lock_command: boolean;
36805
+ incomplete_keyboard_passcode: boolean;
36806
+ };
36807
+ has_gateway?: boolean | undefined;
36808
+ wireless_keypads?: Array<{
36809
+ wireless_keypad_id: number;
36810
+ wireless_keypad_name: string;
36811
+ }> | undefined;
36457
36812
  } | undefined;
36458
36813
  seam_bridge_metadata?: {
36459
36814
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -36590,7 +36945,7 @@ interface Routes {
36590
36945
  climate_preset_key: string;
36591
36946
  can_edit: boolean;
36592
36947
  can_delete: boolean;
36593
- name: string | null;
36948
+ name?: string | null;
36594
36949
  display_name: string;
36595
36950
  fan_mode_setting?: ('auto' | 'on') | undefined;
36596
36951
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -36873,6 +37228,18 @@ interface Routes {
36873
37228
  lock_id: number;
36874
37229
  lock_alias: string;
36875
37230
  feature_value: string;
37231
+ features: {
37232
+ passcode: boolean;
37233
+ passcode_management: boolean;
37234
+ unlock_via_gateway: boolean;
37235
+ lock_command: boolean;
37236
+ incomplete_keyboard_passcode: boolean;
37237
+ };
37238
+ has_gateway?: boolean | undefined;
37239
+ wireless_keypads?: Array<{
37240
+ wireless_keypad_id: number;
37241
+ wireless_keypad_name: string;
37242
+ }> | undefined;
36876
37243
  } | undefined;
36877
37244
  seam_bridge_metadata?: {
36878
37245
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -37009,7 +37376,7 @@ interface Routes {
37009
37376
  climate_preset_key: string;
37010
37377
  can_edit: boolean;
37011
37378
  can_delete: boolean;
37012
- name: string | null;
37379
+ name?: string | null;
37013
37380
  display_name: string;
37014
37381
  fan_mode_setting?: ('auto' | 'on') | undefined;
37015
37382
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -39333,7 +39700,7 @@ interface Routes {
39333
39700
  jsonBody: {
39334
39701
  device_id: string;
39335
39702
  climate_preset_key: string;
39336
- name: string | null;
39703
+ name?: string | null;
39337
39704
  fan_mode_setting?: ('auto' | 'on') | undefined;
39338
39705
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
39339
39706
  cooling_set_point_celsius?: number | undefined;
@@ -39349,7 +39716,7 @@ interface Routes {
39349
39716
  climate_preset_key: string;
39350
39717
  can_edit: boolean;
39351
39718
  can_delete: boolean;
39352
- name: string | null;
39719
+ name?: string | null;
39353
39720
  display_name: string;
39354
39721
  fan_mode_setting?: ('auto' | 'on') | undefined;
39355
39722
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -39590,6 +39957,18 @@ interface Routes {
39590
39957
  lock_id: number;
39591
39958
  lock_alias: string;
39592
39959
  feature_value: string;
39960
+ features: {
39961
+ passcode: boolean;
39962
+ passcode_management: boolean;
39963
+ unlock_via_gateway: boolean;
39964
+ lock_command: boolean;
39965
+ incomplete_keyboard_passcode: boolean;
39966
+ };
39967
+ has_gateway?: boolean | undefined;
39968
+ wireless_keypads?: Array<{
39969
+ wireless_keypad_id: number;
39970
+ wireless_keypad_name: string;
39971
+ }> | undefined;
39593
39972
  } | undefined;
39594
39973
  seam_bridge_metadata?: {
39595
39974
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -39726,7 +40105,7 @@ interface Routes {
39726
40105
  climate_preset_key: string;
39727
40106
  can_edit: boolean;
39728
40107
  can_delete: boolean;
39729
- name: string | null;
40108
+ name?: string | null;
39730
40109
  display_name: string;
39731
40110
  fan_mode_setting?: ('auto' | 'on') | undefined;
39732
40111
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -40836,6 +41215,18 @@ interface Routes {
40836
41215
  lock_id: number;
40837
41216
  lock_alias: string;
40838
41217
  feature_value: string;
41218
+ features: {
41219
+ passcode: boolean;
41220
+ passcode_management: boolean;
41221
+ unlock_via_gateway: boolean;
41222
+ lock_command: boolean;
41223
+ incomplete_keyboard_passcode: boolean;
41224
+ };
41225
+ has_gateway?: boolean | undefined;
41226
+ wireless_keypads?: Array<{
41227
+ wireless_keypad_id: number;
41228
+ wireless_keypad_name: string;
41229
+ }> | undefined;
40839
41230
  } | undefined;
40840
41231
  seam_bridge_metadata?: {
40841
41232
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -40972,7 +41363,7 @@ interface Routes {
40972
41363
  climate_preset_key: string;
40973
41364
  can_edit: boolean;
40974
41365
  can_delete: boolean;
40975
- name: string | null;
41366
+ name?: string | null;
40976
41367
  display_name: string;
40977
41368
  fan_mode_setting?: ('auto' | 'on') | undefined;
40978
41369
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -41988,7 +42379,7 @@ interface Routes {
41988
42379
  jsonBody: {
41989
42380
  device_id: string;
41990
42381
  climate_preset_key: string;
41991
- name: string | null;
42382
+ name?: string | null;
41992
42383
  fan_mode_setting?: ('auto' | 'on') | undefined;
41993
42384
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
41994
42385
  cooling_set_point_celsius?: number | undefined;
@@ -42004,7 +42395,7 @@ interface Routes {
42004
42395
  climate_preset_key: string;
42005
42396
  can_edit: boolean;
42006
42397
  can_delete: boolean;
42007
- name: string | null;
42398
+ name?: string | null;
42008
42399
  display_name: string;
42009
42400
  fan_mode_setting?: ('auto' | 'on') | undefined;
42010
42401
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -42411,6 +42802,18 @@ interface Routes {
42411
42802
  lock_id: number;
42412
42803
  lock_alias: string;
42413
42804
  feature_value: string;
42805
+ features: {
42806
+ passcode: boolean;
42807
+ passcode_management: boolean;
42808
+ unlock_via_gateway: boolean;
42809
+ lock_command: boolean;
42810
+ incomplete_keyboard_passcode: boolean;
42811
+ };
42812
+ has_gateway?: boolean | undefined;
42813
+ wireless_keypads?: Array<{
42814
+ wireless_keypad_id: number;
42815
+ wireless_keypad_name: string;
42816
+ }> | undefined;
42414
42817
  } | undefined;
42415
42818
  seam_bridge_metadata?: {
42416
42819
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -42547,7 +42950,7 @@ interface Routes {
42547
42950
  climate_preset_key: string;
42548
42951
  can_edit: boolean;
42549
42952
  can_delete: boolean;
42550
- name: string | null;
42953
+ name?: string | null;
42551
42954
  display_name: string;
42552
42955
  fan_mode_setting?: ('auto' | 'on') | undefined;
42553
42956
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -42832,6 +43235,18 @@ interface Routes {
42832
43235
  lock_id: number;
42833
43236
  lock_alias: string;
42834
43237
  feature_value: string;
43238
+ features: {
43239
+ passcode: boolean;
43240
+ passcode_management: boolean;
43241
+ unlock_via_gateway: boolean;
43242
+ lock_command: boolean;
43243
+ incomplete_keyboard_passcode: boolean;
43244
+ };
43245
+ has_gateway?: boolean | undefined;
43246
+ wireless_keypads?: Array<{
43247
+ wireless_keypad_id: number;
43248
+ wireless_keypad_name: string;
43249
+ }> | undefined;
42835
43250
  } | undefined;
42836
43251
  seam_bridge_metadata?: {
42837
43252
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -42968,7 +43383,7 @@ interface Routes {
42968
43383
  climate_preset_key: string;
42969
43384
  can_edit: boolean;
42970
43385
  can_delete: boolean;
42971
- name: string | null;
43386
+ name?: string | null;
42972
43387
  display_name: string;
42973
43388
  fan_mode_setting?: ('auto' | 'on') | undefined;
42974
43389
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -43108,14 +43523,21 @@ interface Routes {
43108
43523
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43109
43524
  message: string;
43110
43525
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
43111
- error_code: 'salto_site_user_limit_reached';
43526
+ error_code: 'salto_ks_subscription_limit_exceeded';
43527
+ } | {
43528
+ /** Date and time at which Seam created the error. */
43529
+ created_at: string;
43530
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43531
+ message: string;
43532
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
43533
+ error_code: 'acs_system_disconnected';
43112
43534
  } | {
43113
43535
  /** Date and time at which Seam created the error. */
43114
43536
  created_at: string;
43115
43537
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43116
43538
  message: string;
43117
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
43118
- error_code: 'salto_seam_integration_blocked';
43539
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
43540
+ error_code: 'account_disconnected';
43119
43541
  }>;
43120
43542
  /** Warnings associated with the `acs_system`. */
43121
43543
  warnings: Array<{
@@ -43123,8 +43545,8 @@ interface Routes {
43123
43545
  created_at: string;
43124
43546
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
43125
43547
  message: string;
43126
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
43127
- warning_code: 'salto_site_user_limit_almost_reached';
43548
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
43549
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
43128
43550
  }>;
43129
43551
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
43130
43552
  can_automate_enrollment?: boolean | undefined;