@seamapi/types 1.459.0 → 1.460.1

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 (41) hide show
  1. package/dist/connect.cjs +489 -127
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2612 -713
  4. package/dist/index.cjs +489 -127
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +8 -8
  7. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +2 -2
  8. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +28 -28
  9. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +12 -12
  10. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +16 -16
  11. package/lib/seam/connect/models/batch.d.ts +3279 -237
  12. package/lib/seam/connect/models/batch.js +7 -0
  13. package/lib/seam/connect/models/batch.js.map +1 -1
  14. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +18 -18
  15. package/lib/seam/connect/models/customer/access-grant-resources.js +2 -1
  16. package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
  17. package/lib/seam/connect/models/customer/customer-data.d.ts +15 -15
  18. package/lib/seam/connect/models/devices/device-metadata.d.ts +108 -0
  19. package/lib/seam/connect/models/devices/device-metadata.js +67 -0
  20. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  21. package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
  22. package/lib/seam/connect/models/devices/device-provider.js +1 -0
  23. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device.d.ts +152 -0
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +108 -0
  26. package/lib/seam/connect/models/phones/phone-session.d.ts +181 -14
  27. package/lib/seam/connect/models/phones/phone-session.js +3 -0
  28. package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
  29. package/lib/seam/connect/openapi.d.ts +300 -33
  30. package/lib/seam/connect/openapi.js +447 -113
  31. package/lib/seam/connect/openapi.js.map +1 -1
  32. package/lib/seam/connect/route-types.d.ts +1354 -179
  33. package/package.json +1 -1
  34. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  35. package/src/lib/seam/connect/models/batch.ts +7 -0
  36. package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -1
  37. package/src/lib/seam/connect/models/devices/device-metadata.ts +68 -0
  38. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
  39. package/src/lib/seam/connect/models/phones/phone-session.ts +5 -0
  40. package/src/lib/seam/connect/openapi.ts +481 -113
  41. package/src/lib/seam/connect/route-types.ts +1558 -189
@@ -11331,95 +11331,31 @@ export interface Routes {
11331
11331
  commonParams: {
11332
11332
  /** IDs of the access grants that you want to get along with their related resources. */
11333
11333
  access_grant_ids: string[]
11334
- include?: Array<'spaces' | 'devices' | 'acs_entrances'> | undefined
11335
- exclude?: Array<'spaces' | 'devices' | 'acs_entrances'> | undefined
11334
+ include?:
11335
+ | Array<
11336
+ | 'spaces'
11337
+ | 'devices'
11338
+ | 'acs_entrances'
11339
+ | 'connected_accounts'
11340
+ | 'acs_systems'
11341
+ | 'user_identity'
11342
+ >
11343
+ | undefined
11344
+ exclude?:
11345
+ | Array<
11346
+ | 'spaces'
11347
+ | 'devices'
11348
+ | 'acs_entrances'
11349
+ | 'connected_accounts'
11350
+ | 'acs_systems'
11351
+ | 'user_identity'
11352
+ >
11353
+ | undefined
11336
11354
  }
11337
11355
  formData: {}
11338
11356
  jsonResponse: {
11339
- /** Represents a resource batch. */
11340
11357
  batch: {
11341
- batch_type: 'workspaces' | 'access_grants' | 'access_methods' | 'spaces'
11342
- user_identities?:
11343
- | Array<{
11344
- /** ID of the user identity. */
11345
- user_identity_id: string
11346
- /** Unique key for the user identity. */
11347
- user_identity_key: string | null
11348
- /** Unique email address for the user identity. */
11349
- email_address: string | null
11350
- /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
11351
- phone_number: string | null
11352
- display_name: string
11353
- full_name: string | null
11354
- /** Date and time at which the user identity was created. */
11355
- created_at: string
11356
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
11357
- workspace_id: string
11358
- /** Array of errors associated with the user identity. Each error object within the array contains fields like "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. */
11359
- errors: Array<{
11360
- /** Date and time at which Seam created the error. */
11361
- created_at: string
11362
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11363
- message: string
11364
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11365
- error_code: 'issue_with_acs_user'
11366
- /** ID of the access system user that has an issue. */
11367
- acs_user_id: string
11368
- /** ID of the access system that the user identity is associated with. */
11369
- acs_system_id: string
11370
- }>
11371
- /** Array of warnings associated with the user identity. 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. */
11372
- warnings: Array<
11373
- | {
11374
- /** Date and time at which Seam created the warning. */
11375
- created_at: string
11376
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11377
- message: string
11378
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11379
- warning_code: 'being_deleted'
11380
- }
11381
- | {
11382
- /** Date and time at which Seam created the warning. */
11383
- created_at: string
11384
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11385
- message: string
11386
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11387
- warning_code: 'acs_user_profile_does_not_match_user_identity'
11388
- }
11389
- >
11390
- /** Array of access system user IDs associated with the user identity. */
11391
- acs_user_ids: string[]
11392
- }>
11393
- | undefined
11394
- workspaces?:
11395
- | Array<{
11396
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11397
- workspace_id: string
11398
- /** Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11399
- name: string
11400
- /** Company name associated with the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
11401
- company_name: string
11402
- /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). */
11403
- is_sandbox: boolean
11404
- connect_webview_customization: {
11405
- /** Primary button color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
11406
- primary_button_color?: string | undefined
11407
- /** Primary button text color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
11408
- primary_button_text_color?: string | undefined
11409
- /** Success message for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
11410
- success_message?: string | undefined
11411
- /** Logo shape for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
11412
- logo_shape?: ('circle' | 'square') | undefined
11413
- /** URL of the inviter logo for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
11414
- inviter_logo_url?: string | undefined
11415
- }
11416
- /** Indicates whether the [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */
11417
- is_suspended: boolean
11418
- /**
11419
- * @deprecated Use `company_name` instead. */
11420
- connect_partner_name: (string | null) | null
11421
- }>
11422
- | undefined
11358
+ batch_type: 'access_grants'
11423
11359
  spaces?:
11424
11360
  | Array<{
11425
11361
  /** ID of the space. */
@@ -12114,6 +12050,51 @@ export interface Routes {
12114
12050
  product_type: string
12115
12051
  }
12116
12052
  | undefined
12053
+ /** Metadata for a KeyNest device. */
12054
+ keynest_metadata?:
12055
+ | {
12056
+ /** Key ID for a KeyNest device. */
12057
+ key_id: string
12058
+ /** Device name for a KeyNest device. */
12059
+ device_name: string
12060
+ /** Property ID for a KeyNest device. */
12061
+ property_id: string | null
12062
+ /** Property postcode for a KeyNest device. */
12063
+ property_postcode: string | null
12064
+ /** Key notes for a KeyNest device. */
12065
+ key_notes: string | null
12066
+ /** Subscription plan for a KeyNest device. */
12067
+ subscription_plan: string
12068
+ /** Status type for a KeyNest device. */
12069
+ status_type: string
12070
+ /** Current or last store ID for a KeyNest device. */
12071
+ current_or_last_store_id: number
12072
+ /** Last movement timestamp for a KeyNest device. */
12073
+ last_movement: string
12074
+ /** Address for a KeyNest device. */
12075
+ address: string | null
12076
+ /** Current status for a KeyNest device. */
12077
+ current_status: string | null
12078
+ /** Current user name for a KeyNest device. */
12079
+ current_user_name: string | null
12080
+ /** Current user email for a KeyNest device. */
12081
+ current_user_email: string | null
12082
+ /** Current user phone number for a KeyNest device. */
12083
+ current_user_phone_number: string | null
12084
+ /** Current user company for a KeyNest device. */
12085
+ current_user_company: string | null
12086
+ /** Handover method for a KeyNest device. */
12087
+ handover_method: string | null
12088
+ /** KeyNest app user for a KeyNest device. */
12089
+ keynest_app_user: string | null
12090
+ /** Default office ID for a KeyNest device. */
12091
+ default_office_id: number
12092
+ /** Fob ID for a KeyNest device. */
12093
+ fob_id: number
12094
+ /** Whether the KeyNest device has a photo. */
12095
+ has_photo: boolean
12096
+ }
12097
+ | undefined
12117
12098
  }) &
12118
12099
  ({
12119
12100
  /** */
@@ -13046,6 +13027,368 @@ export interface Routes {
13046
13027
  can_unlock_with_code?: boolean | undefined
13047
13028
  }>
13048
13029
  | undefined
13030
+ user_identities?:
13031
+ | Array<{
13032
+ /** ID of the user identity. */
13033
+ user_identity_id: string
13034
+ /** Unique key for the user identity. */
13035
+ user_identity_key: string | null
13036
+ /** Unique email address for the user identity. */
13037
+ email_address: string | null
13038
+ /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
13039
+ phone_number: string | null
13040
+ display_name: string
13041
+ full_name: string | null
13042
+ /** Date and time at which the user identity was created. */
13043
+ created_at: string
13044
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
13045
+ workspace_id: string
13046
+ /** Array of errors associated with the user identity. Each error object within the array contains fields like "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. */
13047
+ errors: Array<{
13048
+ /** Date and time at which Seam created the error. */
13049
+ created_at: string
13050
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13051
+ message: string
13052
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13053
+ error_code: 'issue_with_acs_user'
13054
+ /** ID of the access system user that has an issue. */
13055
+ acs_user_id: string
13056
+ /** ID of the access system that the user identity is associated with. */
13057
+ acs_system_id: string
13058
+ }>
13059
+ /** Array of warnings associated with the user identity. 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. */
13060
+ warnings: Array<
13061
+ | {
13062
+ /** Date and time at which Seam created the warning. */
13063
+ created_at: string
13064
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13065
+ message: string
13066
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13067
+ warning_code: 'being_deleted'
13068
+ }
13069
+ | {
13070
+ /** Date and time at which Seam created the warning. */
13071
+ created_at: string
13072
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13073
+ message: string
13074
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13075
+ warning_code: 'acs_user_profile_does_not_match_user_identity'
13076
+ }
13077
+ >
13078
+ /** Array of access system user IDs associated with the user identity. */
13079
+ acs_user_ids: string[]
13080
+ }>
13081
+ | undefined
13082
+ connected_accounts?:
13083
+ | Array<{
13084
+ /** ID of the connected account. */
13085
+ connected_account_id?: string | undefined
13086
+ /** Date and time at which the connected account was created. */
13087
+ created_at?: string | undefined
13088
+ /** User identifier associated with the connected account. */
13089
+ user_identifier?:
13090
+ | {
13091
+ /** Username of the user identifier associated with the connected account. */
13092
+ username?: string | undefined
13093
+ /** API URL for the user identifier associated with the connected account. */
13094
+ api_url?: string | undefined
13095
+ /** Email address of the user identifier associated with the connected account. */
13096
+ email?: string | undefined
13097
+ /** Phone number of the user identifier associated with the connected account. */
13098
+ phone?: string | undefined
13099
+ /** Indicates whether the user identifier associated with the connected account is exclusive. */
13100
+ exclusive?: boolean | undefined
13101
+ }
13102
+ | undefined
13103
+ /** Type of connected account. */
13104
+ account_type?: string | undefined
13105
+ /** Display name for the connected account type. */
13106
+ account_type_display_name: string
13107
+ /** Errors associated with the connected account. */
13108
+ errors: Array<
13109
+ | {
13110
+ /** Date and time at which Seam created the error. */
13111
+ created_at: string
13112
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13113
+ message: string
13114
+ /** Indicates whether the error is related specifically to the connected account. */
13115
+ is_connected_account_error?: boolean | undefined
13116
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
13117
+ is_bridge_error?: boolean | undefined
13118
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13119
+ error_code: 'account_disconnected'
13120
+ }
13121
+ | {
13122
+ /** Date and time at which Seam created the error. */
13123
+ created_at: string
13124
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13125
+ message: string
13126
+ /** Indicates whether the error is related specifically to the connected account. */
13127
+ is_connected_account_error?: boolean | undefined
13128
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
13129
+ is_bridge_error?: boolean | undefined
13130
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13131
+ error_code: 'invalid_credentials'
13132
+ }
13133
+ | {
13134
+ /** Date and time at which Seam created the error. */
13135
+ created_at: string
13136
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13137
+ message: string
13138
+ /** Indicates whether the error is related specifically to the connected account. */
13139
+ is_connected_account_error?: boolean | undefined
13140
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
13141
+ is_bridge_error?: boolean | undefined
13142
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13143
+ error_code: 'bridge_disconnected'
13144
+ }
13145
+ | {
13146
+ /** Date and time at which Seam created the error. */
13147
+ created_at: string
13148
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13149
+ message: string
13150
+ /** Indicates whether the error is related specifically to the connected account. */
13151
+ is_connected_account_error?: boolean | undefined
13152
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
13153
+ is_bridge_error?: boolean | undefined
13154
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13155
+ error_code: 'salto_ks_subscription_limit_exceeded'
13156
+ /** Salto KS metadata associated with the connected account that has an error. */
13157
+ salto_ks_metadata: {
13158
+ /** Salto sites associated with the connected account that has an error. */
13159
+ sites: Array<{
13160
+ /** ID of a Salto site associated with the connected account that has an error. */
13161
+ site_id: string
13162
+ /** Name of a Salto site associated with the connected account that has an error. */
13163
+ site_name: string
13164
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
13165
+ subscribed_site_user_count: number
13166
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
13167
+ site_user_subscription_limit: number
13168
+ }>
13169
+ }
13170
+ }
13171
+ >
13172
+ /** Warnings associated with the connected account. */
13173
+ warnings: Array<
13174
+ | {
13175
+ /** Date and time at which Seam created the warning. */
13176
+ created_at: string
13177
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13178
+ message: string
13179
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13180
+ warning_code: 'scheduled_maintenance_window'
13181
+ }
13182
+ | {
13183
+ /** Date and time at which Seam created the warning. */
13184
+ created_at: string
13185
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13186
+ message: string
13187
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13188
+ warning_code: 'unknown_issue_with_connected_account'
13189
+ }
13190
+ | {
13191
+ /** Date and time at which Seam created the warning. */
13192
+ created_at: string
13193
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13194
+ message: string
13195
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13196
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
13197
+ /** Salto KS metadata associated with the connected account that has a warning. */
13198
+ salto_ks_metadata: {
13199
+ /** Salto sites associated with the connected account that has a warning. */
13200
+ sites: Array<{
13201
+ /** ID of a Salto site associated with the connected account that has a warning. */
13202
+ site_id: string
13203
+ /** Name of a Salto site associated with the connected account that has a warning. */
13204
+ site_name: string
13205
+ /** Subscription limit of site users for a Salto site associated with the connected account that has a warning. */
13206
+ site_user_subscription_limit: number
13207
+ /** Count of subscribed site users for a Salto site associated with the connected account that has a warning. */
13208
+ subscribed_site_user_count: number
13209
+ }>
13210
+ }
13211
+ }
13212
+ >
13213
+ /** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
13214
+ custom_metadata: Record<string, string | boolean>
13215
+ /** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for management by the Seam API. */
13216
+ automatically_manage_new_devices: boolean
13217
+ /** Your unique key for the customer associated with this connected account. */
13218
+ customer_key?: string | undefined
13219
+ /** List of capabilities that were accepted during the account connection process. */
13220
+ accepted_capabilities: Array<
13221
+ 'lock' | 'thermostat' | 'noise_sensor' | 'access_control'
13222
+ >
13223
+ }>
13224
+ | undefined
13225
+ acs_systems?:
13226
+ | Array<{
13227
+ /** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13228
+ default_credential_manager_acs_system_id?:
13229
+ | (string | null)
13230
+ | undefined
13231
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13232
+ acs_system_id: string
13233
+ acs_user_count?: number | undefined
13234
+ acs_access_group_count?: number | undefined
13235
+ /** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
13236
+ external_type?:
13237
+ | (
13238
+ | 'pti_site'
13239
+ | 'alta_org'
13240
+ | 'salto_ks_site'
13241
+ | 'salto_space_system'
13242
+ | 'brivo_account'
13243
+ | 'hid_credential_manager_organization'
13244
+ | 'visionline_system'
13245
+ | 'assa_abloy_credential_service'
13246
+ | 'latch_building'
13247
+ | 'dormakaba_community_site'
13248
+ | 'legic_connect_credential_service'
13249
+ | 'assa_abloy_vostio'
13250
+ | 'assa_abloy_vostio_credential_service'
13251
+ )
13252
+ | undefined
13253
+ /** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
13254
+ external_type_display_name?: string | undefined
13255
+ /** Indicates whether the `acs_system` is a credential manager. */
13256
+ is_credential_manager: boolean
13257
+ visionline_metadata?:
13258
+ | {
13259
+ /** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
13260
+ mobile_access_uuid: string
13261
+ /** Unique ID assigned by the ASSA ABLOY licensing team that identifies each hotel in your credential manager. */
13262
+ system_id: string
13263
+ /** IP address or hostname of the main Visionline server relative to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) on the local network. */
13264
+ lan_address: string
13265
+ }
13266
+ | undefined
13267
+ /**
13268
+ * @deprecated Use `external_type`. */
13269
+ system_type?:
13270
+ | (
13271
+ | 'pti_site'
13272
+ | 'alta_org'
13273
+ | 'salto_ks_site'
13274
+ | 'salto_space_system'
13275
+ | 'brivo_account'
13276
+ | 'hid_credential_manager_organization'
13277
+ | 'visionline_system'
13278
+ | 'assa_abloy_credential_service'
13279
+ | 'latch_building'
13280
+ | 'dormakaba_community_site'
13281
+ | 'legic_connect_credential_service'
13282
+ | 'assa_abloy_vostio'
13283
+ | 'assa_abloy_vostio_credential_service'
13284
+ )
13285
+ | undefined
13286
+ /**
13287
+ * @deprecated Use `external_type_display_name`. */
13288
+ system_type_display_name?: string | undefined
13289
+ location: {
13290
+ /** Time zone in which the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) is located. */
13291
+ time_zone: string | null
13292
+ }
13293
+ /** Name of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13294
+ name: string
13295
+ /** Date and time at which the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) was created. */
13296
+ created_at: string
13297
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13298
+ workspace_id: string
13299
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
13300
+ * @deprecated Use `connected_account_id`. */
13301
+ connected_account_ids: string[]
13302
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13303
+ connected_account_id: string
13304
+ /** URL for the image that represents the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13305
+ image_url: string
13306
+ /** Alternative text for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) image. */
13307
+ image_alt_text: string
13308
+ /** Errors associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13309
+ errors: Array<
13310
+ | {
13311
+ /** Date and time at which Seam created the error. */
13312
+ created_at: string
13313
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13314
+ message: string
13315
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13316
+ error_code: 'seam_bridge_disconnected'
13317
+ }
13318
+ | {
13319
+ /** Date and time at which Seam created the error. */
13320
+ created_at: string
13321
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13322
+ message: string
13323
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13324
+ error_code: 'bridge_disconnected'
13325
+ is_bridge_error?: boolean | undefined
13326
+ }
13327
+ | {
13328
+ /** Date and time at which Seam created the error. */
13329
+ created_at: string
13330
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13331
+ message: string
13332
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13333
+ error_code: 'visionline_instance_unreachable'
13334
+ }
13335
+ | {
13336
+ /** Date and time at which Seam created the error. */
13337
+ created_at: string
13338
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13339
+ message: string
13340
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13341
+ error_code: 'salto_ks_subscription_limit_exceeded'
13342
+ }
13343
+ | {
13344
+ /** Date and time at which Seam created the error. */
13345
+ created_at: string
13346
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13347
+ message: string
13348
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13349
+ error_code: 'acs_system_disconnected'
13350
+ }
13351
+ | {
13352
+ /** Date and time at which Seam created the error. */
13353
+ created_at: string
13354
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13355
+ message: string
13356
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13357
+ error_code: 'account_disconnected'
13358
+ }
13359
+ | {
13360
+ /** Date and time at which Seam created the error. */
13361
+ created_at: string
13362
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13363
+ message: string
13364
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13365
+ error_code: 'salto_ks_certification_expired'
13366
+ }
13367
+ >
13368
+ /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13369
+ warnings: Array<
13370
+ | {
13371
+ /** Date and time at which Seam created the warning. */
13372
+ created_at: string
13373
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13374
+ message: string
13375
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13376
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
13377
+ }
13378
+ | {
13379
+ /** Date and time at which Seam created the warning. */
13380
+ created_at: string
13381
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13382
+ message: string
13383
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13384
+ warning_code: 'time_zone_does_not_match_location'
13385
+ /**
13386
+ * @deprecated this field is deprecated. */
13387
+ misconfigured_acs_entrance_ids?: string[] | undefined
13388
+ }
13389
+ >
13390
+ }>
13391
+ | undefined
13049
13392
  }
13050
13393
  }
13051
13394
  }
@@ -15415,6 +15758,51 @@ export interface Routes {
15415
15758
  product_type: string
15416
15759
  }
15417
15760
  | undefined
15761
+ /** Metadata for a KeyNest device. */
15762
+ keynest_metadata?:
15763
+ | {
15764
+ /** Key ID for a KeyNest device. */
15765
+ key_id: string
15766
+ /** Device name for a KeyNest device. */
15767
+ device_name: string
15768
+ /** Property ID for a KeyNest device. */
15769
+ property_id: string | null
15770
+ /** Property postcode for a KeyNest device. */
15771
+ property_postcode: string | null
15772
+ /** Key notes for a KeyNest device. */
15773
+ key_notes: string | null
15774
+ /** Subscription plan for a KeyNest device. */
15775
+ subscription_plan: string
15776
+ /** Status type for a KeyNest device. */
15777
+ status_type: string
15778
+ /** Current or last store ID for a KeyNest device. */
15779
+ current_or_last_store_id: number
15780
+ /** Last movement timestamp for a KeyNest device. */
15781
+ last_movement: string
15782
+ /** Address for a KeyNest device. */
15783
+ address: string | null
15784
+ /** Current status for a KeyNest device. */
15785
+ current_status: string | null
15786
+ /** Current user name for a KeyNest device. */
15787
+ current_user_name: string | null
15788
+ /** Current user email for a KeyNest device. */
15789
+ current_user_email: string | null
15790
+ /** Current user phone number for a KeyNest device. */
15791
+ current_user_phone_number: string | null
15792
+ /** Current user company for a KeyNest device. */
15793
+ current_user_company: string | null
15794
+ /** Handover method for a KeyNest device. */
15795
+ handover_method: string | null
15796
+ /** KeyNest app user for a KeyNest device. */
15797
+ keynest_app_user: string | null
15798
+ /** Default office ID for a KeyNest device. */
15799
+ default_office_id: number
15800
+ /** Fob ID for a KeyNest device. */
15801
+ fob_id: number
15802
+ /** Whether the KeyNest device has a photo. */
15803
+ has_photo: boolean
15804
+ }
15805
+ | undefined
15418
15806
  }) &
15419
15807
  ({
15420
15808
  /** */
@@ -27930,6 +28318,7 @@ export interface Routes {
27930
28318
  | 'salto_space'
27931
28319
  | 'sensi'
27932
28320
  | 'kwikset2'
28321
+ | 'keynest'
27933
28322
  | 'yale_access'
27934
28323
  | 'hid_cm'
27935
28324
  | 'google_nest'
@@ -28879,8 +29268,8 @@ export interface Routes {
28879
29268
  /** List of reservations. */
28880
29269
  reservations?:
28881
29270
  | Array<{
28882
- /** Your display name for this access grant resource. */
28883
- name: string
29271
+ /** Your name for this access grant resource. */
29272
+ name?: string | undefined
28884
29273
  /** Starting date and time for the access grant. */
28885
29274
  starts_at?: string | undefined
28886
29275
  /** Ending date and time for the access grant. */
@@ -28918,8 +29307,8 @@ export interface Routes {
28918
29307
  /** List of bookings. */
28919
29308
  bookings?:
28920
29309
  | Array<{
28921
- /** Your display name for this access grant resource. */
28922
- name: string
29310
+ /** Your name for this access grant resource. */
29311
+ name?: string | undefined
28923
29312
  /** Starting date and time for the access grant. */
28924
29313
  starts_at?: string | undefined
28925
29314
  /** Ending date and time for the access grant. */
@@ -28957,8 +29346,8 @@ export interface Routes {
28957
29346
  /** List of access grants. */
28958
29347
  access_grants?:
28959
29348
  | Array<{
28960
- /** Your display name for this access grant resource. */
28961
- name: string
29349
+ /** Your name for this access grant resource. */
29350
+ name?: string | undefined
28962
29351
  /** Starting date and time for the access grant. */
28963
29352
  starts_at?: string | undefined
28964
29353
  /** Ending date and time for the access grant. */
@@ -29174,8 +29563,8 @@ export interface Routes {
29174
29563
  /** List of reservations. */
29175
29564
  reservations?:
29176
29565
  | Array<{
29177
- /** Your display name for this access grant resource. */
29178
- name: string
29566
+ /** Your name for this access grant resource. */
29567
+ name?: string | undefined
29179
29568
  /** Starting date and time for the access grant. */
29180
29569
  starts_at?: string | undefined
29181
29570
  /** Ending date and time for the access grant. */
@@ -29213,8 +29602,8 @@ export interface Routes {
29213
29602
  /** List of bookings. */
29214
29603
  bookings?:
29215
29604
  | Array<{
29216
- /** Your display name for this access grant resource. */
29217
- name: string
29605
+ /** Your name for this access grant resource. */
29606
+ name?: string | undefined
29218
29607
  /** Starting date and time for the access grant. */
29219
29608
  starts_at?: string | undefined
29220
29609
  /** Ending date and time for the access grant. */
@@ -29252,8 +29641,8 @@ export interface Routes {
29252
29641
  /** List of access grants. */
29253
29642
  access_grants?:
29254
29643
  | Array<{
29255
- /** Your display name for this access grant resource. */
29256
- name: string
29644
+ /** Your name for this access grant resource. */
29645
+ name?: string | undefined
29257
29646
  /** Starting date and time for the access grant. */
29258
29647
  starts_at?: string | undefined
29259
29648
  /** Ending date and time for the access grant. */
@@ -29991,6 +30380,51 @@ export interface Routes {
29991
30380
  product_type: string
29992
30381
  }
29993
30382
  | undefined
30383
+ /** Metadata for a KeyNest device. */
30384
+ keynest_metadata?:
30385
+ | {
30386
+ /** Key ID for a KeyNest device. */
30387
+ key_id: string
30388
+ /** Device name for a KeyNest device. */
30389
+ device_name: string
30390
+ /** Property ID for a KeyNest device. */
30391
+ property_id: string | null
30392
+ /** Property postcode for a KeyNest device. */
30393
+ property_postcode: string | null
30394
+ /** Key notes for a KeyNest device. */
30395
+ key_notes: string | null
30396
+ /** Subscription plan for a KeyNest device. */
30397
+ subscription_plan: string
30398
+ /** Status type for a KeyNest device. */
30399
+ status_type: string
30400
+ /** Current or last store ID for a KeyNest device. */
30401
+ current_or_last_store_id: number
30402
+ /** Last movement timestamp for a KeyNest device. */
30403
+ last_movement: string
30404
+ /** Address for a KeyNest device. */
30405
+ address: string | null
30406
+ /** Current status for a KeyNest device. */
30407
+ current_status: string | null
30408
+ /** Current user name for a KeyNest device. */
30409
+ current_user_name: string | null
30410
+ /** Current user email for a KeyNest device. */
30411
+ current_user_email: string | null
30412
+ /** Current user phone number for a KeyNest device. */
30413
+ current_user_phone_number: string | null
30414
+ /** Current user company for a KeyNest device. */
30415
+ current_user_company: string | null
30416
+ /** Handover method for a KeyNest device. */
30417
+ handover_method: string | null
30418
+ /** KeyNest app user for a KeyNest device. */
30419
+ keynest_app_user: string | null
30420
+ /** Default office ID for a KeyNest device. */
30421
+ default_office_id: number
30422
+ /** Fob ID for a KeyNest device. */
30423
+ fob_id: number
30424
+ /** Whether the KeyNest device has a photo. */
30425
+ has_photo: boolean
30426
+ }
30427
+ | undefined
29994
30428
  }) &
29995
30429
  ({
29996
30430
  /** */
@@ -30915,6 +31349,7 @@ export interface Routes {
30915
31349
  | 'tado'
30916
31350
  | 'sensi'
30917
31351
  | 'smartthings'
31352
+ | 'keynest'
30918
31353
  )
30919
31354
  | undefined
30920
31355
  /** Array of device IDs for which you want to list devices. */
@@ -31648,6 +32083,51 @@ export interface Routes {
31648
32083
  product_type: string
31649
32084
  }
31650
32085
  | undefined
32086
+ /** Metadata for a KeyNest device. */
32087
+ keynest_metadata?:
32088
+ | {
32089
+ /** Key ID for a KeyNest device. */
32090
+ key_id: string
32091
+ /** Device name for a KeyNest device. */
32092
+ device_name: string
32093
+ /** Property ID for a KeyNest device. */
32094
+ property_id: string | null
32095
+ /** Property postcode for a KeyNest device. */
32096
+ property_postcode: string | null
32097
+ /** Key notes for a KeyNest device. */
32098
+ key_notes: string | null
32099
+ /** Subscription plan for a KeyNest device. */
32100
+ subscription_plan: string
32101
+ /** Status type for a KeyNest device. */
32102
+ status_type: string
32103
+ /** Current or last store ID for a KeyNest device. */
32104
+ current_or_last_store_id: number
32105
+ /** Last movement timestamp for a KeyNest device. */
32106
+ last_movement: string
32107
+ /** Address for a KeyNest device. */
32108
+ address: string | null
32109
+ /** Current status for a KeyNest device. */
32110
+ current_status: string | null
32111
+ /** Current user name for a KeyNest device. */
32112
+ current_user_name: string | null
32113
+ /** Current user email for a KeyNest device. */
32114
+ current_user_email: string | null
32115
+ /** Current user phone number for a KeyNest device. */
32116
+ current_user_phone_number: string | null
32117
+ /** Current user company for a KeyNest device. */
32118
+ current_user_company: string | null
32119
+ /** Handover method for a KeyNest device. */
32120
+ handover_method: string | null
32121
+ /** KeyNest app user for a KeyNest device. */
32122
+ keynest_app_user: string | null
32123
+ /** Default office ID for a KeyNest device. */
32124
+ default_office_id: number
32125
+ /** Fob ID for a KeyNest device. */
32126
+ fob_id: number
32127
+ /** Whether the KeyNest device has a photo. */
32128
+ has_photo: boolean
32129
+ }
32130
+ | undefined
31651
32131
  }) &
31652
32132
  ({
31653
32133
  /** */
@@ -32505,6 +32985,7 @@ export interface Routes {
32505
32985
  | 'salto_space'
32506
32986
  | 'sensi'
32507
32987
  | 'kwikset2'
32988
+ | 'keynest'
32508
32989
  display_name: string
32509
32990
  image_url: string
32510
32991
  provider_categories: Array<
@@ -33224,6 +33705,7 @@ export interface Routes {
33224
33705
  | 'tado'
33225
33706
  | 'sensi'
33226
33707
  | 'smartthings'
33708
+ | 'keynest'
33227
33709
  )
33228
33710
  | undefined
33229
33711
  /** Array of device IDs for which you want to list devices. */
@@ -38606,6 +39088,51 @@ export interface Routes {
38606
39088
  product_type: string
38607
39089
  }
38608
39090
  | undefined
39091
+ /** Metadata for a KeyNest device. */
39092
+ keynest_metadata?:
39093
+ | {
39094
+ /** Key ID for a KeyNest device. */
39095
+ key_id: string
39096
+ /** Device name for a KeyNest device. */
39097
+ device_name: string
39098
+ /** Property ID for a KeyNest device. */
39099
+ property_id: string | null
39100
+ /** Property postcode for a KeyNest device. */
39101
+ property_postcode: string | null
39102
+ /** Key notes for a KeyNest device. */
39103
+ key_notes: string | null
39104
+ /** Subscription plan for a KeyNest device. */
39105
+ subscription_plan: string
39106
+ /** Status type for a KeyNest device. */
39107
+ status_type: string
39108
+ /** Current or last store ID for a KeyNest device. */
39109
+ current_or_last_store_id: number
39110
+ /** Last movement timestamp for a KeyNest device. */
39111
+ last_movement: string
39112
+ /** Address for a KeyNest device. */
39113
+ address: string | null
39114
+ /** Current status for a KeyNest device. */
39115
+ current_status: string | null
39116
+ /** Current user name for a KeyNest device. */
39117
+ current_user_name: string | null
39118
+ /** Current user email for a KeyNest device. */
39119
+ current_user_email: string | null
39120
+ /** Current user phone number for a KeyNest device. */
39121
+ current_user_phone_number: string | null
39122
+ /** Current user company for a KeyNest device. */
39123
+ current_user_company: string | null
39124
+ /** Handover method for a KeyNest device. */
39125
+ handover_method: string | null
39126
+ /** KeyNest app user for a KeyNest device. */
39127
+ keynest_app_user: string | null
39128
+ /** Default office ID for a KeyNest device. */
39129
+ default_office_id: number
39130
+ /** Fob ID for a KeyNest device. */
39131
+ fob_id: number
39132
+ /** Whether the KeyNest device has a photo. */
39133
+ has_photo: boolean
39134
+ }
39135
+ | undefined
38609
39136
  }) &
38610
39137
  ({
38611
39138
  /** */
@@ -40059,6 +40586,51 @@ export interface Routes {
40059
40586
  product_type: string
40060
40587
  }
40061
40588
  | undefined
40589
+ /** Metadata for a KeyNest device. */
40590
+ keynest_metadata?:
40591
+ | {
40592
+ /** Key ID for a KeyNest device. */
40593
+ key_id: string
40594
+ /** Device name for a KeyNest device. */
40595
+ device_name: string
40596
+ /** Property ID for a KeyNest device. */
40597
+ property_id: string | null
40598
+ /** Property postcode for a KeyNest device. */
40599
+ property_postcode: string | null
40600
+ /** Key notes for a KeyNest device. */
40601
+ key_notes: string | null
40602
+ /** Subscription plan for a KeyNest device. */
40603
+ subscription_plan: string
40604
+ /** Status type for a KeyNest device. */
40605
+ status_type: string
40606
+ /** Current or last store ID for a KeyNest device. */
40607
+ current_or_last_store_id: number
40608
+ /** Last movement timestamp for a KeyNest device. */
40609
+ last_movement: string
40610
+ /** Address for a KeyNest device. */
40611
+ address: string | null
40612
+ /** Current status for a KeyNest device. */
40613
+ current_status: string | null
40614
+ /** Current user name for a KeyNest device. */
40615
+ current_user_name: string | null
40616
+ /** Current user email for a KeyNest device. */
40617
+ current_user_email: string | null
40618
+ /** Current user phone number for a KeyNest device. */
40619
+ current_user_phone_number: string | null
40620
+ /** Current user company for a KeyNest device. */
40621
+ current_user_company: string | null
40622
+ /** Handover method for a KeyNest device. */
40623
+ handover_method: string | null
40624
+ /** KeyNest app user for a KeyNest device. */
40625
+ keynest_app_user: string | null
40626
+ /** Default office ID for a KeyNest device. */
40627
+ default_office_id: number
40628
+ /** Fob ID for a KeyNest device. */
40629
+ fob_id: number
40630
+ /** Whether the KeyNest device has a photo. */
40631
+ has_photo: boolean
40632
+ }
40633
+ | undefined
40062
40634
  }) &
40063
40635
  ({
40064
40636
  /** */
@@ -41681,6 +42253,51 @@ export interface Routes {
41681
42253
  product_type: string
41682
42254
  }
41683
42255
  | undefined
42256
+ /** Metadata for a KeyNest device. */
42257
+ keynest_metadata?:
42258
+ | {
42259
+ /** Key ID for a KeyNest device. */
42260
+ key_id: string
42261
+ /** Device name for a KeyNest device. */
42262
+ device_name: string
42263
+ /** Property ID for a KeyNest device. */
42264
+ property_id: string | null
42265
+ /** Property postcode for a KeyNest device. */
42266
+ property_postcode: string | null
42267
+ /** Key notes for a KeyNest device. */
42268
+ key_notes: string | null
42269
+ /** Subscription plan for a KeyNest device. */
42270
+ subscription_plan: string
42271
+ /** Status type for a KeyNest device. */
42272
+ status_type: string
42273
+ /** Current or last store ID for a KeyNest device. */
42274
+ current_or_last_store_id: number
42275
+ /** Last movement timestamp for a KeyNest device. */
42276
+ last_movement: string
42277
+ /** Address for a KeyNest device. */
42278
+ address: string | null
42279
+ /** Current status for a KeyNest device. */
42280
+ current_status: string | null
42281
+ /** Current user name for a KeyNest device. */
42282
+ current_user_name: string | null
42283
+ /** Current user email for a KeyNest device. */
42284
+ current_user_email: string | null
42285
+ /** Current user phone number for a KeyNest device. */
42286
+ current_user_phone_number: string | null
42287
+ /** Current user company for a KeyNest device. */
42288
+ current_user_company: string | null
42289
+ /** Handover method for a KeyNest device. */
42290
+ handover_method: string | null
42291
+ /** KeyNest app user for a KeyNest device. */
42292
+ keynest_app_user: string | null
42293
+ /** Default office ID for a KeyNest device. */
42294
+ default_office_id: number
42295
+ /** Fob ID for a KeyNest device. */
42296
+ fob_id: number
42297
+ /** Whether the KeyNest device has a photo. */
42298
+ has_photo: boolean
42299
+ }
42300
+ | undefined
41684
42301
  }) &
41685
42302
  ({
41686
42303
  /** */
@@ -43133,6 +43750,51 @@ export interface Routes {
43133
43750
  product_type: string
43134
43751
  }
43135
43752
  | undefined
43753
+ /** Metadata for a KeyNest device. */
43754
+ keynest_metadata?:
43755
+ | {
43756
+ /** Key ID for a KeyNest device. */
43757
+ key_id: string
43758
+ /** Device name for a KeyNest device. */
43759
+ device_name: string
43760
+ /** Property ID for a KeyNest device. */
43761
+ property_id: string | null
43762
+ /** Property postcode for a KeyNest device. */
43763
+ property_postcode: string | null
43764
+ /** Key notes for a KeyNest device. */
43765
+ key_notes: string | null
43766
+ /** Subscription plan for a KeyNest device. */
43767
+ subscription_plan: string
43768
+ /** Status type for a KeyNest device. */
43769
+ status_type: string
43770
+ /** Current or last store ID for a KeyNest device. */
43771
+ current_or_last_store_id: number
43772
+ /** Last movement timestamp for a KeyNest device. */
43773
+ last_movement: string
43774
+ /** Address for a KeyNest device. */
43775
+ address: string | null
43776
+ /** Current status for a KeyNest device. */
43777
+ current_status: string | null
43778
+ /** Current user name for a KeyNest device. */
43779
+ current_user_name: string | null
43780
+ /** Current user email for a KeyNest device. */
43781
+ current_user_email: string | null
43782
+ /** Current user phone number for a KeyNest device. */
43783
+ current_user_phone_number: string | null
43784
+ /** Current user company for a KeyNest device. */
43785
+ current_user_company: string | null
43786
+ /** Handover method for a KeyNest device. */
43787
+ handover_method: string | null
43788
+ /** KeyNest app user for a KeyNest device. */
43789
+ keynest_app_user: string | null
43790
+ /** Default office ID for a KeyNest device. */
43791
+ default_office_id: number
43792
+ /** Fob ID for a KeyNest device. */
43793
+ fob_id: number
43794
+ /** Whether the KeyNest device has a photo. */
43795
+ has_photo: boolean
43796
+ }
43797
+ | undefined
43136
43798
  }) &
43137
43799
  ({
43138
43800
  /** */
@@ -50428,6 +51090,51 @@ export interface Routes {
50428
51090
  product_type: string
50429
51091
  }
50430
51092
  | undefined
51093
+ /** Metadata for a KeyNest device. */
51094
+ keynest_metadata?:
51095
+ | {
51096
+ /** Key ID for a KeyNest device. */
51097
+ key_id: string
51098
+ /** Device name for a KeyNest device. */
51099
+ device_name: string
51100
+ /** Property ID for a KeyNest device. */
51101
+ property_id: string | null
51102
+ /** Property postcode for a KeyNest device. */
51103
+ property_postcode: string | null
51104
+ /** Key notes for a KeyNest device. */
51105
+ key_notes: string | null
51106
+ /** Subscription plan for a KeyNest device. */
51107
+ subscription_plan: string
51108
+ /** Status type for a KeyNest device. */
51109
+ status_type: string
51110
+ /** Current or last store ID for a KeyNest device. */
51111
+ current_or_last_store_id: number
51112
+ /** Last movement timestamp for a KeyNest device. */
51113
+ last_movement: string
51114
+ /** Address for a KeyNest device. */
51115
+ address: string | null
51116
+ /** Current status for a KeyNest device. */
51117
+ current_status: string | null
51118
+ /** Current user name for a KeyNest device. */
51119
+ current_user_name: string | null
51120
+ /** Current user email for a KeyNest device. */
51121
+ current_user_email: string | null
51122
+ /** Current user phone number for a KeyNest device. */
51123
+ current_user_phone_number: string | null
51124
+ /** Current user company for a KeyNest device. */
51125
+ current_user_company: string | null
51126
+ /** Handover method for a KeyNest device. */
51127
+ handover_method: string | null
51128
+ /** KeyNest app user for a KeyNest device. */
51129
+ keynest_app_user: string | null
51130
+ /** Default office ID for a KeyNest device. */
51131
+ default_office_id: number
51132
+ /** Fob ID for a KeyNest device. */
51133
+ fob_id: number
51134
+ /** Whether the KeyNest device has a photo. */
51135
+ has_photo: boolean
51136
+ }
51137
+ | undefined
50431
51138
  }) &
50432
51139
  ({
50433
51140
  /** */
@@ -51880,6 +52587,51 @@ export interface Routes {
51880
52587
  product_type: string
51881
52588
  }
51882
52589
  | undefined
52590
+ /** Metadata for a KeyNest device. */
52591
+ keynest_metadata?:
52592
+ | {
52593
+ /** Key ID for a KeyNest device. */
52594
+ key_id: string
52595
+ /** Device name for a KeyNest device. */
52596
+ device_name: string
52597
+ /** Property ID for a KeyNest device. */
52598
+ property_id: string | null
52599
+ /** Property postcode for a KeyNest device. */
52600
+ property_postcode: string | null
52601
+ /** Key notes for a KeyNest device. */
52602
+ key_notes: string | null
52603
+ /** Subscription plan for a KeyNest device. */
52604
+ subscription_plan: string
52605
+ /** Status type for a KeyNest device. */
52606
+ status_type: string
52607
+ /** Current or last store ID for a KeyNest device. */
52608
+ current_or_last_store_id: number
52609
+ /** Last movement timestamp for a KeyNest device. */
52610
+ last_movement: string
52611
+ /** Address for a KeyNest device. */
52612
+ address: string | null
52613
+ /** Current status for a KeyNest device. */
52614
+ current_status: string | null
52615
+ /** Current user name for a KeyNest device. */
52616
+ current_user_name: string | null
52617
+ /** Current user email for a KeyNest device. */
52618
+ current_user_email: string | null
52619
+ /** Current user phone number for a KeyNest device. */
52620
+ current_user_phone_number: string | null
52621
+ /** Current user company for a KeyNest device. */
52622
+ current_user_company: string | null
52623
+ /** Handover method for a KeyNest device. */
52624
+ handover_method: string | null
52625
+ /** KeyNest app user for a KeyNest device. */
52626
+ keynest_app_user: string | null
52627
+ /** Default office ID for a KeyNest device. */
52628
+ default_office_id: number
52629
+ /** Fob ID for a KeyNest device. */
52630
+ fob_id: number
52631
+ /** Whether the KeyNest device has a photo. */
52632
+ has_photo: boolean
52633
+ }
52634
+ | undefined
51883
52635
  }) &
51884
52636
  ({
51885
52637
  /** */
@@ -57679,8 +58431,8 @@ export interface Routes {
57679
58431
  }>
57680
58432
  }
57681
58433
  }
57682
- '/seam/console/v1/get_resource_type': {
57683
- route: '/seam/console/v1/get_resource_type'
58434
+ '/seam/console/v1/get_resource_locator': {
58435
+ route: '/seam/console/v1/get_resource_locator'
57684
58436
  method: 'GET' | 'POST'
57685
58437
  queryParams: {
57686
58438
  uuid: string
@@ -57689,7 +58441,11 @@ export interface Routes {
57689
58441
  commonParams: {}
57690
58442
  formData: {}
57691
58443
  jsonResponse: {
57692
- resource_type: string
58444
+ resource_locator: {
58445
+ resource_type: string
58446
+ acs_system_id?: string | undefined
58447
+ device_id?: string | undefined
58448
+ }
57693
58449
  }
57694
58450
  }
57695
58451
  '/seam/customer/v1/automation_runs/list': {
@@ -57788,13 +58544,13 @@ export interface Routes {
57788
58544
  reservation_time_updated?:
57789
58545
  | {
57790
58546
  rule: 'reservation_time_updated'
57791
- config: {}
58547
+ config?: {} | undefined
57792
58548
  }
57793
58549
  | undefined
57794
58550
  reservation_deleted?:
57795
58551
  | {
57796
58552
  rule: 'reservation_deleted'
57797
- config: {}
58553
+ config?: {} | undefined
57798
58554
  }
57799
58555
  | undefined
57800
58556
  }
@@ -57824,13 +58580,13 @@ export interface Routes {
57824
58580
  reservation_time_updated?:
57825
58581
  | {
57826
58582
  rule: 'reservation_time_updated'
57827
- config: {}
58583
+ config?: {} | undefined
57828
58584
  }
57829
58585
  | undefined
57830
58586
  reservation_deleted?:
57831
58587
  | {
57832
58588
  rule: 'reservation_deleted'
57833
- config: {}
58589
+ config?: {} | undefined
57834
58590
  }
57835
58591
  | undefined
57836
58592
  }
@@ -58444,6 +59200,59 @@ export interface Routes {
58444
59200
  }>
58445
59201
  }>
58446
59202
  }>
59203
+ /** User identity. */
59204
+ user_identity: {
59205
+ /** ID of the user identity. */
59206
+ user_identity_id: string
59207
+ /** Unique key for the user identity. */
59208
+ user_identity_key: string | null
59209
+ /** Unique email address for the user identity. */
59210
+ email_address: string | null
59211
+ /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
59212
+ phone_number: string | null
59213
+ display_name: string
59214
+ full_name: string | null
59215
+ /** Date and time at which the user identity was created. */
59216
+ created_at: string
59217
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
59218
+ workspace_id: string
59219
+ /** Array of errors associated with the user identity. Each error object within the array contains fields like "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. */
59220
+ errors: Array<{
59221
+ /** Date and time at which Seam created the error. */
59222
+ created_at: string
59223
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59224
+ message: string
59225
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59226
+ error_code: 'issue_with_acs_user'
59227
+ /** ID of the access system user that has an issue. */
59228
+ acs_user_id: string
59229
+ /** ID of the access system that the user identity is associated with. */
59230
+ acs_system_id: string
59231
+ }>
59232
+ /** Array of warnings associated with the user identity. 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. */
59233
+ warnings: Array<
59234
+ | {
59235
+ /** Date and time at which Seam created the warning. */
59236
+ created_at: string
59237
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
59238
+ message: string
59239
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59240
+ warning_code: 'being_deleted'
59241
+ }
59242
+ | {
59243
+ /** Date and time at which Seam created the warning. */
59244
+ created_at: string
59245
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
59246
+ message: string
59247
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59248
+ warning_code: 'acs_user_profile_does_not_match_user_identity'
59249
+ }
59250
+ >
59251
+ /** Array of access system user IDs associated with the user identity. */
59252
+ acs_user_ids: string[]
59253
+ }
59254
+ /** Workspace ID. */
59255
+ workspace_id: string
58447
59256
  }
58448
59257
  }
58449
59258
  }
@@ -58598,95 +59407,30 @@ export interface Routes {
58598
59407
  commonParams: {
58599
59408
  /** IDs of the spaces that you want to get along with their related resources. */
58600
59409
  space_ids: string[]
58601
- include?: Array<'spaces' | 'devices' | 'acs_entrances'> | undefined
58602
- exclude?: Array<'spaces' | 'devices' | 'acs_entrances'> | undefined
59410
+ include?:
59411
+ | Array<
59412
+ | 'spaces'
59413
+ | 'devices'
59414
+ | 'acs_entrances'
59415
+ | 'connected_accounts'
59416
+ | 'acs_systems'
59417
+ >
59418
+ | undefined
59419
+ exclude?:
59420
+ | Array<
59421
+ | 'spaces'
59422
+ | 'devices'
59423
+ | 'acs_entrances'
59424
+ | 'connected_accounts'
59425
+ | 'acs_systems'
59426
+ >
59427
+ | undefined
58603
59428
  }
58604
59429
  formData: {}
58605
59430
  jsonResponse: {
58606
- /** Represents a resource batch. */
59431
+ /** ID of the affected access system user. */
58607
59432
  batch: {
58608
- batch_type: 'workspaces' | 'access_grants' | 'access_methods' | 'spaces'
58609
- user_identities?:
58610
- | Array<{
58611
- /** ID of the user identity. */
58612
- user_identity_id: string
58613
- /** Unique key for the user identity. */
58614
- user_identity_key: string | null
58615
- /** Unique email address for the user identity. */
58616
- email_address: string | null
58617
- /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
58618
- phone_number: string | null
58619
- display_name: string
58620
- full_name: string | null
58621
- /** Date and time at which the user identity was created. */
58622
- created_at: string
58623
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
58624
- workspace_id: string
58625
- /** Array of errors associated with the user identity. Each error object within the array contains fields like "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. */
58626
- errors: Array<{
58627
- /** Date and time at which Seam created the error. */
58628
- created_at: string
58629
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58630
- message: string
58631
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58632
- error_code: 'issue_with_acs_user'
58633
- /** ID of the access system user that has an issue. */
58634
- acs_user_id: string
58635
- /** ID of the access system that the user identity is associated with. */
58636
- acs_system_id: string
58637
- }>
58638
- /** Array of warnings associated with the user identity. 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. */
58639
- warnings: Array<
58640
- | {
58641
- /** Date and time at which Seam created the warning. */
58642
- created_at: string
58643
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58644
- message: string
58645
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58646
- warning_code: 'being_deleted'
58647
- }
58648
- | {
58649
- /** Date and time at which Seam created the warning. */
58650
- created_at: string
58651
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58652
- message: string
58653
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58654
- warning_code: 'acs_user_profile_does_not_match_user_identity'
58655
- }
58656
- >
58657
- /** Array of access system user IDs associated with the user identity. */
58658
- acs_user_ids: string[]
58659
- }>
58660
- | undefined
58661
- workspaces?:
58662
- | Array<{
58663
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
58664
- workspace_id: string
58665
- /** Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
58666
- name: string
58667
- /** Company name associated with the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
58668
- company_name: string
58669
- /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). */
58670
- is_sandbox: boolean
58671
- connect_webview_customization: {
58672
- /** Primary button color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
58673
- primary_button_color?: string | undefined
58674
- /** Primary button text color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
58675
- primary_button_text_color?: string | undefined
58676
- /** Success message for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
58677
- success_message?: string | undefined
58678
- /** Logo shape for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
58679
- logo_shape?: ('circle' | 'square') | undefined
58680
- /** URL of the inviter logo for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
58681
- inviter_logo_url?: string | undefined
58682
- }
58683
- /** Indicates whether the [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */
58684
- is_suspended: boolean
58685
- /**
58686
- * @deprecated Use `company_name` instead. */
58687
- connect_partner_name: (string | null) | null
58688
- }>
58689
- | undefined
59433
+ batch_type: 'spaces'
58690
59434
  spaces?:
58691
59435
  | Array<{
58692
59436
  /** ID of the space. */
@@ -59381,6 +60125,51 @@ export interface Routes {
59381
60125
  product_type: string
59382
60126
  }
59383
60127
  | undefined
60128
+ /** Metadata for a KeyNest device. */
60129
+ keynest_metadata?:
60130
+ | {
60131
+ /** Key ID for a KeyNest device. */
60132
+ key_id: string
60133
+ /** Device name for a KeyNest device. */
60134
+ device_name: string
60135
+ /** Property ID for a KeyNest device. */
60136
+ property_id: string | null
60137
+ /** Property postcode for a KeyNest device. */
60138
+ property_postcode: string | null
60139
+ /** Key notes for a KeyNest device. */
60140
+ key_notes: string | null
60141
+ /** Subscription plan for a KeyNest device. */
60142
+ subscription_plan: string
60143
+ /** Status type for a KeyNest device. */
60144
+ status_type: string
60145
+ /** Current or last store ID for a KeyNest device. */
60146
+ current_or_last_store_id: number
60147
+ /** Last movement timestamp for a KeyNest device. */
60148
+ last_movement: string
60149
+ /** Address for a KeyNest device. */
60150
+ address: string | null
60151
+ /** Current status for a KeyNest device. */
60152
+ current_status: string | null
60153
+ /** Current user name for a KeyNest device. */
60154
+ current_user_name: string | null
60155
+ /** Current user email for a KeyNest device. */
60156
+ current_user_email: string | null
60157
+ /** Current user phone number for a KeyNest device. */
60158
+ current_user_phone_number: string | null
60159
+ /** Current user company for a KeyNest device. */
60160
+ current_user_company: string | null
60161
+ /** Handover method for a KeyNest device. */
60162
+ handover_method: string | null
60163
+ /** KeyNest app user for a KeyNest device. */
60164
+ keynest_app_user: string | null
60165
+ /** Default office ID for a KeyNest device. */
60166
+ default_office_id: number
60167
+ /** Fob ID for a KeyNest device. */
60168
+ fob_id: number
60169
+ /** Whether the KeyNest device has a photo. */
60170
+ has_photo: boolean
60171
+ }
60172
+ | undefined
59384
60173
  }) &
59385
60174
  ({
59386
60175
  /** */
@@ -60313,6 +61102,316 @@ export interface Routes {
60313
61102
  can_unlock_with_code?: boolean | undefined
60314
61103
  }>
60315
61104
  | undefined
61105
+ connected_accounts?:
61106
+ | Array<{
61107
+ /** ID of the connected account. */
61108
+ connected_account_id?: string | undefined
61109
+ /** Date and time at which the connected account was created. */
61110
+ created_at?: string | undefined
61111
+ /** User identifier associated with the connected account. */
61112
+ user_identifier?:
61113
+ | {
61114
+ /** Username of the user identifier associated with the connected account. */
61115
+ username?: string | undefined
61116
+ /** API URL for the user identifier associated with the connected account. */
61117
+ api_url?: string | undefined
61118
+ /** Email address of the user identifier associated with the connected account. */
61119
+ email?: string | undefined
61120
+ /** Phone number of the user identifier associated with the connected account. */
61121
+ phone?: string | undefined
61122
+ /** Indicates whether the user identifier associated with the connected account is exclusive. */
61123
+ exclusive?: boolean | undefined
61124
+ }
61125
+ | undefined
61126
+ /** Type of connected account. */
61127
+ account_type?: string | undefined
61128
+ /** Display name for the connected account type. */
61129
+ account_type_display_name: string
61130
+ /** Errors associated with the connected account. */
61131
+ errors: Array<
61132
+ | {
61133
+ /** Date and time at which Seam created the error. */
61134
+ created_at: string
61135
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61136
+ message: string
61137
+ /** Indicates whether the error is related specifically to the connected account. */
61138
+ is_connected_account_error?: boolean | undefined
61139
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
61140
+ is_bridge_error?: boolean | undefined
61141
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61142
+ error_code: 'account_disconnected'
61143
+ }
61144
+ | {
61145
+ /** Date and time at which Seam created the error. */
61146
+ created_at: string
61147
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61148
+ message: string
61149
+ /** Indicates whether the error is related specifically to the connected account. */
61150
+ is_connected_account_error?: boolean | undefined
61151
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
61152
+ is_bridge_error?: boolean | undefined
61153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61154
+ error_code: 'invalid_credentials'
61155
+ }
61156
+ | {
61157
+ /** Date and time at which Seam created the error. */
61158
+ created_at: string
61159
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61160
+ message: string
61161
+ /** Indicates whether the error is related specifically to the connected account. */
61162
+ is_connected_account_error?: boolean | undefined
61163
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
61164
+ is_bridge_error?: boolean | undefined
61165
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61166
+ error_code: 'bridge_disconnected'
61167
+ }
61168
+ | {
61169
+ /** Date and time at which Seam created the error. */
61170
+ created_at: string
61171
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61172
+ message: string
61173
+ /** Indicates whether the error is related specifically to the connected account. */
61174
+ is_connected_account_error?: boolean | undefined
61175
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
61176
+ is_bridge_error?: boolean | undefined
61177
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61178
+ error_code: 'salto_ks_subscription_limit_exceeded'
61179
+ /** Salto KS metadata associated with the connected account that has an error. */
61180
+ salto_ks_metadata: {
61181
+ /** Salto sites associated with the connected account that has an error. */
61182
+ sites: Array<{
61183
+ /** ID of a Salto site associated with the connected account that has an error. */
61184
+ site_id: string
61185
+ /** Name of a Salto site associated with the connected account that has an error. */
61186
+ site_name: string
61187
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
61188
+ subscribed_site_user_count: number
61189
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
61190
+ site_user_subscription_limit: number
61191
+ }>
61192
+ }
61193
+ }
61194
+ >
61195
+ /** Warnings associated with the connected account. */
61196
+ warnings: Array<
61197
+ | {
61198
+ /** Date and time at which Seam created the warning. */
61199
+ created_at: string
61200
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
61201
+ message: string
61202
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61203
+ warning_code: 'scheduled_maintenance_window'
61204
+ }
61205
+ | {
61206
+ /** Date and time at which Seam created the warning. */
61207
+ created_at: string
61208
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
61209
+ message: string
61210
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61211
+ warning_code: 'unknown_issue_with_connected_account'
61212
+ }
61213
+ | {
61214
+ /** Date and time at which Seam created the warning. */
61215
+ created_at: string
61216
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
61217
+ message: string
61218
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61219
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
61220
+ /** Salto KS metadata associated with the connected account that has a warning. */
61221
+ salto_ks_metadata: {
61222
+ /** Salto sites associated with the connected account that has a warning. */
61223
+ sites: Array<{
61224
+ /** ID of a Salto site associated with the connected account that has a warning. */
61225
+ site_id: string
61226
+ /** Name of a Salto site associated with the connected account that has a warning. */
61227
+ site_name: string
61228
+ /** Subscription limit of site users for a Salto site associated with the connected account that has a warning. */
61229
+ site_user_subscription_limit: number
61230
+ /** Count of subscribed site users for a Salto site associated with the connected account that has a warning. */
61231
+ subscribed_site_user_count: number
61232
+ }>
61233
+ }
61234
+ }
61235
+ >
61236
+ /** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
61237
+ custom_metadata: Record<string, string | boolean>
61238
+ /** Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for management by the Seam API. */
61239
+ automatically_manage_new_devices: boolean
61240
+ /** Your unique key for the customer associated with this connected account. */
61241
+ customer_key?: string | undefined
61242
+ /** List of capabilities that were accepted during the account connection process. */
61243
+ accepted_capabilities: Array<
61244
+ 'lock' | 'thermostat' | 'noise_sensor' | 'access_control'
61245
+ >
61246
+ }>
61247
+ | undefined
61248
+ acs_systems?:
61249
+ | Array<{
61250
+ /** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61251
+ default_credential_manager_acs_system_id?:
61252
+ | (string | null)
61253
+ | undefined
61254
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61255
+ acs_system_id: string
61256
+ acs_user_count?: number | undefined
61257
+ acs_access_group_count?: number | undefined
61258
+ /** Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
61259
+ external_type?:
61260
+ | (
61261
+ | 'pti_site'
61262
+ | 'alta_org'
61263
+ | 'salto_ks_site'
61264
+ | 'salto_space_system'
61265
+ | 'brivo_account'
61266
+ | 'hid_credential_manager_organization'
61267
+ | 'visionline_system'
61268
+ | 'assa_abloy_credential_service'
61269
+ | 'latch_building'
61270
+ | 'dormakaba_community_site'
61271
+ | 'legic_connect_credential_service'
61272
+ | 'assa_abloy_vostio'
61273
+ | 'assa_abloy_vostio_credential_service'
61274
+ )
61275
+ | undefined
61276
+ /** Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type. */
61277
+ external_type_display_name?: string | undefined
61278
+ /** Indicates whether the `acs_system` is a credential manager. */
61279
+ is_credential_manager: boolean
61280
+ visionline_metadata?:
61281
+ | {
61282
+ /** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
61283
+ mobile_access_uuid: string
61284
+ /** Unique ID assigned by the ASSA ABLOY licensing team that identifies each hotel in your credential manager. */
61285
+ system_id: string
61286
+ /** IP address or hostname of the main Visionline server relative to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) on the local network. */
61287
+ lan_address: string
61288
+ }
61289
+ | undefined
61290
+ /**
61291
+ * @deprecated Use `external_type`. */
61292
+ system_type?:
61293
+ | (
61294
+ | 'pti_site'
61295
+ | 'alta_org'
61296
+ | 'salto_ks_site'
61297
+ | 'salto_space_system'
61298
+ | 'brivo_account'
61299
+ | 'hid_credential_manager_organization'
61300
+ | 'visionline_system'
61301
+ | 'assa_abloy_credential_service'
61302
+ | 'latch_building'
61303
+ | 'dormakaba_community_site'
61304
+ | 'legic_connect_credential_service'
61305
+ | 'assa_abloy_vostio'
61306
+ | 'assa_abloy_vostio_credential_service'
61307
+ )
61308
+ | undefined
61309
+ /**
61310
+ * @deprecated Use `external_type_display_name`. */
61311
+ system_type_display_name?: string | undefined
61312
+ location: {
61313
+ /** Time zone in which the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) is located. */
61314
+ time_zone: string | null
61315
+ }
61316
+ /** Name of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61317
+ name: string
61318
+ /** Date and time at which the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) was created. */
61319
+ created_at: string
61320
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61321
+ workspace_id: string
61322
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
61323
+ * @deprecated Use `connected_account_id`. */
61324
+ connected_account_ids: string[]
61325
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61326
+ connected_account_id: string
61327
+ /** URL for the image that represents the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61328
+ image_url: string
61329
+ /** Alternative text for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) image. */
61330
+ image_alt_text: string
61331
+ /** Errors associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61332
+ errors: Array<
61333
+ | {
61334
+ /** Date and time at which Seam created the error. */
61335
+ created_at: string
61336
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61337
+ message: string
61338
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61339
+ error_code: 'seam_bridge_disconnected'
61340
+ }
61341
+ | {
61342
+ /** Date and time at which Seam created the error. */
61343
+ created_at: string
61344
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61345
+ message: string
61346
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61347
+ error_code: 'bridge_disconnected'
61348
+ is_bridge_error?: boolean | undefined
61349
+ }
61350
+ | {
61351
+ /** Date and time at which Seam created the error. */
61352
+ created_at: string
61353
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61354
+ message: string
61355
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61356
+ error_code: 'visionline_instance_unreachable'
61357
+ }
61358
+ | {
61359
+ /** Date and time at which Seam created the error. */
61360
+ created_at: string
61361
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61362
+ message: string
61363
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61364
+ error_code: 'salto_ks_subscription_limit_exceeded'
61365
+ }
61366
+ | {
61367
+ /** Date and time at which Seam created the error. */
61368
+ created_at: string
61369
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61370
+ message: string
61371
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61372
+ error_code: 'acs_system_disconnected'
61373
+ }
61374
+ | {
61375
+ /** Date and time at which Seam created the error. */
61376
+ created_at: string
61377
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61378
+ message: string
61379
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61380
+ error_code: 'account_disconnected'
61381
+ }
61382
+ | {
61383
+ /** Date and time at which Seam created the error. */
61384
+ created_at: string
61385
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61386
+ message: string
61387
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61388
+ error_code: 'salto_ks_certification_expired'
61389
+ }
61390
+ >
61391
+ /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
61392
+ warnings: Array<
61393
+ | {
61394
+ /** Date and time at which Seam created the warning. */
61395
+ created_at: string
61396
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
61397
+ message: string
61398
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61399
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
61400
+ }
61401
+ | {
61402
+ /** Date and time at which Seam created the warning. */
61403
+ created_at: string
61404
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
61405
+ message: string
61406
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61407
+ warning_code: 'time_zone_does_not_match_location'
61408
+ /**
61409
+ * @deprecated this field is deprecated. */
61410
+ misconfigured_acs_entrance_ids?: string[] | undefined
61411
+ }
61412
+ >
61413
+ }>
61414
+ | undefined
60316
61415
  }
60317
61416
  }
60318
61417
  }
@@ -65560,6 +66659,51 @@ export interface Routes {
65560
66659
  product_type: string
65561
66660
  }
65562
66661
  | undefined
66662
+ /** Metadata for a KeyNest device. */
66663
+ keynest_metadata?:
66664
+ | {
66665
+ /** Key ID for a KeyNest device. */
66666
+ key_id: string
66667
+ /** Device name for a KeyNest device. */
66668
+ device_name: string
66669
+ /** Property ID for a KeyNest device. */
66670
+ property_id: string | null
66671
+ /** Property postcode for a KeyNest device. */
66672
+ property_postcode: string | null
66673
+ /** Key notes for a KeyNest device. */
66674
+ key_notes: string | null
66675
+ /** Subscription plan for a KeyNest device. */
66676
+ subscription_plan: string
66677
+ /** Status type for a KeyNest device. */
66678
+ status_type: string
66679
+ /** Current or last store ID for a KeyNest device. */
66680
+ current_or_last_store_id: number
66681
+ /** Last movement timestamp for a KeyNest device. */
66682
+ last_movement: string
66683
+ /** Address for a KeyNest device. */
66684
+ address: string | null
66685
+ /** Current status for a KeyNest device. */
66686
+ current_status: string | null
66687
+ /** Current user name for a KeyNest device. */
66688
+ current_user_name: string | null
66689
+ /** Current user email for a KeyNest device. */
66690
+ current_user_email: string | null
66691
+ /** Current user phone number for a KeyNest device. */
66692
+ current_user_phone_number: string | null
66693
+ /** Current user company for a KeyNest device. */
66694
+ current_user_company: string | null
66695
+ /** Handover method for a KeyNest device. */
66696
+ handover_method: string | null
66697
+ /** KeyNest app user for a KeyNest device. */
66698
+ keynest_app_user: string | null
66699
+ /** Default office ID for a KeyNest device. */
66700
+ default_office_id: number
66701
+ /** Fob ID for a KeyNest device. */
66702
+ fob_id: number
66703
+ /** Whether the KeyNest device has a photo. */
66704
+ has_photo: boolean
66705
+ }
66706
+ | undefined
65563
66707
  }) &
65564
66708
  ({
65565
66709
  /** */
@@ -70012,6 +71156,51 @@ export interface Routes {
70012
71156
  product_type: string
70013
71157
  }
70014
71158
  | undefined
71159
+ /** Metadata for a KeyNest device. */
71160
+ keynest_metadata?:
71161
+ | {
71162
+ /** Key ID for a KeyNest device. */
71163
+ key_id: string
71164
+ /** Device name for a KeyNest device. */
71165
+ device_name: string
71166
+ /** Property ID for a KeyNest device. */
71167
+ property_id: string | null
71168
+ /** Property postcode for a KeyNest device. */
71169
+ property_postcode: string | null
71170
+ /** Key notes for a KeyNest device. */
71171
+ key_notes: string | null
71172
+ /** Subscription plan for a KeyNest device. */
71173
+ subscription_plan: string
71174
+ /** Status type for a KeyNest device. */
71175
+ status_type: string
71176
+ /** Current or last store ID for a KeyNest device. */
71177
+ current_or_last_store_id: number
71178
+ /** Last movement timestamp for a KeyNest device. */
71179
+ last_movement: string
71180
+ /** Address for a KeyNest device. */
71181
+ address: string | null
71182
+ /** Current status for a KeyNest device. */
71183
+ current_status: string | null
71184
+ /** Current user name for a KeyNest device. */
71185
+ current_user_name: string | null
71186
+ /** Current user email for a KeyNest device. */
71187
+ current_user_email: string | null
71188
+ /** Current user phone number for a KeyNest device. */
71189
+ current_user_phone_number: string | null
71190
+ /** Current user company for a KeyNest device. */
71191
+ current_user_company: string | null
71192
+ /** Handover method for a KeyNest device. */
71193
+ handover_method: string | null
71194
+ /** KeyNest app user for a KeyNest device. */
71195
+ keynest_app_user: string | null
71196
+ /** Default office ID for a KeyNest device. */
71197
+ default_office_id: number
71198
+ /** Fob ID for a KeyNest device. */
71199
+ fob_id: number
71200
+ /** Whether the KeyNest device has a photo. */
71201
+ has_photo: boolean
71202
+ }
71203
+ | undefined
70015
71204
  }) &
70016
71205
  ({
70017
71206
  /** */
@@ -71464,6 +72653,51 @@ export interface Routes {
71464
72653
  product_type: string
71465
72654
  }
71466
72655
  | undefined
72656
+ /** Metadata for a KeyNest device. */
72657
+ keynest_metadata?:
72658
+ | {
72659
+ /** Key ID for a KeyNest device. */
72660
+ key_id: string
72661
+ /** Device name for a KeyNest device. */
72662
+ device_name: string
72663
+ /** Property ID for a KeyNest device. */
72664
+ property_id: string | null
72665
+ /** Property postcode for a KeyNest device. */
72666
+ property_postcode: string | null
72667
+ /** Key notes for a KeyNest device. */
72668
+ key_notes: string | null
72669
+ /** Subscription plan for a KeyNest device. */
72670
+ subscription_plan: string
72671
+ /** Status type for a KeyNest device. */
72672
+ status_type: string
72673
+ /** Current or last store ID for a KeyNest device. */
72674
+ current_or_last_store_id: number
72675
+ /** Last movement timestamp for a KeyNest device. */
72676
+ last_movement: string
72677
+ /** Address for a KeyNest device. */
72678
+ address: string | null
72679
+ /** Current status for a KeyNest device. */
72680
+ current_status: string | null
72681
+ /** Current user name for a KeyNest device. */
72682
+ current_user_name: string | null
72683
+ /** Current user email for a KeyNest device. */
72684
+ current_user_email: string | null
72685
+ /** Current user phone number for a KeyNest device. */
72686
+ current_user_phone_number: string | null
72687
+ /** Current user company for a KeyNest device. */
72688
+ current_user_company: string | null
72689
+ /** Handover method for a KeyNest device. */
72690
+ handover_method: string | null
72691
+ /** KeyNest app user for a KeyNest device. */
72692
+ keynest_app_user: string | null
72693
+ /** Default office ID for a KeyNest device. */
72694
+ default_office_id: number
72695
+ /** Fob ID for a KeyNest device. */
72696
+ fob_id: number
72697
+ /** Whether the KeyNest device has a photo. */
72698
+ has_photo: boolean
72699
+ }
72700
+ | undefined
71467
72701
  }) &
71468
72702
  ({
71469
72703
  /** */
@@ -80167,6 +81401,51 @@ export interface Routes {
80167
81401
  product_type: string
80168
81402
  }
80169
81403
  | undefined
81404
+ /** Metadata for a KeyNest device. */
81405
+ keynest_metadata?:
81406
+ | {
81407
+ /** Key ID for a KeyNest device. */
81408
+ key_id: string
81409
+ /** Device name for a KeyNest device. */
81410
+ device_name: string
81411
+ /** Property ID for a KeyNest device. */
81412
+ property_id: string | null
81413
+ /** Property postcode for a KeyNest device. */
81414
+ property_postcode: string | null
81415
+ /** Key notes for a KeyNest device. */
81416
+ key_notes: string | null
81417
+ /** Subscription plan for a KeyNest device. */
81418
+ subscription_plan: string
81419
+ /** Status type for a KeyNest device. */
81420
+ status_type: string
81421
+ /** Current or last store ID for a KeyNest device. */
81422
+ current_or_last_store_id: number
81423
+ /** Last movement timestamp for a KeyNest device. */
81424
+ last_movement: string
81425
+ /** Address for a KeyNest device. */
81426
+ address: string | null
81427
+ /** Current status for a KeyNest device. */
81428
+ current_status: string | null
81429
+ /** Current user name for a KeyNest device. */
81430
+ current_user_name: string | null
81431
+ /** Current user email for a KeyNest device. */
81432
+ current_user_email: string | null
81433
+ /** Current user phone number for a KeyNest device. */
81434
+ current_user_phone_number: string | null
81435
+ /** Current user company for a KeyNest device. */
81436
+ current_user_company: string | null
81437
+ /** Handover method for a KeyNest device. */
81438
+ handover_method: string | null
81439
+ /** KeyNest app user for a KeyNest device. */
81440
+ keynest_app_user: string | null
81441
+ /** Default office ID for a KeyNest device. */
81442
+ default_office_id: number
81443
+ /** Fob ID for a KeyNest device. */
81444
+ fob_id: number
81445
+ /** Whether the KeyNest device has a photo. */
81446
+ has_photo: boolean
81447
+ }
81448
+ | undefined
80170
81449
  }) &
80171
81450
  ({
80172
81451
  /** */
@@ -81621,6 +82900,51 @@ export interface Routes {
81621
82900
  product_type: string
81622
82901
  }
81623
82902
  | undefined
82903
+ /** Metadata for a KeyNest device. */
82904
+ keynest_metadata?:
82905
+ | {
82906
+ /** Key ID for a KeyNest device. */
82907
+ key_id: string
82908
+ /** Device name for a KeyNest device. */
82909
+ device_name: string
82910
+ /** Property ID for a KeyNest device. */
82911
+ property_id: string | null
82912
+ /** Property postcode for a KeyNest device. */
82913
+ property_postcode: string | null
82914
+ /** Key notes for a KeyNest device. */
82915
+ key_notes: string | null
82916
+ /** Subscription plan for a KeyNest device. */
82917
+ subscription_plan: string
82918
+ /** Status type for a KeyNest device. */
82919
+ status_type: string
82920
+ /** Current or last store ID for a KeyNest device. */
82921
+ current_or_last_store_id: number
82922
+ /** Last movement timestamp for a KeyNest device. */
82923
+ last_movement: string
82924
+ /** Address for a KeyNest device. */
82925
+ address: string | null
82926
+ /** Current status for a KeyNest device. */
82927
+ current_status: string | null
82928
+ /** Current user name for a KeyNest device. */
82929
+ current_user_name: string | null
82930
+ /** Current user email for a KeyNest device. */
82931
+ current_user_email: string | null
82932
+ /** Current user phone number for a KeyNest device. */
82933
+ current_user_phone_number: string | null
82934
+ /** Current user company for a KeyNest device. */
82935
+ current_user_company: string | null
82936
+ /** Handover method for a KeyNest device. */
82937
+ handover_method: string | null
82938
+ /** KeyNest app user for a KeyNest device. */
82939
+ keynest_app_user: string | null
82940
+ /** Default office ID for a KeyNest device. */
82941
+ default_office_id: number
82942
+ /** Fob ID for a KeyNest device. */
82943
+ fob_id: number
82944
+ /** Whether the KeyNest device has a photo. */
82945
+ has_photo: boolean
82946
+ }
82947
+ | undefined
81624
82948
  }) &
81625
82949
  ({
81626
82950
  /** */
@@ -83836,6 +85160,51 @@ export interface Routes {
83836
85160
  product_type: string
83837
85161
  }
83838
85162
  | undefined
85163
+ /** Metadata for a KeyNest device. */
85164
+ keynest_metadata?:
85165
+ | {
85166
+ /** Key ID for a KeyNest device. */
85167
+ key_id: string
85168
+ /** Device name for a KeyNest device. */
85169
+ device_name: string
85170
+ /** Property ID for a KeyNest device. */
85171
+ property_id: string | null
85172
+ /** Property postcode for a KeyNest device. */
85173
+ property_postcode: string | null
85174
+ /** Key notes for a KeyNest device. */
85175
+ key_notes: string | null
85176
+ /** Subscription plan for a KeyNest device. */
85177
+ subscription_plan: string
85178
+ /** Status type for a KeyNest device. */
85179
+ status_type: string
85180
+ /** Current or last store ID for a KeyNest device. */
85181
+ current_or_last_store_id: number
85182
+ /** Last movement timestamp for a KeyNest device. */
85183
+ last_movement: string
85184
+ /** Address for a KeyNest device. */
85185
+ address: string | null
85186
+ /** Current status for a KeyNest device. */
85187
+ current_status: string | null
85188
+ /** Current user name for a KeyNest device. */
85189
+ current_user_name: string | null
85190
+ /** Current user email for a KeyNest device. */
85191
+ current_user_email: string | null
85192
+ /** Current user phone number for a KeyNest device. */
85193
+ current_user_phone_number: string | null
85194
+ /** Current user company for a KeyNest device. */
85195
+ current_user_company: string | null
85196
+ /** Handover method for a KeyNest device. */
85197
+ handover_method: string | null
85198
+ /** KeyNest app user for a KeyNest device. */
85199
+ keynest_app_user: string | null
85200
+ /** Default office ID for a KeyNest device. */
85201
+ default_office_id: number
85202
+ /** Fob ID for a KeyNest device. */
85203
+ fob_id: number
85204
+ /** Whether the KeyNest device has a photo. */
85205
+ has_photo: boolean
85206
+ }
85207
+ | undefined
83839
85208
  }) &
83840
85209
  ({
83841
85210
  /** */