@seamapi/types 1.392.0 → 1.393.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10314,6 +10314,13 @@ export interface Routes {
10314
10314
  message: string
10315
10315
  error_code: 'failed_to_delete_on_acs_system'
10316
10316
  }
10317
+ | {
10318
+ /** Date and time at which Seam created the error. */
10319
+ created_at: string
10320
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10321
+ message: string
10322
+ error_code: 'latch_conflict_with_resident_user'
10323
+ }
10317
10324
  >
10318
10325
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
10319
10326
  pending_mutations?:
@@ -11309,6 +11316,7 @@ export interface Routes {
11309
11316
  /** ID of the user identity for which you want to retrieve all credentials. */
11310
11317
  user_identity_id: string
11311
11318
  }
11319
+ | {}
11312
11320
  ) & {
11313
11321
  /** Number of credentials to return. */
11314
11322
  limit?: number
@@ -17404,6 +17412,13 @@ export interface Routes {
17404
17412
  message: string
17405
17413
  error_code: 'failed_to_delete_on_acs_system'
17406
17414
  }
17415
+ | {
17416
+ /** Date and time at which Seam created the error. */
17417
+ created_at: string
17418
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17419
+ message: string
17420
+ error_code: 'latch_conflict_with_resident_user'
17421
+ }
17407
17422
  >
17408
17423
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
17409
17424
  pending_mutations?:
@@ -17640,6 +17655,13 @@ export interface Routes {
17640
17655
  message: string
17641
17656
  error_code: 'failed_to_delete_on_acs_system'
17642
17657
  }
17658
+ | {
17659
+ /** Date and time at which Seam created the error. */
17660
+ created_at: string
17661
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17662
+ message: string
17663
+ error_code: 'latch_conflict_with_resident_user'
17664
+ }
17643
17665
  >
17644
17666
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
17645
17667
  pending_mutations?:
@@ -17872,6 +17894,13 @@ export interface Routes {
17872
17894
  message: string
17873
17895
  error_code: 'failed_to_delete_on_acs_system'
17874
17896
  }
17897
+ | {
17898
+ /** Date and time at which Seam created the error. */
17899
+ created_at: string
17900
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17901
+ message: string
17902
+ error_code: 'latch_conflict_with_resident_user'
17903
+ }
17875
17904
  >
17876
17905
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
17877
17906
  pending_mutations?:
@@ -18236,6 +18265,13 @@ export interface Routes {
18236
18265
  message: string
18237
18266
  error_code: 'failed_to_delete_on_acs_system'
18238
18267
  }
18268
+ | {
18269
+ /** Date and time at which Seam created the error. */
18270
+ created_at: string
18271
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18272
+ message: string
18273
+ error_code: 'latch_conflict_with_resident_user'
18274
+ }
18239
18275
  >
18240
18276
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
18241
18277
  pending_mutations?:
@@ -18458,6 +18494,13 @@ export interface Routes {
18458
18494
  message: string
18459
18495
  error_code: 'failed_to_delete_on_acs_system'
18460
18496
  }
18497
+ | {
18498
+ /** Date and time at which Seam created the error. */
18499
+ created_at: string
18500
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18501
+ message: string
18502
+ error_code: 'latch_conflict_with_resident_user'
18503
+ }
18461
18504
  >
18462
18505
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
18463
18506
  pending_mutations?:
@@ -44203,6 +44246,155 @@ export interface Routes {
44203
44246
  }
44204
44247
  }
44205
44248
  }
44249
+ '/seam/mobile_sdk/v1/acs/credentials/list': {
44250
+ route: '/seam/mobile_sdk/v1/acs/credentials/list'
44251
+ method: 'GET' | 'POST'
44252
+ queryParams: {}
44253
+ jsonBody: {}
44254
+ commonParams: {}
44255
+ formData: {}
44256
+ jsonResponse: {
44257
+ acs_credentials: Array<{
44258
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44259
+ acs_credential_id: string
44260
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
44261
+ acs_user_id?: string | undefined
44262
+ acs_credential_pool_id?: string | undefined
44263
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44264
+ acs_system_id: string
44265
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44266
+ parent_acs_credential_id?: string | undefined
44267
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
44268
+ display_name: string
44269
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44270
+ code?: (string | undefined) | null
44271
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
44272
+ is_one_time_use?: boolean | undefined
44273
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44274
+ card_number?: (string | undefined) | null
44275
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
44276
+ is_issued?: boolean | undefined
44277
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
44278
+ issued_at?: (string | undefined) | null
44279
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
44280
+ access_method: 'code' | 'card' | 'mobile_key'
44281
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
44282
+ external_type?:
44283
+ | (
44284
+ | 'pti_card'
44285
+ | 'brivo_credential'
44286
+ | 'hid_credential'
44287
+ | 'visionline_card'
44288
+ | 'salto_ks_credential'
44289
+ | 'assa_abloy_vostio_key'
44290
+ | 'salto_space_key'
44291
+ | 'latch_access'
44292
+ )
44293
+ | undefined
44294
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
44295
+ external_type_display_name?: string | undefined
44296
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
44297
+ created_at: string
44298
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44299
+ workspace_id: string
44300
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
44301
+ starts_at?: string | undefined
44302
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
44303
+ ends_at?: string | undefined
44304
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44305
+ errors: Array<{
44306
+ error_code: string
44307
+ message: string
44308
+ }>
44309
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44310
+ warnings: Array<
44311
+ | {
44312
+ /** Date and time at which Seam created the warning. */
44313
+ created_at: string
44314
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44315
+ message: string
44316
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44317
+ warning_code: 'waiting_to_be_issued'
44318
+ }
44319
+ | {
44320
+ /** Date and time at which Seam created the warning. */
44321
+ created_at: string
44322
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44323
+ message: string
44324
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44325
+ warning_code: 'schedule_externally_modified'
44326
+ }
44327
+ | {
44328
+ /** Date and time at which Seam created the warning. */
44329
+ created_at: string
44330
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44331
+ message: string
44332
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44333
+ warning_code: 'schedule_modified'
44334
+ }
44335
+ | {
44336
+ /** Date and time at which Seam created the warning. */
44337
+ created_at: string
44338
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44339
+ message: string
44340
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44341
+ warning_code: 'being_deleted'
44342
+ }
44343
+ | {
44344
+ /** Date and time at which Seam created the warning. */
44345
+ created_at: string
44346
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44347
+ message: string
44348
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44349
+ warning_code: 'unknown_issue_with_acs_credential'
44350
+ }
44351
+ | {
44352
+ /** Date and time at which Seam created the warning. */
44353
+ created_at: string
44354
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44355
+ message: string
44356
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44357
+ warning_code: 'needs_to_be_reissued'
44358
+ }
44359
+ >
44360
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
44361
+ is_multi_phone_sync_credential?: boolean | undefined
44362
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
44363
+ is_latest_desired_state_synced_with_provider?:
44364
+ | (boolean | null)
44365
+ | undefined
44366
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
44367
+ latest_desired_state_synced_with_provider_at?:
44368
+ | (string | null)
44369
+ | undefined
44370
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44371
+ visionline_metadata?:
44372
+ | {
44373
+ card_function_type: 'guest' | 'staff'
44374
+ joiner_acs_credential_ids?: string[] | undefined
44375
+ guest_acs_entrance_ids?: string[] | undefined
44376
+ common_acs_entrance_ids?: string[] | undefined
44377
+ is_valid?: boolean | undefined
44378
+ auto_join?: boolean | undefined
44379
+ card_id?: string | undefined
44380
+ credential_id?: string | undefined
44381
+ }
44382
+ | undefined
44383
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44384
+ assa_abloy_vostio_metadata?:
44385
+ | {
44386
+ auto_join?: boolean | undefined
44387
+ override_guest_acs_entrance_ids?: string[] | undefined
44388
+ key_id?: string | undefined
44389
+ key_issuing_request_id?: string | undefined
44390
+ door_names?: string[] | undefined
44391
+ endpoint_id?: string | undefined
44392
+ }
44393
+ | undefined
44394
+ is_managed: true
44395
+ }>
44396
+ }
44397
+ }
44206
44398
  '/thermostats/activate_climate_preset': {
44207
44399
  route: '/thermostats/activate_climate_preset'
44208
44400
  method: 'POST'
@@ -45790,6 +45982,7 @@ export interface Routes {
45790
45982
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
45791
45983
  assa_abloy_vostio_metadata?:
45792
45984
  | {
45985
+ auto_join?: boolean | undefined
45793
45986
  override_guest_acs_entrance_ids?:
45794
45987
  | string[]
45795
45988
  | undefined
@@ -45930,6 +46123,7 @@ export interface Routes {
45930
46123
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
45931
46124
  assa_abloy_vostio_metadata?:
45932
46125
  | {
46126
+ auto_join?: boolean | undefined
45933
46127
  override_guest_acs_entrance_ids?:
45934
46128
  | string[]
45935
46129
  | undefined
@@ -46199,6 +46393,7 @@ export interface Routes {
46199
46393
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
46200
46394
  assa_abloy_vostio_metadata?:
46201
46395
  | {
46396
+ auto_join?: boolean | undefined
46202
46397
  override_guest_acs_entrance_ids?: string[] | undefined
46203
46398
  key_id?: string | undefined
46204
46399
  key_issuing_request_id?: string | undefined
@@ -46337,6 +46532,7 @@ export interface Routes {
46337
46532
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
46338
46533
  assa_abloy_vostio_metadata?:
46339
46534
  | {
46535
+ auto_join?: boolean | undefined
46340
46536
  override_guest_acs_entrance_ids?: string[] | undefined
46341
46537
  key_id?: string | undefined
46342
46538
  key_issuing_request_id?: string | undefined
@@ -47091,6 +47287,7 @@ export interface Routes {
47091
47287
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47092
47288
  assa_abloy_vostio_metadata?:
47093
47289
  | {
47290
+ auto_join?: boolean | undefined
47094
47291
  override_guest_acs_entrance_ids?:
47095
47292
  | string[]
47096
47293
  | undefined
@@ -47231,6 +47428,7 @@ export interface Routes {
47231
47428
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47232
47429
  assa_abloy_vostio_metadata?:
47233
47430
  | {
47431
+ auto_join?: boolean | undefined
47234
47432
  override_guest_acs_entrance_ids?:
47235
47433
  | string[]
47236
47434
  | undefined
@@ -47500,6 +47698,7 @@ export interface Routes {
47500
47698
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47501
47699
  assa_abloy_vostio_metadata?:
47502
47700
  | {
47701
+ auto_join?: boolean | undefined
47503
47702
  override_guest_acs_entrance_ids?: string[] | undefined
47504
47703
  key_id?: string | undefined
47505
47704
  key_issuing_request_id?: string | undefined
@@ -47638,6 +47837,7 @@ export interface Routes {
47638
47837
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47639
47838
  assa_abloy_vostio_metadata?:
47640
47839
  | {
47840
+ auto_join?: boolean | undefined
47641
47841
  override_guest_acs_entrance_ids?: string[] | undefined
47642
47842
  key_id?: string | undefined
47643
47843
  key_issuing_request_id?: string | undefined
@@ -49794,6 +49994,7 @@ export interface Routes {
49794
49994
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
49795
49995
  assa_abloy_vostio_metadata?:
49796
49996
  | {
49997
+ auto_join?: boolean | undefined
49797
49998
  override_guest_acs_entrance_ids?:
49798
49999
  | string[]
49799
50000
  | undefined
@@ -49934,6 +50135,7 @@ export interface Routes {
49934
50135
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
49935
50136
  assa_abloy_vostio_metadata?:
49936
50137
  | {
50138
+ auto_join?: boolean | undefined
49937
50139
  override_guest_acs_entrance_ids?:
49938
50140
  | string[]
49939
50141
  | undefined
@@ -50203,6 +50405,7 @@ export interface Routes {
50203
50405
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
50204
50406
  assa_abloy_vostio_metadata?:
50205
50407
  | {
50408
+ auto_join?: boolean | undefined
50206
50409
  override_guest_acs_entrance_ids?: string[] | undefined
50207
50410
  key_id?: string | undefined
50208
50411
  key_issuing_request_id?: string | undefined
@@ -50341,6 +50544,7 @@ export interface Routes {
50341
50544
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
50342
50545
  assa_abloy_vostio_metadata?:
50343
50546
  | {
50547
+ auto_join?: boolean | undefined
50344
50548
  override_guest_acs_entrance_ids?: string[] | undefined
50345
50549
  key_id?: string | undefined
50346
50550
  key_issuing_request_id?: string | undefined
@@ -63735,6 +63939,13 @@ export interface Routes {
63735
63939
  message: string
63736
63940
  error_code: 'failed_to_delete_on_acs_system'
63737
63941
  }
63942
+ | {
63943
+ /** Date and time at which Seam created the error. */
63944
+ created_at: string
63945
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63946
+ message: string
63947
+ error_code: 'latch_conflict_with_resident_user'
63948
+ }
63738
63949
  >
63739
63950
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
63740
63951
  pending_mutations?: