@seamapi/http 2.40.0 → 2.42.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.
@@ -431,6 +431,29 @@ export type UnmanagedAccessGrant = {
431
431
  * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
432
432
  */
433
433
  warning_code: 'device_time_constraints_violated'
434
+ } /**
435
+ * Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.
436
+ */
437
+ | {
438
+ /**
439
+ * ID of the access method whose access was revoked.
440
+ */
441
+ access_method_id: string
442
+
443
+ /**
444
+ * Date and time at which Seam created the warning.
445
+ */
446
+ created_at: string
447
+
448
+ /**
449
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
450
+ */
451
+ message: string
452
+
453
+ /**
454
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
455
+ */
456
+ warning_code: 'access_revoked'
434
457
  }
435
458
  >
436
459
 
@@ -27,18 +27,6 @@ export type UnmanagedDevice = {
27
27
  * Indicates whether the thermostat supports simultaneous heating and cooling.
28
28
  */
29
29
  can_hvac_heat_cool?: boolean | undefined
30
- /**
31
- * Indicates whether the speaker supports muting.
32
- */
33
- can_mute_speaker?: boolean | undefined
34
- /**
35
- * Indicates whether the speaker supports pausing playback.
36
- */
37
- can_pause_speaker_playback?: boolean | undefined
38
- /**
39
- * Indicates whether the speaker supports playing a chime.
40
- */
41
- can_play_speaker_chime?: boolean | undefined
42
30
  /**
43
31
  * Indicates whether the device supports programming offline access codes.
44
32
  */
@@ -67,18 +55,10 @@ export type UnmanagedDevice = {
67
55
  * Indicates whether the device supports remote unlocking.
68
56
  */
69
57
  can_remotely_unlock?: boolean | undefined
70
- /**
71
- * Indicates whether the speaker supports resuming playback.
72
- */
73
- can_resume_speaker_playback?: boolean | undefined
74
58
  /**
75
59
  * Indicates whether the thermostat supports running climate programs.
76
60
  */
77
61
  can_run_thermostat_programs?: boolean | undefined
78
- /**
79
- * Indicates whether the speaker supports setting its volume.
80
- */
81
- can_set_speaker_volume?: boolean | undefined
82
62
  /**
83
63
  * Indicates whether the device supports simulating connection in a sandbox.
84
64
  */
@@ -115,10 +95,6 @@ export type UnmanagedDevice = {
115
95
  * Indicates whether the lock supports unlocking with an access code.
116
96
  */
117
97
  can_unlock_with_code?: boolean | undefined
118
- /**
119
- * Indicates whether the speaker supports unmuting.
120
- */
121
- can_unmute_speaker?: boolean | undefined
122
98
  /**
123
99
  * Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://www.seam.co/docs/capability-guides/device-and-system-capabilities#capability-flags).
124
100
  */
@@ -912,7 +912,9 @@ export type CustomersCreatePortalParameters = {
912
912
  * Whether to exclude the option to select a locale within the portal UI.
913
913
  */
914
914
  exclude_locale_picker?: boolean | undefined
915
-
915
+ /**
916
+ * Features to include in the portal. Settings you omit use the portal's customization profile, then the Seam default. Settings you pass take precedence over the customization profile's, so changing the profile doesn't change them.
917
+ */
916
918
  features?:
917
919
  | {
918
920
  /**
@@ -523,6 +523,10 @@ export type UserIdentitiesCreateParameters = {
523
523
  * List of access system IDs to associate with the new user identity through access system users. If there's no user with the same email address or phone number in the specified access systems, a new access system user is created. If there is an existing user with the same email or phone number in the specified access systems, the user is linked to the user identity.
524
524
  */
525
525
  acs_system_ids?: Array<string> | undefined
526
+ /**
527
+ * Customer key of the customer that owns the new user identity. Set it when the user identity will be used in access grants created through that customer's client session or Customer Portal.
528
+ */
529
+ customer_key?: string | undefined
526
530
  /**
527
531
  * Unique email address for the new user identity.
528
532
  */
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.40.0'
1
+ const seamapiJavascriptHttpVersion = '2.42.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion