@seamapi/types 1.1101.0 → 1.1103.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 (29) hide show
  1. package/lib/seam/connect/models/access-grants/access-grant.d.ts +37 -21
  2. package/lib/seam/connect/models/access-grants/access-grant.js +4 -3
  3. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  4. package/lib/seam/connect/models/acs/acs-access-group.js +2 -2
  5. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +38 -8
  7. package/lib/seam/connect/models/acs/acs-entrance.js +22 -9
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +75 -4
  10. package/lib/seam/connect/models/acs/acs-users/acs-user.js +32 -30
  11. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  12. package/lib/seam/connect/models/devices/phone.d.ts +1126 -22
  13. package/lib/seam/connect/models/devices/phone.js +4 -19
  14. package/lib/seam/connect/models/devices/phone.js.map +1 -1
  15. package/lib/seam/connect/models/phones/phone-session.d.ts +28 -26
  16. package/lib/seam/connect/models/user-identities/user-identity.js +4 -4
  17. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  18. package/lib/seam/connect/openapi.js +1329 -214
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +1319 -353
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/access-grants/access-grant.ts +13 -5
  23. package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
  24. package/src/lib/seam/connect/models/acs/acs-entrance.ts +36 -17
  25. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +44 -34
  26. package/src/lib/seam/connect/models/devices/phone.ts +4 -27
  27. package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
  28. package/src/lib/seam/connect/openapi.ts +1505 -203
  29. package/src/lib/seam/connect/route-types.ts +1526 -428
@@ -12343,8 +12343,8 @@ export type Routes = {
12343
12343
  failed_devices?: {
12344
12344
  /** Device whose access code could not be revoked. */
12345
12345
  device_id: string;
12346
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
12347
- error_code: string;
12346
+ /** Reason the access code could not be revoked. */
12347
+ error_code: 'offline_access_code_not_revocable';
12348
12348
  /** Human-readable description of why revocation failed. */
12349
12349
  message: string;
12350
12350
  }[] | undefined;
@@ -12562,8 +12562,8 @@ export type Routes = {
12562
12562
  failed_devices?: {
12563
12563
  /** Device whose access code could not be revoked. */
12564
12564
  device_id: string;
12565
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
12566
- error_code: string;
12565
+ /** Reason the access code could not be revoked. */
12566
+ error_code: 'offline_access_code_not_revocable';
12567
12567
  /** Human-readable description of why revocation failed. */
12568
12568
  message: string;
12569
12569
  }[] | undefined;
@@ -14304,12 +14304,12 @@ export type Routes = {
14304
14304
  connected_account_id: string;
14305
14305
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
14306
14306
  errors: {
14307
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14308
- error_code: string;
14309
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14310
- message: string;
14311
14307
  /** Date and time at which Seam created the error. */
14312
14308
  created_at: string;
14309
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14310
+ message: string;
14311
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14312
+ error_code: 'entrance_removed';
14313
14313
  }[];
14314
14314
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
14315
14315
  warnings: ({
@@ -15321,8 +15321,8 @@ export type Routes = {
15321
15321
  failed_devices?: {
15322
15322
  /** Device whose access code could not be revoked. */
15323
15323
  device_id: string;
15324
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
15325
- error_code: string;
15324
+ /** Reason the access code could not be revoked. */
15325
+ error_code: 'offline_access_code_not_revocable';
15326
15326
  /** Human-readable description of why revocation failed. */
15327
15327
  message: string;
15328
15328
  }[] | undefined;
@@ -15542,8 +15542,8 @@ export type Routes = {
15542
15542
  failed_devices?: {
15543
15543
  /** Device whose access code could not be revoked. */
15544
15544
  device_id: string;
15545
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
15546
- error_code: string;
15545
+ /** Reason the access code could not be revoked. */
15546
+ error_code: 'offline_access_code_not_revocable';
15547
15547
  /** Human-readable description of why revocation failed. */
15548
15548
  message: string;
15549
15549
  }[] | undefined;
@@ -15735,8 +15735,8 @@ export type Routes = {
15735
15735
  failed_devices?: {
15736
15736
  /** Device whose access code could not be revoked. */
15737
15737
  device_id: string;
15738
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
15739
- error_code: string;
15738
+ /** Reason the access code could not be revoked. */
15739
+ error_code: 'offline_access_code_not_revocable';
15740
15740
  /** Human-readable description of why revocation failed. */
15741
15741
  message: string;
15742
15742
  }[] | undefined;
@@ -15937,8 +15937,8 @@ export type Routes = {
15937
15937
  failed_devices?: {
15938
15938
  /** Device whose access code could not be revoked. */
15939
15939
  device_id: string;
15940
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
15941
- error_code: string;
15940
+ /** Reason the access code could not be revoked. */
15941
+ error_code: 'offline_access_code_not_revocable';
15942
15942
  /** Human-readable description of why revocation failed. */
15943
15943
  message: string;
15944
15944
  }[] | undefined;
@@ -21710,12 +21710,12 @@ export type Routes = {
21710
21710
  connected_account_id: string;
21711
21711
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
21712
21712
  errors: {
21713
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21714
- error_code: string;
21715
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
21716
- message: string;
21717
21713
  /** Date and time at which Seam created the error. */
21718
21714
  created_at: string;
21715
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
21716
+ message: string;
21717
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21718
+ error_code: 'entrance_removed';
21719
21719
  }[];
21720
21720
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
21721
21721
  warnings: ({
@@ -21975,8 +21975,8 @@ export type Routes = {
21975
21975
  failed_devices?: {
21976
21976
  /** Device whose access code could not be revoked. */
21977
21977
  device_id: string;
21978
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
21979
- error_code: string;
21978
+ /** Reason the access code could not be revoked. */
21979
+ error_code: 'offline_access_code_not_revocable';
21980
21980
  /** Human-readable description of why revocation failed. */
21981
21981
  message: string;
21982
21982
  }[] | undefined;
@@ -25320,12 +25320,12 @@ export type Routes = {
25320
25320
  connected_account_id: string;
25321
25321
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
25322
25322
  errors: {
25323
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25324
- error_code: string;
25325
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25326
- message: string;
25327
25323
  /** Date and time at which Seam created the error. */
25328
25324
  created_at: string;
25325
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25326
+ message: string;
25327
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25328
+ error_code: 'entrance_removed';
25329
25329
  }[];
25330
25330
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
25331
25331
  warnings: ({
@@ -27204,12 +27204,12 @@ export type Routes = {
27204
27204
  connected_account_id: string;
27205
27205
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
27206
27206
  errors: {
27207
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27208
- error_code: string;
27209
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27210
- message: string;
27211
27207
  /** Date and time at which Seam created the error. */
27212
27208
  created_at: string;
27209
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27210
+ message: string;
27211
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27212
+ error_code: 'entrance_removed';
27213
27213
  }[];
27214
27214
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
27215
27215
  warnings: ({
@@ -34001,269 +34001,269 @@ export type Routes = {
34001
34001
  connected_account_id: string;
34002
34002
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34003
34003
  errors: {
34004
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34005
- error_code: string;
34006
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34007
- message: string;
34008
- /** Date and time at which Seam created the error. */
34009
- created_at: string;
34010
- }[];
34011
- /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34012
- warnings: ({
34013
- /** Date and time at which Seam created the warning. */
34014
- created_at: string;
34015
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34016
- message: string;
34017
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34018
- warning_code: 'salto_ks_entrance_access_code_support_removed';
34019
- } | {
34020
- /** Date and time at which Seam created the warning. */
34021
- created_at: string;
34022
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34023
- message: string;
34024
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34025
- warning_code: 'entrance_shares_zone';
34026
- } | {
34027
- /** Date and time at which Seam created the warning. */
34028
- created_at: string;
34029
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34030
- message: string;
34031
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34032
- warning_code: 'entrance_setup_required';
34033
- } | {
34034
- /** Date and time at which Seam created the warning. */
34035
- created_at: string;
34036
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34037
- message: string;
34038
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34039
- warning_code: 'salto_ks_privacy_mode';
34040
- } | {
34041
- /** Date and time at which Seam created the warning. */
34042
- created_at: string;
34043
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34044
- message: string;
34045
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34046
- warning_code: 'privacy_mode';
34047
- })[];
34048
- /** Latch-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34049
- latch_metadata?: {
34050
- /** Accessibility type in the Latch access system. */
34051
- accessibility_type?: (string | undefined) | undefined;
34052
- /** Name of the door in the Latch access system. */
34053
- door_name?: (string | undefined) | undefined;
34054
- /** Type of the door in the Latch access system. */
34055
- door_type?: (string | undefined) | undefined;
34056
- /** Indicates whether the entrance is connected. */
34057
- is_connected?: (boolean | undefined) | undefined;
34058
- } | undefined;
34059
- /** Hotek-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34060
- hotek_metadata?: {
34061
- /** Room number of the entrance. */
34062
- room_number?: (string | undefined) | undefined;
34063
- /** Display name of the entrance. */
34064
- common_area_number?: (string | undefined) | undefined;
34065
- /** Display name of the entrance. */
34066
- common_area_name?: (string | undefined) | undefined;
34067
- } | undefined;
34068
- /** Visionline-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34069
- visionline_metadata?: {
34070
- /** Name of the door in the Visionline access system. */
34071
- door_name?: (string | undefined) | undefined;
34072
- /** Category of the door in the Visionline access system. */
34073
- door_category?: (('entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)') | undefined) | undefined;
34074
- /** Profile for the door in the Visionline access system. */
34075
- profiles?: ({
34076
- /** Door profile ID in the Visionline access system. */
34077
- visionline_door_profile_id?: (string | undefined) | undefined;
34078
- /** Door profile type in the Visionline access system. */
34079
- visionline_door_profile_type?: (('BLE' | 'commonDoor' | 'touch') | undefined) | undefined;
34080
- }[] | undefined) | undefined;
34081
- } | undefined;
34082
- /** Salto KS-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34083
- salto_ks_metadata?: {
34084
- /** Name of the door in the Salto KS access system. */
34085
- door_name?: (string | undefined) | undefined;
34086
- /** Locked state of the door in the Salto KS access system. */
34087
- locked_state?: (string | undefined) | undefined;
34088
- /** Type of the lock in the Salto KS access system. */
34089
- lock_type?: (string | undefined) | undefined;
34090
- /** Indicates whether the door access device is online. */
34091
- online?: (boolean | undefined) | undefined;
34092
- /** Battery level of the door access device. */
34093
- battery_level?: (string | undefined) | undefined;
34094
- /** Indicates whether the door is left open. */
34095
- left_open_alarm?: (boolean | undefined) | undefined;
34096
- /** Indicates whether an intrusion alarm is active on the door. */
34097
- intrusion_alarm?: (boolean | undefined) | undefined;
34098
- /** Indicates whether privacy mode is enabled for the lock. */
34099
- privacy_mode?: (boolean | undefined) | undefined;
34100
- } | undefined;
34101
- /** dormakaba Community-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34102
- dormakaba_community_metadata?: {
34103
- /** Type of access point profile in the dormakaba Community access system. */
34104
- access_point_profile?: (string | undefined) | undefined;
34105
- } | undefined;
34106
- /** ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34107
- assa_abloy_vostio_metadata?: {
34108
- /** Type of the door in the Vostio access system. */
34109
- door_type?: (('CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator') | undefined) | undefined;
34110
- /** Name of the door in the Vostio access system. */
34111
- door_name?: (string | undefined) | undefined;
34112
- /** Number of the door in the Vostio access system. */
34113
- door_number?: (number | undefined) | undefined;
34114
- /** Indicates whether keys are allowed to set the door in stand open mode in the Vostio access system. */
34115
- stand_open?: (boolean | undefined) | undefined;
34116
- /** PMS ID of the door in the Vostio access system. */
34117
- pms_id?: (string | undefined) | undefined;
34118
- } | undefined;
34119
- /** Salto Space-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34120
- salto_space_metadata?: {
34121
- /** Door ID in the Salto Space access system. */
34122
- door_id?: (string | undefined) | undefined;
34123
- /** Name of the door in the Salto Space access system. */
34124
- door_name?: (string | undefined) | undefined;
34125
- /** Description of the door in the Salto Space access system. */
34126
- door_description?: (string | undefined) | undefined;
34127
- /** Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system. */
34128
- audit_on_keys?: (boolean | undefined) | undefined;
34129
- /** Name of the room in the Salto Space access system. */
34130
- room_name?: (string | undefined) | undefined;
34131
- /** Description of the room in the Salto Space access system. */
34132
- room_description?: (string | undefined) | undefined;
34133
- } | undefined;
34134
- /** dormakaba Ambiance-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34135
- dormakaba_ambiance_metadata?: {
34136
- /** Name of the access point in the dormakaba Ambiance access system. */
34137
- access_point_name?: (string | undefined) | undefined;
34138
- } | undefined;
34139
- /** Brivo-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34140
- brivo_metadata?: {
34141
- /** ID of the access point in the Brivo access system. */
34142
- access_point_id?: (string | undefined) | undefined;
34143
- /** ID of the site that the access point belongs to. */
34144
- site_id?: (number | undefined) | undefined;
34145
- /** Name of the site that the access point belongs to. */
34146
- site_name?: (string | undefined) | undefined;
34147
- } | undefined;
34148
- /** Avigilon Alta-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34149
- avigilon_alta_metadata?: {
34150
- /** Entry name for an Avigilon Alta system. */
34151
- entry_name?: (string | undefined) | undefined;
34152
- /** Organization name for an Avigilon Alta system. */
34153
- org_name?: (string | undefined) | undefined;
34154
- /** Zone ID for an Avigilon Alta system. */
34155
- zone_id?: (number | undefined) | undefined;
34156
- /** Zone name for an Avigilon Alta system. */
34157
- zone_name?: (string | undefined) | undefined;
34158
- /** Site ID for an Avigilon Alta system. */
34159
- site_id?: (number | undefined) | undefined;
34160
- /** Site name for an Avigilon Alta system. */
34161
- site_name?: (string | undefined) | undefined;
34162
- /** Total count of entry relays for an Avigilon Alta system. */
34163
- entry_relays_total_count?: (number | undefined) | undefined;
34164
- } | undefined;
34165
- /** Akiles-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34166
- akiles_metadata?: {
34167
- /** ID of the Akiles gadget. */
34168
- gadget_id?: (string | undefined) | undefined;
34169
- /** ID of the Akiles site the gadget belongs to. */
34170
- site_id?: (string | undefined) | undefined;
34171
- /** Name of the Akiles site the gadget belongs to. */
34172
- site_name?: (string | undefined) | undefined;
34173
- /** Actions the gadget exposes (for example, open). */
34174
- actions?: ({
34175
- /** ID of the gadget action. */
34176
- id?: (string | undefined) | undefined;
34177
- /** Name of the gadget action. */
34178
- name?: (string | undefined) | undefined;
34179
- }[] | undefined) | undefined;
34180
- } | undefined;
34181
- /** Indicates whether the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details) is currently locked. */
34182
- is_locked?: boolean | undefined;
34183
- /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
34184
- can_unlock_with_mobile_key?: boolean | undefined;
34185
- /** Indicates whether the ACS entrance can be unlocked with card credentials. */
34186
- can_unlock_with_card?: boolean | undefined;
34187
- /** Indicates whether the ACS entrance can be unlocked with pin codes. */
34188
- can_unlock_with_code?: boolean | undefined;
34189
- /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
34190
- can_unlock_with_cloud_key?: boolean | undefined;
34191
- /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
34192
- can_belong_to_reservation?: boolean | undefined;
34193
- };
34194
- };
34195
- maxDuration: undefined;
34196
- };
34197
- '/acs/entrances/grant_access': {
34198
- route: '/acs/entrances/grant_access';
34199
- method: 'POST';
34200
- queryParams: {};
34201
- jsonBody: {
34202
- /** ID of the entrance to which you want to grant an access system user access. */
34203
- acs_entrance_id: string;
34204
- /** ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
34205
- user_identity_id?: string | undefined;
34206
- /** ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. */
34207
- acs_user_id?: string | undefined;
34208
- };
34209
- commonParams: {};
34210
- formData: {};
34211
- jsonResponse: {};
34212
- maxDuration: undefined;
34213
- };
34214
- '/acs/entrances/list': {
34215
- route: '/acs/entrances/list';
34216
- method: 'GET' | 'POST';
34217
- queryParams: {};
34218
- jsonBody: {};
34219
- commonParams: {
34220
- /** Customer key for which you want to list entrances. */
34221
- customer_key?: string | undefined;
34222
- /** ID of the access system for which you want to retrieve all entrances. */
34223
- acs_system_id?: string | undefined;
34224
- /** ID of the credential for which you want to retrieve all entrances. */
34225
- acs_credential_id?: string | undefined;
34226
- /** ID of the access method for which you want to retrieve all entrances to which it grants access. */
34227
- access_method_id?: string | undefined;
34228
- /**
34229
- * @deprecated Use `space_id`.*/
34230
- location_id?: (string | null) | undefined;
34231
- /** ID of the space for which you want to list entrances. */
34232
- space_id?: string | undefined;
34233
- /** ID of the connected account for which you want to retrieve all entrances. */
34234
- connected_account_id?: string | undefined;
34235
- /** IDs of the entrances for which you want to retrieve all entrances. */
34236
- acs_entrance_ids?: string[] | undefined;
34237
- /** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
34238
- search?: string | undefined;
34239
- /** Maximum number of records to return per page. */
34240
- limit?: number;
34241
- /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
34242
- page_cursor?: (string | undefined) | null;
34243
- };
34244
- formData: {};
34245
- jsonResponse: {
34246
- acs_entrances: {
34247
- /** ID of the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) that contains the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34248
- acs_system_id: string;
34249
- /** ID of the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34250
- acs_entrance_id: string;
34251
- /** IDs of the spaces that the entrance is in. */
34252
- space_ids: string[];
34253
- /** Date and time at which the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details) was created. */
34254
- created_at: string;
34255
- /** Display name for the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34256
- display_name: string;
34257
- /** ID of the [connected account](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details) associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34258
- connected_account_id: string;
34259
- /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34260
- errors: {
34261
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34262
- error_code: string;
34004
+ /** Date and time at which Seam created the error. */
34005
+ created_at: string;
34263
34006
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34264
34007
  message: string;
34008
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34009
+ error_code: 'entrance_removed';
34010
+ }[];
34011
+ /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34012
+ warnings: ({
34013
+ /** Date and time at which Seam created the warning. */
34014
+ created_at: string;
34015
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34016
+ message: string;
34017
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34018
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
34019
+ } | {
34020
+ /** Date and time at which Seam created the warning. */
34021
+ created_at: string;
34022
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34023
+ message: string;
34024
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34025
+ warning_code: 'entrance_shares_zone';
34026
+ } | {
34027
+ /** Date and time at which Seam created the warning. */
34028
+ created_at: string;
34029
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34030
+ message: string;
34031
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34032
+ warning_code: 'entrance_setup_required';
34033
+ } | {
34034
+ /** Date and time at which Seam created the warning. */
34035
+ created_at: string;
34036
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34037
+ message: string;
34038
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34039
+ warning_code: 'salto_ks_privacy_mode';
34040
+ } | {
34041
+ /** Date and time at which Seam created the warning. */
34042
+ created_at: string;
34043
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34044
+ message: string;
34045
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34046
+ warning_code: 'privacy_mode';
34047
+ })[];
34048
+ /** Latch-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34049
+ latch_metadata?: {
34050
+ /** Accessibility type in the Latch access system. */
34051
+ accessibility_type?: (string | undefined) | undefined;
34052
+ /** Name of the door in the Latch access system. */
34053
+ door_name?: (string | undefined) | undefined;
34054
+ /** Type of the door in the Latch access system. */
34055
+ door_type?: (string | undefined) | undefined;
34056
+ /** Indicates whether the entrance is connected. */
34057
+ is_connected?: (boolean | undefined) | undefined;
34058
+ } | undefined;
34059
+ /** Hotek-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34060
+ hotek_metadata?: {
34061
+ /** Room number of the entrance. */
34062
+ room_number?: (string | undefined) | undefined;
34063
+ /** Display name of the entrance. */
34064
+ common_area_number?: (string | undefined) | undefined;
34065
+ /** Display name of the entrance. */
34066
+ common_area_name?: (string | undefined) | undefined;
34067
+ } | undefined;
34068
+ /** Visionline-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34069
+ visionline_metadata?: {
34070
+ /** Name of the door in the Visionline access system. */
34071
+ door_name?: (string | undefined) | undefined;
34072
+ /** Category of the door in the Visionline access system. */
34073
+ door_category?: (('entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)') | undefined) | undefined;
34074
+ /** Profile for the door in the Visionline access system. */
34075
+ profiles?: ({
34076
+ /** Door profile ID in the Visionline access system. */
34077
+ visionline_door_profile_id?: (string | undefined) | undefined;
34078
+ /** Door profile type in the Visionline access system. */
34079
+ visionline_door_profile_type?: (('BLE' | 'commonDoor' | 'touch') | undefined) | undefined;
34080
+ }[] | undefined) | undefined;
34081
+ } | undefined;
34082
+ /** Salto KS-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34083
+ salto_ks_metadata?: {
34084
+ /** Name of the door in the Salto KS access system. */
34085
+ door_name?: (string | undefined) | undefined;
34086
+ /** Locked state of the door in the Salto KS access system. */
34087
+ locked_state?: (string | undefined) | undefined;
34088
+ /** Type of the lock in the Salto KS access system. */
34089
+ lock_type?: (string | undefined) | undefined;
34090
+ /** Indicates whether the door access device is online. */
34091
+ online?: (boolean | undefined) | undefined;
34092
+ /** Battery level of the door access device. */
34093
+ battery_level?: (string | undefined) | undefined;
34094
+ /** Indicates whether the door is left open. */
34095
+ left_open_alarm?: (boolean | undefined) | undefined;
34096
+ /** Indicates whether an intrusion alarm is active on the door. */
34097
+ intrusion_alarm?: (boolean | undefined) | undefined;
34098
+ /** Indicates whether privacy mode is enabled for the lock. */
34099
+ privacy_mode?: (boolean | undefined) | undefined;
34100
+ } | undefined;
34101
+ /** dormakaba Community-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34102
+ dormakaba_community_metadata?: {
34103
+ /** Type of access point profile in the dormakaba Community access system. */
34104
+ access_point_profile?: (string | undefined) | undefined;
34105
+ } | undefined;
34106
+ /** ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34107
+ assa_abloy_vostio_metadata?: {
34108
+ /** Type of the door in the Vostio access system. */
34109
+ door_type?: (('CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator') | undefined) | undefined;
34110
+ /** Name of the door in the Vostio access system. */
34111
+ door_name?: (string | undefined) | undefined;
34112
+ /** Number of the door in the Vostio access system. */
34113
+ door_number?: (number | undefined) | undefined;
34114
+ /** Indicates whether keys are allowed to set the door in stand open mode in the Vostio access system. */
34115
+ stand_open?: (boolean | undefined) | undefined;
34116
+ /** PMS ID of the door in the Vostio access system. */
34117
+ pms_id?: (string | undefined) | undefined;
34118
+ } | undefined;
34119
+ /** Salto Space-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34120
+ salto_space_metadata?: {
34121
+ /** Door ID in the Salto Space access system. */
34122
+ door_id?: (string | undefined) | undefined;
34123
+ /** Name of the door in the Salto Space access system. */
34124
+ door_name?: (string | undefined) | undefined;
34125
+ /** Description of the door in the Salto Space access system. */
34126
+ door_description?: (string | undefined) | undefined;
34127
+ /** Indicates whether AuditOnKeys is enabled for the door in the Salto Space access system. */
34128
+ audit_on_keys?: (boolean | undefined) | undefined;
34129
+ /** Name of the room in the Salto Space access system. */
34130
+ room_name?: (string | undefined) | undefined;
34131
+ /** Description of the room in the Salto Space access system. */
34132
+ room_description?: (string | undefined) | undefined;
34133
+ } | undefined;
34134
+ /** dormakaba Ambiance-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34135
+ dormakaba_ambiance_metadata?: {
34136
+ /** Name of the access point in the dormakaba Ambiance access system. */
34137
+ access_point_name?: (string | undefined) | undefined;
34138
+ } | undefined;
34139
+ /** Brivo-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34140
+ brivo_metadata?: {
34141
+ /** ID of the access point in the Brivo access system. */
34142
+ access_point_id?: (string | undefined) | undefined;
34143
+ /** ID of the site that the access point belongs to. */
34144
+ site_id?: (number | undefined) | undefined;
34145
+ /** Name of the site that the access point belongs to. */
34146
+ site_name?: (string | undefined) | undefined;
34147
+ } | undefined;
34148
+ /** Avigilon Alta-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34149
+ avigilon_alta_metadata?: {
34150
+ /** Entry name for an Avigilon Alta system. */
34151
+ entry_name?: (string | undefined) | undefined;
34152
+ /** Organization name for an Avigilon Alta system. */
34153
+ org_name?: (string | undefined) | undefined;
34154
+ /** Zone ID for an Avigilon Alta system. */
34155
+ zone_id?: (number | undefined) | undefined;
34156
+ /** Zone name for an Avigilon Alta system. */
34157
+ zone_name?: (string | undefined) | undefined;
34158
+ /** Site ID for an Avigilon Alta system. */
34159
+ site_id?: (number | undefined) | undefined;
34160
+ /** Site name for an Avigilon Alta system. */
34161
+ site_name?: (string | undefined) | undefined;
34162
+ /** Total count of entry relays for an Avigilon Alta system. */
34163
+ entry_relays_total_count?: (number | undefined) | undefined;
34164
+ } | undefined;
34165
+ /** Akiles-specific metadata associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34166
+ akiles_metadata?: {
34167
+ /** ID of the Akiles gadget. */
34168
+ gadget_id?: (string | undefined) | undefined;
34169
+ /** ID of the Akiles site the gadget belongs to. */
34170
+ site_id?: (string | undefined) | undefined;
34171
+ /** Name of the Akiles site the gadget belongs to. */
34172
+ site_name?: (string | undefined) | undefined;
34173
+ /** Actions the gadget exposes (for example, open). */
34174
+ actions?: ({
34175
+ /** ID of the gadget action. */
34176
+ id?: (string | undefined) | undefined;
34177
+ /** Name of the gadget action. */
34178
+ name?: (string | undefined) | undefined;
34179
+ }[] | undefined) | undefined;
34180
+ } | undefined;
34181
+ /** Indicates whether the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details) is currently locked. */
34182
+ is_locked?: boolean | undefined;
34183
+ /** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
34184
+ can_unlock_with_mobile_key?: boolean | undefined;
34185
+ /** Indicates whether the ACS entrance can be unlocked with card credentials. */
34186
+ can_unlock_with_card?: boolean | undefined;
34187
+ /** Indicates whether the ACS entrance can be unlocked with pin codes. */
34188
+ can_unlock_with_code?: boolean | undefined;
34189
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
34190
+ can_unlock_with_cloud_key?: boolean | undefined;
34191
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
34192
+ can_belong_to_reservation?: boolean | undefined;
34193
+ };
34194
+ };
34195
+ maxDuration: undefined;
34196
+ };
34197
+ '/acs/entrances/grant_access': {
34198
+ route: '/acs/entrances/grant_access';
34199
+ method: 'POST';
34200
+ queryParams: {};
34201
+ jsonBody: {
34202
+ /** ID of the entrance to which you want to grant an access system user access. */
34203
+ acs_entrance_id: string;
34204
+ /** ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
34205
+ user_identity_id?: string | undefined;
34206
+ /** ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. */
34207
+ acs_user_id?: string | undefined;
34208
+ };
34209
+ commonParams: {};
34210
+ formData: {};
34211
+ jsonResponse: {};
34212
+ maxDuration: undefined;
34213
+ };
34214
+ '/acs/entrances/list': {
34215
+ route: '/acs/entrances/list';
34216
+ method: 'GET' | 'POST';
34217
+ queryParams: {};
34218
+ jsonBody: {};
34219
+ commonParams: {
34220
+ /** Customer key for which you want to list entrances. */
34221
+ customer_key?: string | undefined;
34222
+ /** ID of the access system for which you want to retrieve all entrances. */
34223
+ acs_system_id?: string | undefined;
34224
+ /** ID of the credential for which you want to retrieve all entrances. */
34225
+ acs_credential_id?: string | undefined;
34226
+ /** ID of the access method for which you want to retrieve all entrances to which it grants access. */
34227
+ access_method_id?: string | undefined;
34228
+ /**
34229
+ * @deprecated Use `space_id`.*/
34230
+ location_id?: (string | null) | undefined;
34231
+ /** ID of the space for which you want to list entrances. */
34232
+ space_id?: string | undefined;
34233
+ /** ID of the connected account for which you want to retrieve all entrances. */
34234
+ connected_account_id?: string | undefined;
34235
+ /** IDs of the entrances for which you want to retrieve all entrances. */
34236
+ acs_entrance_ids?: string[] | undefined;
34237
+ /** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
34238
+ search?: string | undefined;
34239
+ /** Maximum number of records to return per page. */
34240
+ limit?: number;
34241
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
34242
+ page_cursor?: (string | undefined) | null;
34243
+ };
34244
+ formData: {};
34245
+ jsonResponse: {
34246
+ acs_entrances: {
34247
+ /** ID of the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) that contains the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34248
+ acs_system_id: string;
34249
+ /** ID of the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34250
+ acs_entrance_id: string;
34251
+ /** IDs of the spaces that the entrance is in. */
34252
+ space_ids: string[];
34253
+ /** Date and time at which the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details) was created. */
34254
+ created_at: string;
34255
+ /** Display name for the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34256
+ display_name: string;
34257
+ /** ID of the [connected account](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details) associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34258
+ connected_account_id: string;
34259
+ /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34260
+ errors: {
34265
34261
  /** Date and time at which Seam created the error. */
34266
34262
  created_at: string;
34263
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34264
+ message: string;
34265
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34266
+ error_code: 'entrance_removed';
34267
34267
  }[];
34268
34268
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
34269
34269
  warnings: ({
@@ -38019,12 +38019,12 @@ export type Routes = {
38019
38019
  connected_account_id: string;
38020
38020
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
38021
38021
  errors: {
38022
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38023
- error_code: string;
38024
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38025
- message: string;
38026
38022
  /** Date and time at which Seam created the error. */
38027
38023
  created_at: string;
38024
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38025
+ message: string;
38026
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38027
+ error_code: 'entrance_removed';
38028
38028
  }[];
38029
38029
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
38030
38030
  warnings: ({
@@ -81391,24 +81391,346 @@ export type Routes = {
81391
81391
  custom_metadata: {
81392
81392
  [x: string]: string | boolean;
81393
81393
  };
81394
- /** Errors associated with the phone. */
81395
- errors: {
81396
- /** Unique identifier of the type of error. */
81397
- error_code: string;
81398
- /** Detailed description of the error. */
81394
+ /** Array of errors associated with the device. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
81395
+ errors: ({
81396
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81399
81397
  message: string;
81398
+ /** Indicates that the error is not a device error. */
81399
+ is_device_error: false;
81400
81400
  /** Date and time at which Seam created the error. */
81401
81401
  created_at: string;
81402
- }[];
81403
- /** Warnings associated with the phone. */
81404
- warnings: {
81405
- /** Unique identifier of the type of warning. */
81406
- warning_code: string;
81407
- /** Detailed description of the warning. */
81402
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81403
+ error_code: 'account_disconnected';
81404
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81405
+ is_connected_account_error: true;
81406
+ } | {
81407
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81408
+ message: string;
81409
+ /** Indicates that the error is not a device error. */
81410
+ is_device_error: false;
81411
+ /** Date and time at which Seam created the error. */
81412
+ created_at: string;
81413
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81414
+ error_code: 'salto_ks_subscription_limit_exceeded';
81415
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81416
+ is_connected_account_error: true;
81417
+ } | {
81418
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81419
+ message: string;
81420
+ /** Indicates that the error is not a device error. */
81421
+ is_device_error: false;
81422
+ /** Date and time at which Seam created the error. */
81423
+ created_at: string;
81424
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81425
+ error_code: 'insufficient_permissions';
81426
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81427
+ is_connected_account_error: true;
81428
+ } | {
81429
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81430
+ message: string;
81431
+ /** Indicates that the error is not a device error. */
81432
+ is_device_error: false;
81433
+ /** Date and time at which Seam created the error. */
81434
+ created_at: string;
81435
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81436
+ error_code: 'dormakaba_sites_disconnected';
81437
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81438
+ is_connected_account_error: true;
81439
+ } | {
81440
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81441
+ message: string;
81442
+ /** Indicates that the error is a device error. */
81443
+ is_device_error: true;
81444
+ /** Date and time at which Seam created the error. */
81445
+ created_at: string;
81446
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81447
+ error_code: 'device_offline';
81448
+ } | {
81449
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81450
+ message: string;
81451
+ /** Indicates that the error is a device error. */
81452
+ is_device_error: true;
81453
+ /** Date and time at which Seam created the error. */
81454
+ created_at: string;
81455
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81456
+ error_code: 'device_removed';
81457
+ } | {
81458
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81459
+ message: string;
81460
+ /** Indicates that the error is a device error. */
81461
+ is_device_error: true;
81462
+ /** Date and time at which Seam created the error. */
81463
+ created_at: string;
81464
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81465
+ error_code: 'hub_disconnected';
81466
+ } | {
81467
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81468
+ message: string;
81469
+ /** Indicates that the error is a device error. */
81470
+ is_device_error: true;
81471
+ /** Date and time at which Seam created the error. */
81472
+ created_at: string;
81473
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81474
+ error_code: 'device_disconnected';
81475
+ } | {
81476
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81477
+ message: string;
81478
+ /** Indicates that the error is a device error. */
81479
+ is_device_error: true;
81480
+ /** Date and time at which Seam created the error. */
81481
+ created_at: string;
81482
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81483
+ error_code: 'empty_backup_access_code_pool';
81484
+ } | {
81485
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81486
+ message: string;
81487
+ /** Indicates that the error is a device error. */
81488
+ is_device_error: true;
81489
+ /** Date and time at which Seam created the error. */
81490
+ created_at: string;
81491
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81492
+ error_code: 'august_lock_not_authorized';
81493
+ } | {
81494
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81495
+ message: string;
81496
+ /** Indicates that the error is a device error. */
81497
+ is_device_error: true;
81498
+ /** Date and time at which Seam created the error. */
81499
+ created_at: string;
81500
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81501
+ error_code: 'missing_device_credentials';
81502
+ } | {
81503
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81504
+ message: string;
81505
+ /** Indicates that the error is a device error. */
81506
+ is_device_error: true;
81507
+ /** Date and time at which Seam created the error. */
81508
+ created_at: string;
81509
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81510
+ error_code: 'auxiliary_heat_running';
81511
+ } | {
81512
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81513
+ message: string;
81514
+ /** Indicates that the error is a device error. */
81515
+ is_device_error: true;
81516
+ /** Date and time at which Seam created the error. */
81517
+ created_at: string;
81518
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81519
+ error_code: 'subscription_required';
81520
+ } | {
81521
+ /** Date and time at which Seam created the error. */
81522
+ created_at: string;
81523
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81524
+ message: string;
81525
+ /** Indicates whether the error is related specifically to the connected account. */
81526
+ is_connected_account_error?: boolean | undefined;
81527
+ /** Indicates whether the error is related to [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge). */
81528
+ is_bridge_error?: boolean | undefined;
81529
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81530
+ error_code: 'bridge_disconnected';
81531
+ })[];
81532
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
81533
+ warnings: ({
81534
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81408
81535
  message: string;
81409
81536
  /** Date and time at which Seam created the warning. */
81410
81537
  created_at: string;
81411
- }[];
81538
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81539
+ warning_code: 'partial_backup_access_code_pool';
81540
+ } | {
81541
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81542
+ message: string;
81543
+ /** Date and time at which Seam created the warning. */
81544
+ created_at: string;
81545
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81546
+ warning_code: 'many_active_backup_codes';
81547
+ } | {
81548
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81549
+ message: string;
81550
+ /** Date and time at which Seam created the warning. */
81551
+ created_at: string;
81552
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81553
+ warning_code: 'third_party_integration_detected';
81554
+ } | {
81555
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81556
+ message: string;
81557
+ /** Date and time at which Seam created the warning. */
81558
+ created_at: string;
81559
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81560
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
81561
+ } | {
81562
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81563
+ message: string;
81564
+ /** Date and time at which Seam created the warning. */
81565
+ created_at: string;
81566
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81567
+ warning_code: 'ttlock_weak_gateway_signal';
81568
+ } | {
81569
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81570
+ message: string;
81571
+ /** Date and time at which Seam created the warning. */
81572
+ created_at: string;
81573
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81574
+ warning_code: 'power_saving_mode';
81575
+ } | {
81576
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81577
+ message: string;
81578
+ /** Date and time at which Seam created the warning. */
81579
+ created_at: string;
81580
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81581
+ warning_code: 'temperature_threshold_exceeded';
81582
+ } | {
81583
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81584
+ message: string;
81585
+ /** Date and time at which Seam created the warning. */
81586
+ created_at: string;
81587
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81588
+ warning_code: 'device_communication_degraded';
81589
+ } | {
81590
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81591
+ message: string;
81592
+ /** Date and time at which Seam created the warning. */
81593
+ created_at: string;
81594
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81595
+ warning_code: 'scheduled_maintenance_window';
81596
+ } | {
81597
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81598
+ message: string;
81599
+ /** Date and time at which Seam created the warning. */
81600
+ created_at: string;
81601
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81602
+ warning_code: 'device_has_flaky_connection';
81603
+ } | {
81604
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81605
+ message: string;
81606
+ /** Date and time at which Seam created the warning. */
81607
+ created_at: string;
81608
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81609
+ warning_code: 'salto_ks_office_mode';
81610
+ } | {
81611
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81612
+ message: string;
81613
+ /** Date and time at which Seam created the warning. */
81614
+ created_at: string;
81615
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81616
+ warning_code: 'salto_ks_privacy_mode';
81617
+ } | {
81618
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81619
+ message: string;
81620
+ /** Date and time at which Seam created the warning. */
81621
+ created_at: string;
81622
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81623
+ warning_code: 'privacy_mode';
81624
+ } | {
81625
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81626
+ message: string;
81627
+ /** Date and time at which Seam created the warning. */
81628
+ created_at: string;
81629
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81630
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
81631
+ } | {
81632
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81633
+ message: string;
81634
+ /** Date and time at which Seam created the warning. */
81635
+ created_at: string;
81636
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81637
+ warning_code: 'salto_ks_lock_access_code_support_removed';
81638
+ } | {
81639
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81640
+ message: string;
81641
+ /** Date and time at which Seam created the warning. */
81642
+ created_at: string;
81643
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81644
+ warning_code: 'unknown_issue_with_phone';
81645
+ } | {
81646
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81647
+ message: string;
81648
+ /** Date and time at which Seam created the warning. */
81649
+ created_at: string;
81650
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81651
+ warning_code: 'lockly_time_zone_not_configured';
81652
+ } | {
81653
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81654
+ message: string;
81655
+ /** Date and time at which Seam created the warning. */
81656
+ created_at: string;
81657
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81658
+ warning_code: 'ultraloq_time_zone_unknown';
81659
+ } | {
81660
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81661
+ message: string;
81662
+ /** Date and time at which Seam created the warning. */
81663
+ created_at: string;
81664
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81665
+ warning_code: 'time_zone_unknown';
81666
+ } | {
81667
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81668
+ message: string;
81669
+ /** Date and time at which Seam created the warning. */
81670
+ created_at: string;
81671
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81672
+ warning_code: 'time_zone_mismatch';
81673
+ } | {
81674
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81675
+ message: string;
81676
+ /** Date and time at which Seam created the warning. */
81677
+ created_at: string;
81678
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81679
+ warning_code: 'two_n_device_missing_timezone';
81680
+ } | {
81681
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81682
+ message: string;
81683
+ /** Date and time at which Seam created the warning. */
81684
+ created_at: string;
81685
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81686
+ warning_code: 'hub_required_for_additional_capabilities';
81687
+ } | {
81688
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81689
+ message: string;
81690
+ /** Date and time at which Seam created the warning. */
81691
+ created_at: string;
81692
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81693
+ warning_code: 'provider_issue';
81694
+ } | {
81695
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81696
+ message: string;
81697
+ /** Date and time at which Seam created the warning. */
81698
+ created_at: string;
81699
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81700
+ warning_code: 'keynest_unsupported_locker';
81701
+ } | {
81702
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81703
+ message: string;
81704
+ /** Date and time at which Seam created the warning. */
81705
+ created_at: string;
81706
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81707
+ warning_code: 'accessory_keypad_setup_required';
81708
+ } | {
81709
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81710
+ message: string;
81711
+ /** Date and time at which Seam created the warning. */
81712
+ created_at: string;
81713
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81714
+ warning_code: 'accessory_keypad_low_battery';
81715
+ } | {
81716
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81717
+ message: string;
81718
+ /** Date and time at which Seam created the warning. */
81719
+ created_at: string;
81720
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81721
+ warning_code: 'unreliable_online_status';
81722
+ } | {
81723
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81724
+ message: string;
81725
+ /** Date and time at which Seam created the warning. */
81726
+ created_at: string;
81727
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81728
+ warning_code: 'max_access_codes_reached';
81729
+ /** Number of active access codes on the device when the warning was set. */
81730
+ active_access_code_count: number;
81731
+ /** Maximum number of active access codes supported by the device. */
81732
+ max_active_access_code_count: number;
81733
+ })[];
81412
81734
  /** Type of the phone device, such as `ios_phone` or `android_phone`. */
81413
81735
  device_type: 'ios_phone' | 'android_phone';
81414
81736
  /** Properties of the phone. */
@@ -81469,24 +81791,346 @@ export type Routes = {
81469
81791
  custom_metadata: {
81470
81792
  [x: string]: string | boolean;
81471
81793
  };
81472
- /** Errors associated with the phone. */
81473
- errors: {
81474
- /** Unique identifier of the type of error. */
81475
- error_code: string;
81476
- /** Detailed description of the error. */
81794
+ /** Array of errors associated with the device. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
81795
+ errors: ({
81796
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81477
81797
  message: string;
81798
+ /** Indicates that the error is not a device error. */
81799
+ is_device_error: false;
81478
81800
  /** Date and time at which Seam created the error. */
81479
81801
  created_at: string;
81480
- }[];
81481
- /** Warnings associated with the phone. */
81482
- warnings: {
81483
- /** Unique identifier of the type of warning. */
81484
- warning_code: string;
81485
- /** Detailed description of the warning. */
81802
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81803
+ error_code: 'account_disconnected';
81804
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81805
+ is_connected_account_error: true;
81806
+ } | {
81807
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81808
+ message: string;
81809
+ /** Indicates that the error is not a device error. */
81810
+ is_device_error: false;
81811
+ /** Date and time at which Seam created the error. */
81812
+ created_at: string;
81813
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81814
+ error_code: 'salto_ks_subscription_limit_exceeded';
81815
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81816
+ is_connected_account_error: true;
81817
+ } | {
81818
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81819
+ message: string;
81820
+ /** Indicates that the error is not a device error. */
81821
+ is_device_error: false;
81822
+ /** Date and time at which Seam created the error. */
81823
+ created_at: string;
81824
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81825
+ error_code: 'insufficient_permissions';
81826
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81827
+ is_connected_account_error: true;
81828
+ } | {
81829
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81830
+ message: string;
81831
+ /** Indicates that the error is not a device error. */
81832
+ is_device_error: false;
81833
+ /** Date and time at which Seam created the error. */
81834
+ created_at: string;
81835
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81836
+ error_code: 'dormakaba_sites_disconnected';
81837
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
81838
+ is_connected_account_error: true;
81839
+ } | {
81840
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81841
+ message: string;
81842
+ /** Indicates that the error is a device error. */
81843
+ is_device_error: true;
81844
+ /** Date and time at which Seam created the error. */
81845
+ created_at: string;
81846
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81847
+ error_code: 'device_offline';
81848
+ } | {
81849
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81850
+ message: string;
81851
+ /** Indicates that the error is a device error. */
81852
+ is_device_error: true;
81853
+ /** Date and time at which Seam created the error. */
81854
+ created_at: string;
81855
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81856
+ error_code: 'device_removed';
81857
+ } | {
81858
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81859
+ message: string;
81860
+ /** Indicates that the error is a device error. */
81861
+ is_device_error: true;
81862
+ /** Date and time at which Seam created the error. */
81863
+ created_at: string;
81864
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81865
+ error_code: 'hub_disconnected';
81866
+ } | {
81867
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81868
+ message: string;
81869
+ /** Indicates that the error is a device error. */
81870
+ is_device_error: true;
81871
+ /** Date and time at which Seam created the error. */
81872
+ created_at: string;
81873
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81874
+ error_code: 'device_disconnected';
81875
+ } | {
81876
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81877
+ message: string;
81878
+ /** Indicates that the error is a device error. */
81879
+ is_device_error: true;
81880
+ /** Date and time at which Seam created the error. */
81881
+ created_at: string;
81882
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81883
+ error_code: 'empty_backup_access_code_pool';
81884
+ } | {
81885
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81886
+ message: string;
81887
+ /** Indicates that the error is a device error. */
81888
+ is_device_error: true;
81889
+ /** Date and time at which Seam created the error. */
81890
+ created_at: string;
81891
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81892
+ error_code: 'august_lock_not_authorized';
81893
+ } | {
81894
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81895
+ message: string;
81896
+ /** Indicates that the error is a device error. */
81897
+ is_device_error: true;
81898
+ /** Date and time at which Seam created the error. */
81899
+ created_at: string;
81900
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81901
+ error_code: 'missing_device_credentials';
81902
+ } | {
81903
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81904
+ message: string;
81905
+ /** Indicates that the error is a device error. */
81906
+ is_device_error: true;
81907
+ /** Date and time at which Seam created the error. */
81908
+ created_at: string;
81909
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81910
+ error_code: 'auxiliary_heat_running';
81911
+ } | {
81912
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81913
+ message: string;
81914
+ /** Indicates that the error is a device error. */
81915
+ is_device_error: true;
81916
+ /** Date and time at which Seam created the error. */
81917
+ created_at: string;
81918
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81919
+ error_code: 'subscription_required';
81920
+ } | {
81921
+ /** Date and time at which Seam created the error. */
81922
+ created_at: string;
81923
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81924
+ message: string;
81925
+ /** Indicates whether the error is related specifically to the connected account. */
81926
+ is_connected_account_error?: boolean | undefined;
81927
+ /** Indicates whether the error is related to [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge). */
81928
+ is_bridge_error?: boolean | undefined;
81929
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81930
+ error_code: 'bridge_disconnected';
81931
+ })[];
81932
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
81933
+ warnings: ({
81934
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81486
81935
  message: string;
81487
81936
  /** Date and time at which Seam created the warning. */
81488
81937
  created_at: string;
81489
- }[];
81938
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81939
+ warning_code: 'partial_backup_access_code_pool';
81940
+ } | {
81941
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81942
+ message: string;
81943
+ /** Date and time at which Seam created the warning. */
81944
+ created_at: string;
81945
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81946
+ warning_code: 'many_active_backup_codes';
81947
+ } | {
81948
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81949
+ message: string;
81950
+ /** Date and time at which Seam created the warning. */
81951
+ created_at: string;
81952
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81953
+ warning_code: 'third_party_integration_detected';
81954
+ } | {
81955
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81956
+ message: string;
81957
+ /** Date and time at which Seam created the warning. */
81958
+ created_at: string;
81959
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81960
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
81961
+ } | {
81962
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81963
+ message: string;
81964
+ /** Date and time at which Seam created the warning. */
81965
+ created_at: string;
81966
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81967
+ warning_code: 'ttlock_weak_gateway_signal';
81968
+ } | {
81969
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81970
+ message: string;
81971
+ /** Date and time at which Seam created the warning. */
81972
+ created_at: string;
81973
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81974
+ warning_code: 'power_saving_mode';
81975
+ } | {
81976
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81977
+ message: string;
81978
+ /** Date and time at which Seam created the warning. */
81979
+ created_at: string;
81980
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81981
+ warning_code: 'temperature_threshold_exceeded';
81982
+ } | {
81983
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81984
+ message: string;
81985
+ /** Date and time at which Seam created the warning. */
81986
+ created_at: string;
81987
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81988
+ warning_code: 'device_communication_degraded';
81989
+ } | {
81990
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81991
+ message: string;
81992
+ /** Date and time at which Seam created the warning. */
81993
+ created_at: string;
81994
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81995
+ warning_code: 'scheduled_maintenance_window';
81996
+ } | {
81997
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81998
+ message: string;
81999
+ /** Date and time at which Seam created the warning. */
82000
+ created_at: string;
82001
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82002
+ warning_code: 'device_has_flaky_connection';
82003
+ } | {
82004
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82005
+ message: string;
82006
+ /** Date and time at which Seam created the warning. */
82007
+ created_at: string;
82008
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82009
+ warning_code: 'salto_ks_office_mode';
82010
+ } | {
82011
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82012
+ message: string;
82013
+ /** Date and time at which Seam created the warning. */
82014
+ created_at: string;
82015
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82016
+ warning_code: 'salto_ks_privacy_mode';
82017
+ } | {
82018
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82019
+ message: string;
82020
+ /** Date and time at which Seam created the warning. */
82021
+ created_at: string;
82022
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82023
+ warning_code: 'privacy_mode';
82024
+ } | {
82025
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82026
+ message: string;
82027
+ /** Date and time at which Seam created the warning. */
82028
+ created_at: string;
82029
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82030
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
82031
+ } | {
82032
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82033
+ message: string;
82034
+ /** Date and time at which Seam created the warning. */
82035
+ created_at: string;
82036
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82037
+ warning_code: 'salto_ks_lock_access_code_support_removed';
82038
+ } | {
82039
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82040
+ message: string;
82041
+ /** Date and time at which Seam created the warning. */
82042
+ created_at: string;
82043
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82044
+ warning_code: 'unknown_issue_with_phone';
82045
+ } | {
82046
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82047
+ message: string;
82048
+ /** Date and time at which Seam created the warning. */
82049
+ created_at: string;
82050
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82051
+ warning_code: 'lockly_time_zone_not_configured';
82052
+ } | {
82053
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82054
+ message: string;
82055
+ /** Date and time at which Seam created the warning. */
82056
+ created_at: string;
82057
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82058
+ warning_code: 'ultraloq_time_zone_unknown';
82059
+ } | {
82060
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82061
+ message: string;
82062
+ /** Date and time at which Seam created the warning. */
82063
+ created_at: string;
82064
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82065
+ warning_code: 'time_zone_unknown';
82066
+ } | {
82067
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82068
+ message: string;
82069
+ /** Date and time at which Seam created the warning. */
82070
+ created_at: string;
82071
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82072
+ warning_code: 'time_zone_mismatch';
82073
+ } | {
82074
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82075
+ message: string;
82076
+ /** Date and time at which Seam created the warning. */
82077
+ created_at: string;
82078
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82079
+ warning_code: 'two_n_device_missing_timezone';
82080
+ } | {
82081
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82082
+ message: string;
82083
+ /** Date and time at which Seam created the warning. */
82084
+ created_at: string;
82085
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82086
+ warning_code: 'hub_required_for_additional_capabilities';
82087
+ } | {
82088
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82089
+ message: string;
82090
+ /** Date and time at which Seam created the warning. */
82091
+ created_at: string;
82092
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82093
+ warning_code: 'provider_issue';
82094
+ } | {
82095
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82096
+ message: string;
82097
+ /** Date and time at which Seam created the warning. */
82098
+ created_at: string;
82099
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82100
+ warning_code: 'keynest_unsupported_locker';
82101
+ } | {
82102
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82103
+ message: string;
82104
+ /** Date and time at which Seam created the warning. */
82105
+ created_at: string;
82106
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82107
+ warning_code: 'accessory_keypad_setup_required';
82108
+ } | {
82109
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82110
+ message: string;
82111
+ /** Date and time at which Seam created the warning. */
82112
+ created_at: string;
82113
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82114
+ warning_code: 'accessory_keypad_low_battery';
82115
+ } | {
82116
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82117
+ message: string;
82118
+ /** Date and time at which Seam created the warning. */
82119
+ created_at: string;
82120
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82121
+ warning_code: 'unreliable_online_status';
82122
+ } | {
82123
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82124
+ message: string;
82125
+ /** Date and time at which Seam created the warning. */
82126
+ created_at: string;
82127
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82128
+ warning_code: 'max_access_codes_reached';
82129
+ /** Number of active access codes on the device when the warning was set. */
82130
+ active_access_code_count: number;
82131
+ /** Maximum number of active access codes supported by the device. */
82132
+ max_active_access_code_count: number;
82133
+ })[];
81490
82134
  /** Type of the phone device, such as `ios_phone` or `android_phone`. */
81491
82135
  device_type: 'ios_phone' | 'android_phone';
81492
82136
  /** Properties of the phone. */
@@ -81574,24 +82218,346 @@ export type Routes = {
81574
82218
  custom_metadata: {
81575
82219
  [x: string]: string | boolean;
81576
82220
  };
81577
- /** Errors associated with the phone. */
81578
- errors: {
81579
- /** Unique identifier of the type of error. */
81580
- error_code: string;
81581
- /** Detailed description of the error. */
82221
+ /** Array of errors associated with the device. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
82222
+ errors: ({
82223
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81582
82224
  message: string;
82225
+ /** Indicates that the error is not a device error. */
82226
+ is_device_error: false;
81583
82227
  /** Date and time at which Seam created the error. */
81584
82228
  created_at: string;
81585
- }[];
81586
- /** Warnings associated with the phone. */
81587
- warnings: {
81588
- /** Unique identifier of the type of warning. */
81589
- warning_code: string;
81590
- /** Detailed description of the warning. */
82229
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82230
+ error_code: 'account_disconnected';
82231
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
82232
+ is_connected_account_error: true;
82233
+ } | {
82234
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82235
+ message: string;
82236
+ /** Indicates that the error is not a device error. */
82237
+ is_device_error: false;
82238
+ /** Date and time at which Seam created the error. */
82239
+ created_at: string;
82240
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82241
+ error_code: 'salto_ks_subscription_limit_exceeded';
82242
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
82243
+ is_connected_account_error: true;
82244
+ } | {
82245
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82246
+ message: string;
82247
+ /** Indicates that the error is not a device error. */
82248
+ is_device_error: false;
82249
+ /** Date and time at which Seam created the error. */
82250
+ created_at: string;
82251
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82252
+ error_code: 'insufficient_permissions';
82253
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
82254
+ is_connected_account_error: true;
82255
+ } | {
82256
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82257
+ message: string;
82258
+ /** Indicates that the error is not a device error. */
82259
+ is_device_error: false;
82260
+ /** Date and time at which Seam created the error. */
82261
+ created_at: string;
82262
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82263
+ error_code: 'dormakaba_sites_disconnected';
82264
+ /** Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error. */
82265
+ is_connected_account_error: true;
82266
+ } | {
82267
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82268
+ message: string;
82269
+ /** Indicates that the error is a device error. */
82270
+ is_device_error: true;
82271
+ /** Date and time at which Seam created the error. */
82272
+ created_at: string;
82273
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82274
+ error_code: 'device_offline';
82275
+ } | {
82276
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82277
+ message: string;
82278
+ /** Indicates that the error is a device error. */
82279
+ is_device_error: true;
82280
+ /** Date and time at which Seam created the error. */
82281
+ created_at: string;
82282
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82283
+ error_code: 'device_removed';
82284
+ } | {
82285
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82286
+ message: string;
82287
+ /** Indicates that the error is a device error. */
82288
+ is_device_error: true;
82289
+ /** Date and time at which Seam created the error. */
82290
+ created_at: string;
82291
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82292
+ error_code: 'hub_disconnected';
82293
+ } | {
82294
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82295
+ message: string;
82296
+ /** Indicates that the error is a device error. */
82297
+ is_device_error: true;
82298
+ /** Date and time at which Seam created the error. */
82299
+ created_at: string;
82300
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82301
+ error_code: 'device_disconnected';
82302
+ } | {
82303
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82304
+ message: string;
82305
+ /** Indicates that the error is a device error. */
82306
+ is_device_error: true;
82307
+ /** Date and time at which Seam created the error. */
82308
+ created_at: string;
82309
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82310
+ error_code: 'empty_backup_access_code_pool';
82311
+ } | {
82312
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82313
+ message: string;
82314
+ /** Indicates that the error is a device error. */
82315
+ is_device_error: true;
82316
+ /** Date and time at which Seam created the error. */
82317
+ created_at: string;
82318
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82319
+ error_code: 'august_lock_not_authorized';
82320
+ } | {
82321
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82322
+ message: string;
82323
+ /** Indicates that the error is a device error. */
82324
+ is_device_error: true;
82325
+ /** Date and time at which Seam created the error. */
82326
+ created_at: string;
82327
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82328
+ error_code: 'missing_device_credentials';
82329
+ } | {
82330
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82331
+ message: string;
82332
+ /** Indicates that the error is a device error. */
82333
+ is_device_error: true;
82334
+ /** Date and time at which Seam created the error. */
82335
+ created_at: string;
82336
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82337
+ error_code: 'auxiliary_heat_running';
82338
+ } | {
82339
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82340
+ message: string;
82341
+ /** Indicates that the error is a device error. */
82342
+ is_device_error: true;
82343
+ /** Date and time at which Seam created the error. */
82344
+ created_at: string;
82345
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82346
+ error_code: 'subscription_required';
82347
+ } | {
82348
+ /** Date and time at which Seam created the error. */
82349
+ created_at: string;
82350
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82351
+ message: string;
82352
+ /** Indicates whether the error is related specifically to the connected account. */
82353
+ is_connected_account_error?: boolean | undefined;
82354
+ /** Indicates whether the error is related to [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge). */
82355
+ is_bridge_error?: boolean | undefined;
82356
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82357
+ error_code: 'bridge_disconnected';
82358
+ })[];
82359
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
82360
+ warnings: ({
82361
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81591
82362
  message: string;
81592
82363
  /** Date and time at which Seam created the warning. */
81593
82364
  created_at: string;
81594
- }[];
82365
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82366
+ warning_code: 'partial_backup_access_code_pool';
82367
+ } | {
82368
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82369
+ message: string;
82370
+ /** Date and time at which Seam created the warning. */
82371
+ created_at: string;
82372
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82373
+ warning_code: 'many_active_backup_codes';
82374
+ } | {
82375
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82376
+ message: string;
82377
+ /** Date and time at which Seam created the warning. */
82378
+ created_at: string;
82379
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82380
+ warning_code: 'third_party_integration_detected';
82381
+ } | {
82382
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82383
+ message: string;
82384
+ /** Date and time at which Seam created the warning. */
82385
+ created_at: string;
82386
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82387
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
82388
+ } | {
82389
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82390
+ message: string;
82391
+ /** Date and time at which Seam created the warning. */
82392
+ created_at: string;
82393
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82394
+ warning_code: 'ttlock_weak_gateway_signal';
82395
+ } | {
82396
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82397
+ message: string;
82398
+ /** Date and time at which Seam created the warning. */
82399
+ created_at: string;
82400
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82401
+ warning_code: 'power_saving_mode';
82402
+ } | {
82403
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82404
+ message: string;
82405
+ /** Date and time at which Seam created the warning. */
82406
+ created_at: string;
82407
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82408
+ warning_code: 'temperature_threshold_exceeded';
82409
+ } | {
82410
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82411
+ message: string;
82412
+ /** Date and time at which Seam created the warning. */
82413
+ created_at: string;
82414
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82415
+ warning_code: 'device_communication_degraded';
82416
+ } | {
82417
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82418
+ message: string;
82419
+ /** Date and time at which Seam created the warning. */
82420
+ created_at: string;
82421
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82422
+ warning_code: 'scheduled_maintenance_window';
82423
+ } | {
82424
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82425
+ message: string;
82426
+ /** Date and time at which Seam created the warning. */
82427
+ created_at: string;
82428
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82429
+ warning_code: 'device_has_flaky_connection';
82430
+ } | {
82431
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82432
+ message: string;
82433
+ /** Date and time at which Seam created the warning. */
82434
+ created_at: string;
82435
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82436
+ warning_code: 'salto_ks_office_mode';
82437
+ } | {
82438
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82439
+ message: string;
82440
+ /** Date and time at which Seam created the warning. */
82441
+ created_at: string;
82442
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82443
+ warning_code: 'salto_ks_privacy_mode';
82444
+ } | {
82445
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82446
+ message: string;
82447
+ /** Date and time at which Seam created the warning. */
82448
+ created_at: string;
82449
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82450
+ warning_code: 'privacy_mode';
82451
+ } | {
82452
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82453
+ message: string;
82454
+ /** Date and time at which Seam created the warning. */
82455
+ created_at: string;
82456
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82457
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
82458
+ } | {
82459
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82460
+ message: string;
82461
+ /** Date and time at which Seam created the warning. */
82462
+ created_at: string;
82463
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82464
+ warning_code: 'salto_ks_lock_access_code_support_removed';
82465
+ } | {
82466
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82467
+ message: string;
82468
+ /** Date and time at which Seam created the warning. */
82469
+ created_at: string;
82470
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82471
+ warning_code: 'unknown_issue_with_phone';
82472
+ } | {
82473
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82474
+ message: string;
82475
+ /** Date and time at which Seam created the warning. */
82476
+ created_at: string;
82477
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82478
+ warning_code: 'lockly_time_zone_not_configured';
82479
+ } | {
82480
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82481
+ message: string;
82482
+ /** Date and time at which Seam created the warning. */
82483
+ created_at: string;
82484
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82485
+ warning_code: 'ultraloq_time_zone_unknown';
82486
+ } | {
82487
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82488
+ message: string;
82489
+ /** Date and time at which Seam created the warning. */
82490
+ created_at: string;
82491
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82492
+ warning_code: 'time_zone_unknown';
82493
+ } | {
82494
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82495
+ message: string;
82496
+ /** Date and time at which Seam created the warning. */
82497
+ created_at: string;
82498
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82499
+ warning_code: 'time_zone_mismatch';
82500
+ } | {
82501
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82502
+ message: string;
82503
+ /** Date and time at which Seam created the warning. */
82504
+ created_at: string;
82505
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82506
+ warning_code: 'two_n_device_missing_timezone';
82507
+ } | {
82508
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82509
+ message: string;
82510
+ /** Date and time at which Seam created the warning. */
82511
+ created_at: string;
82512
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82513
+ warning_code: 'hub_required_for_additional_capabilities';
82514
+ } | {
82515
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82516
+ message: string;
82517
+ /** Date and time at which Seam created the warning. */
82518
+ created_at: string;
82519
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82520
+ warning_code: 'provider_issue';
82521
+ } | {
82522
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82523
+ message: string;
82524
+ /** Date and time at which Seam created the warning. */
82525
+ created_at: string;
82526
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82527
+ warning_code: 'keynest_unsupported_locker';
82528
+ } | {
82529
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82530
+ message: string;
82531
+ /** Date and time at which Seam created the warning. */
82532
+ created_at: string;
82533
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82534
+ warning_code: 'accessory_keypad_setup_required';
82535
+ } | {
82536
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82537
+ message: string;
82538
+ /** Date and time at which Seam created the warning. */
82539
+ created_at: string;
82540
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82541
+ warning_code: 'accessory_keypad_low_battery';
82542
+ } | {
82543
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82544
+ message: string;
82545
+ /** Date and time at which Seam created the warning. */
82546
+ created_at: string;
82547
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82548
+ warning_code: 'unreliable_online_status';
82549
+ } | {
82550
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82551
+ message: string;
82552
+ /** Date and time at which Seam created the warning. */
82553
+ created_at: string;
82554
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82555
+ warning_code: 'max_access_codes_reached';
82556
+ /** Number of active access codes on the device when the warning was set. */
82557
+ active_access_code_count: number;
82558
+ /** Maximum number of active access codes supported by the device. */
82559
+ max_active_access_code_count: number;
82560
+ })[];
81595
82561
  /** Type of the phone device, such as `ios_phone` or `android_phone`. */
81596
82562
  device_type: 'ios_phone' | 'android_phone';
81597
82563
  /** Properties of the phone. */
@@ -83095,8 +84061,8 @@ export type Routes = {
83095
84061
  failed_devices?: {
83096
84062
  /** Device whose access code could not be revoked. */
83097
84063
  device_id: string;
83098
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
83099
- error_code: string;
84064
+ /** Reason the access code could not be revoked. */
84065
+ error_code: 'offline_access_code_not_revocable';
83100
84066
  /** Human-readable description of why revocation failed. */
83101
84067
  message: string;
83102
84068
  }[] | undefined;
@@ -90169,8 +91135,8 @@ export type Routes = {
90169
91135
  failed_devices?: {
90170
91136
  /** Device whose access code could not be revoked. */
90171
91137
  device_id: string;
90172
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
90173
- error_code: string;
91138
+ /** Reason the access code could not be revoked. */
91139
+ error_code: 'offline_access_code_not_revocable';
90174
91140
  /** Human-readable description of why revocation failed. */
90175
91141
  message: string;
90176
91142
  }[] | undefined;
@@ -90697,8 +91663,8 @@ export type Routes = {
90697
91663
  failed_devices?: {
90698
91664
  /** Device whose access code could not be revoked. */
90699
91665
  device_id: string;
90700
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
90701
- error_code: string;
91666
+ /** Reason the access code could not be revoked. */
91667
+ error_code: 'offline_access_code_not_revocable';
90702
91668
  /** Human-readable description of why revocation failed. */
90703
91669
  message: string;
90704
91670
  }[] | undefined;
@@ -91371,12 +92337,12 @@ export type Routes = {
91371
92337
  connected_account_id: string;
91372
92338
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
91373
92339
  errors: {
91374
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
91375
- error_code: string;
91376
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
91377
- message: string;
91378
92340
  /** Date and time at which Seam created the error. */
91379
92341
  created_at: string;
92342
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
92343
+ message: string;
92344
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
92345
+ error_code: 'entrance_removed';
91380
92346
  }[];
91381
92347
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
91382
92348
  warnings: ({
@@ -97174,12 +98140,12 @@ export type Routes = {
97174
98140
  connected_account_id: string;
97175
98141
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
97176
98142
  errors: {
97177
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
97178
- error_code: string;
97179
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
97180
- message: string;
97181
98143
  /** Date and time at which Seam created the error. */
97182
98144
  created_at: string;
98145
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
98146
+ message: string;
98147
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
98148
+ error_code: 'entrance_removed';
97183
98149
  }[];
97184
98150
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
97185
98151
  warnings: ({
@@ -125972,12 +126938,12 @@ export type Routes = {
125972
126938
  connected_account_id: string;
125973
126939
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
125974
126940
  errors: {
125975
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125976
- error_code: string;
125977
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125978
- message: string;
125979
126941
  /** Date and time at which Seam created the error. */
125980
126942
  created_at: string;
126943
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
126944
+ message: string;
126945
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
126946
+ error_code: 'entrance_removed';
125981
126947
  }[];
125982
126948
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
125983
126949
  warnings: ({
@@ -128846,12 +129812,12 @@ export type Routes = {
128846
129812
  connected_account_id: string;
128847
129813
  /** Errors associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
128848
129814
  errors: {
128849
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128850
- error_code: string;
128851
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128852
- message: string;
128853
129815
  /** Date and time at which Seam created the error. */
128854
129816
  created_at: string;
129817
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129818
+ message: string;
129819
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129820
+ error_code: 'entrance_removed';
128855
129821
  }[];
128856
129822
  /** Warnings associated with the [entrance](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details). */
128857
129823
  warnings: ({
@@ -132799,8 +133765,8 @@ export type Routes = {
132799
133765
  failed_devices?: {
132800
133766
  /** Device whose access code could not be revoked. */
132801
133767
  device_id: string;
132802
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
132803
- error_code: string;
133768
+ /** Reason the access code could not be revoked. */
133769
+ error_code: 'offline_access_code_not_revocable';
132804
133770
  /** Human-readable description of why revocation failed. */
132805
133771
  message: string;
132806
133772
  }[] | undefined;