@seamapi/types 1.392.1 → 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?:
@@ -17405,6 +17412,13 @@ export interface Routes {
17405
17412
  message: string
17406
17413
  error_code: 'failed_to_delete_on_acs_system'
17407
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
+ }
17408
17422
  >
17409
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. */
17410
17424
  pending_mutations?:
@@ -17641,6 +17655,13 @@ export interface Routes {
17641
17655
  message: string
17642
17656
  error_code: 'failed_to_delete_on_acs_system'
17643
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
+ }
17644
17665
  >
17645
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. */
17646
17667
  pending_mutations?:
@@ -17873,6 +17894,13 @@ export interface Routes {
17873
17894
  message: string
17874
17895
  error_code: 'failed_to_delete_on_acs_system'
17875
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
+ }
17876
17904
  >
17877
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. */
17878
17906
  pending_mutations?:
@@ -18237,6 +18265,13 @@ export interface Routes {
18237
18265
  message: string
18238
18266
  error_code: 'failed_to_delete_on_acs_system'
18239
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
+ }
18240
18275
  >
18241
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. */
18242
18277
  pending_mutations?:
@@ -18459,6 +18494,13 @@ export interface Routes {
18459
18494
  message: string
18460
18495
  error_code: 'failed_to_delete_on_acs_system'
18461
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
+ }
18462
18504
  >
18463
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. */
18464
18506
  pending_mutations?:
@@ -44204,6 +44246,155 @@ export interface Routes {
44204
44246
  }
44205
44247
  }
44206
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
+ }
44207
44398
  '/thermostats/activate_climate_preset': {
44208
44399
  route: '/thermostats/activate_climate_preset'
44209
44400
  method: 'POST'
@@ -45791,6 +45982,7 @@ export interface Routes {
45791
45982
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
45792
45983
  assa_abloy_vostio_metadata?:
45793
45984
  | {
45985
+ auto_join?: boolean | undefined
45794
45986
  override_guest_acs_entrance_ids?:
45795
45987
  | string[]
45796
45988
  | undefined
@@ -45931,6 +46123,7 @@ export interface Routes {
45931
46123
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
45932
46124
  assa_abloy_vostio_metadata?:
45933
46125
  | {
46126
+ auto_join?: boolean | undefined
45934
46127
  override_guest_acs_entrance_ids?:
45935
46128
  | string[]
45936
46129
  | undefined
@@ -46200,6 +46393,7 @@ export interface Routes {
46200
46393
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
46201
46394
  assa_abloy_vostio_metadata?:
46202
46395
  | {
46396
+ auto_join?: boolean | undefined
46203
46397
  override_guest_acs_entrance_ids?: string[] | undefined
46204
46398
  key_id?: string | undefined
46205
46399
  key_issuing_request_id?: string | undefined
@@ -46338,6 +46532,7 @@ export interface Routes {
46338
46532
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
46339
46533
  assa_abloy_vostio_metadata?:
46340
46534
  | {
46535
+ auto_join?: boolean | undefined
46341
46536
  override_guest_acs_entrance_ids?: string[] | undefined
46342
46537
  key_id?: string | undefined
46343
46538
  key_issuing_request_id?: string | undefined
@@ -47092,6 +47287,7 @@ export interface Routes {
47092
47287
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47093
47288
  assa_abloy_vostio_metadata?:
47094
47289
  | {
47290
+ auto_join?: boolean | undefined
47095
47291
  override_guest_acs_entrance_ids?:
47096
47292
  | string[]
47097
47293
  | undefined
@@ -47232,6 +47428,7 @@ export interface Routes {
47232
47428
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47233
47429
  assa_abloy_vostio_metadata?:
47234
47430
  | {
47431
+ auto_join?: boolean | undefined
47235
47432
  override_guest_acs_entrance_ids?:
47236
47433
  | string[]
47237
47434
  | undefined
@@ -47501,6 +47698,7 @@ export interface Routes {
47501
47698
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47502
47699
  assa_abloy_vostio_metadata?:
47503
47700
  | {
47701
+ auto_join?: boolean | undefined
47504
47702
  override_guest_acs_entrance_ids?: string[] | undefined
47505
47703
  key_id?: string | undefined
47506
47704
  key_issuing_request_id?: string | undefined
@@ -47639,6 +47837,7 @@ export interface Routes {
47639
47837
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47640
47838
  assa_abloy_vostio_metadata?:
47641
47839
  | {
47840
+ auto_join?: boolean | undefined
47642
47841
  override_guest_acs_entrance_ids?: string[] | undefined
47643
47842
  key_id?: string | undefined
47644
47843
  key_issuing_request_id?: string | undefined
@@ -49795,6 +49994,7 @@ export interface Routes {
49795
49994
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
49796
49995
  assa_abloy_vostio_metadata?:
49797
49996
  | {
49997
+ auto_join?: boolean | undefined
49798
49998
  override_guest_acs_entrance_ids?:
49799
49999
  | string[]
49800
50000
  | undefined
@@ -49935,6 +50135,7 @@ export interface Routes {
49935
50135
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
49936
50136
  assa_abloy_vostio_metadata?:
49937
50137
  | {
50138
+ auto_join?: boolean | undefined
49938
50139
  override_guest_acs_entrance_ids?:
49939
50140
  | string[]
49940
50141
  | undefined
@@ -50204,6 +50405,7 @@ export interface Routes {
50204
50405
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
50205
50406
  assa_abloy_vostio_metadata?:
50206
50407
  | {
50408
+ auto_join?: boolean | undefined
50207
50409
  override_guest_acs_entrance_ids?: string[] | undefined
50208
50410
  key_id?: string | undefined
50209
50411
  key_issuing_request_id?: string | undefined
@@ -50342,6 +50544,7 @@ export interface Routes {
50342
50544
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
50343
50545
  assa_abloy_vostio_metadata?:
50344
50546
  | {
50547
+ auto_join?: boolean | undefined
50345
50548
  override_guest_acs_entrance_ids?: string[] | undefined
50346
50549
  key_id?: string | undefined
50347
50550
  key_issuing_request_id?: string | undefined
@@ -63736,6 +63939,13 @@ export interface Routes {
63736
63939
  message: string
63737
63940
  error_code: 'failed_to_delete_on_acs_system'
63738
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
+ }
63739
63949
  >
63740
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. */
63741
63951
  pending_mutations?: