@seamapi/types 1.392.1 → 1.394.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?:
@@ -10396,6 +10403,8 @@ export interface Routes {
10396
10403
  }
10397
10404
  >
10398
10405
  | undefined
10406
+ /** The last time an internal sync job completed for this ACS user. */
10407
+ last_successful_sync_at: string | null
10399
10408
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
10400
10409
  full_name?: string | undefined
10401
10410
  /**
@@ -17405,6 +17414,13 @@ export interface Routes {
17405
17414
  message: string
17406
17415
  error_code: 'failed_to_delete_on_acs_system'
17407
17416
  }
17417
+ | {
17418
+ /** Date and time at which Seam created the error. */
17419
+ created_at: string
17420
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17421
+ message: string
17422
+ error_code: 'latch_conflict_with_resident_user'
17423
+ }
17408
17424
  >
17409
17425
  /** 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
17426
  pending_mutations?:
@@ -17487,6 +17503,8 @@ export interface Routes {
17487
17503
  }
17488
17504
  >
17489
17505
  | undefined
17506
+ /** The last time an internal sync job completed for this ACS user. */
17507
+ last_successful_sync_at: string | null
17490
17508
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
17491
17509
  full_name?: string | undefined
17492
17510
  /**
@@ -17641,6 +17659,13 @@ export interface Routes {
17641
17659
  message: string
17642
17660
  error_code: 'failed_to_delete_on_acs_system'
17643
17661
  }
17662
+ | {
17663
+ /** Date and time at which Seam created the error. */
17664
+ created_at: string
17665
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17666
+ message: string
17667
+ error_code: 'latch_conflict_with_resident_user'
17668
+ }
17644
17669
  >
17645
17670
  /** 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
17671
  pending_mutations?:
@@ -17723,6 +17748,8 @@ export interface Routes {
17723
17748
  }
17724
17749
  >
17725
17750
  | undefined
17751
+ /** The last time an internal sync job completed for this ACS user. */
17752
+ last_successful_sync_at: string | null
17726
17753
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
17727
17754
  full_name?: string | undefined
17728
17755
  /**
@@ -17873,6 +17900,13 @@ export interface Routes {
17873
17900
  message: string
17874
17901
  error_code: 'failed_to_delete_on_acs_system'
17875
17902
  }
17903
+ | {
17904
+ /** Date and time at which Seam created the error. */
17905
+ created_at: string
17906
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17907
+ message: string
17908
+ error_code: 'latch_conflict_with_resident_user'
17909
+ }
17876
17910
  >
17877
17911
  /** 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
17912
  pending_mutations?:
@@ -17955,6 +17989,8 @@ export interface Routes {
17955
17989
  }
17956
17990
  >
17957
17991
  | undefined
17992
+ /** The last time an internal sync job completed for this ACS user. */
17993
+ last_successful_sync_at: string | null
17958
17994
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
17959
17995
  full_name?: string | undefined
17960
17996
  /**
@@ -18237,6 +18273,13 @@ export interface Routes {
18237
18273
  message: string
18238
18274
  error_code: 'failed_to_delete_on_acs_system'
18239
18275
  }
18276
+ | {
18277
+ /** Date and time at which Seam created the error. */
18278
+ created_at: string
18279
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18280
+ message: string
18281
+ error_code: 'latch_conflict_with_resident_user'
18282
+ }
18240
18283
  >
18241
18284
  /** 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
18285
  pending_mutations?:
@@ -18319,6 +18362,8 @@ export interface Routes {
18319
18362
  }
18320
18363
  >
18321
18364
  | undefined
18365
+ /** The last time an internal sync job completed for this ACS user. */
18366
+ last_successful_sync_at: string | null
18322
18367
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
18323
18368
  full_name?: string | undefined
18324
18369
  /**
@@ -18459,6 +18504,13 @@ export interface Routes {
18459
18504
  message: string
18460
18505
  error_code: 'failed_to_delete_on_acs_system'
18461
18506
  }
18507
+ | {
18508
+ /** Date and time at which Seam created the error. */
18509
+ created_at: string
18510
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18511
+ message: string
18512
+ error_code: 'latch_conflict_with_resident_user'
18513
+ }
18462
18514
  >
18463
18515
  /** 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
18516
  pending_mutations?:
@@ -18541,6 +18593,8 @@ export interface Routes {
18541
18593
  }
18542
18594
  >
18543
18595
  | undefined
18596
+ /** The last time an internal sync job completed for this ACS user. */
18597
+ last_successful_sync_at: string | null
18544
18598
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
18545
18599
  full_name?: string | undefined
18546
18600
  /**
@@ -44204,6 +44258,155 @@ export interface Routes {
44204
44258
  }
44205
44259
  }
44206
44260
  }
44261
+ '/seam/mobile_sdk/v1/acs/credentials/list': {
44262
+ route: '/seam/mobile_sdk/v1/acs/credentials/list'
44263
+ method: 'GET' | 'POST'
44264
+ queryParams: {}
44265
+ jsonBody: {}
44266
+ commonParams: {}
44267
+ formData: {}
44268
+ jsonResponse: {
44269
+ acs_credentials: Array<{
44270
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44271
+ acs_credential_id: string
44272
+ /** 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. */
44273
+ acs_user_id?: string | undefined
44274
+ acs_credential_pool_id?: string | undefined
44275
+ /** 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). */
44276
+ acs_system_id: string
44277
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44278
+ parent_acs_credential_id?: string | undefined
44279
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
44280
+ display_name: string
44281
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44282
+ code?: (string | undefined) | null
44283
+ /** 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. */
44284
+ is_one_time_use?: boolean | undefined
44285
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44286
+ card_number?: (string | undefined) | null
44287
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
44288
+ is_issued?: boolean | undefined
44289
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
44290
+ issued_at?: (string | undefined) | null
44291
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
44292
+ access_method: 'code' | 'card' | 'mobile_key'
44293
+ /** 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`. */
44294
+ external_type?:
44295
+ | (
44296
+ | 'pti_card'
44297
+ | 'brivo_credential'
44298
+ | 'hid_credential'
44299
+ | 'visionline_card'
44300
+ | 'salto_ks_credential'
44301
+ | 'assa_abloy_vostio_key'
44302
+ | 'salto_space_key'
44303
+ | 'latch_access'
44304
+ )
44305
+ | undefined
44306
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
44307
+ external_type_display_name?: string | undefined
44308
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
44309
+ created_at: string
44310
+ /** 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). */
44311
+ workspace_id: string
44312
+ /** 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. */
44313
+ starts_at?: string | undefined
44314
+ /** 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`. */
44315
+ ends_at?: string | undefined
44316
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44317
+ errors: Array<{
44318
+ error_code: string
44319
+ message: string
44320
+ }>
44321
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44322
+ warnings: Array<
44323
+ | {
44324
+ /** Date and time at which Seam created the warning. */
44325
+ created_at: string
44326
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44327
+ message: string
44328
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44329
+ warning_code: 'waiting_to_be_issued'
44330
+ }
44331
+ | {
44332
+ /** Date and time at which Seam created the warning. */
44333
+ created_at: string
44334
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44335
+ message: string
44336
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44337
+ warning_code: 'schedule_externally_modified'
44338
+ }
44339
+ | {
44340
+ /** Date and time at which Seam created the warning. */
44341
+ created_at: string
44342
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44343
+ message: string
44344
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44345
+ warning_code: 'schedule_modified'
44346
+ }
44347
+ | {
44348
+ /** Date and time at which Seam created the warning. */
44349
+ created_at: string
44350
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44351
+ message: string
44352
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44353
+ warning_code: 'being_deleted'
44354
+ }
44355
+ | {
44356
+ /** Date and time at which Seam created the warning. */
44357
+ created_at: string
44358
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44359
+ message: string
44360
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44361
+ warning_code: 'unknown_issue_with_acs_credential'
44362
+ }
44363
+ | {
44364
+ /** Date and time at which Seam created the warning. */
44365
+ created_at: string
44366
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44367
+ message: string
44368
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44369
+ warning_code: 'needs_to_be_reissued'
44370
+ }
44371
+ >
44372
+ /** 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). */
44373
+ is_multi_phone_sync_credential?: boolean | undefined
44374
+ /** 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. */
44375
+ is_latest_desired_state_synced_with_provider?:
44376
+ | (boolean | null)
44377
+ | undefined
44378
+ /** 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. */
44379
+ latest_desired_state_synced_with_provider_at?:
44380
+ | (string | null)
44381
+ | undefined
44382
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44383
+ visionline_metadata?:
44384
+ | {
44385
+ card_function_type: 'guest' | 'staff'
44386
+ joiner_acs_credential_ids?: string[] | undefined
44387
+ guest_acs_entrance_ids?: string[] | undefined
44388
+ common_acs_entrance_ids?: string[] | undefined
44389
+ is_valid?: boolean | undefined
44390
+ auto_join?: boolean | undefined
44391
+ card_id?: string | undefined
44392
+ credential_id?: string | undefined
44393
+ }
44394
+ | undefined
44395
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
44396
+ assa_abloy_vostio_metadata?:
44397
+ | {
44398
+ auto_join?: boolean | undefined
44399
+ override_guest_acs_entrance_ids?: string[] | undefined
44400
+ key_id?: string | undefined
44401
+ key_issuing_request_id?: string | undefined
44402
+ door_names?: string[] | undefined
44403
+ endpoint_id?: string | undefined
44404
+ }
44405
+ | undefined
44406
+ is_managed: true
44407
+ }>
44408
+ }
44409
+ }
44207
44410
  '/thermostats/activate_climate_preset': {
44208
44411
  route: '/thermostats/activate_climate_preset'
44209
44412
  method: 'POST'
@@ -45791,6 +45994,7 @@ export interface Routes {
45791
45994
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
45792
45995
  assa_abloy_vostio_metadata?:
45793
45996
  | {
45997
+ auto_join?: boolean | undefined
45794
45998
  override_guest_acs_entrance_ids?:
45795
45999
  | string[]
45796
46000
  | undefined
@@ -45931,6 +46135,7 @@ export interface Routes {
45931
46135
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
45932
46136
  assa_abloy_vostio_metadata?:
45933
46137
  | {
46138
+ auto_join?: boolean | undefined
45934
46139
  override_guest_acs_entrance_ids?:
45935
46140
  | string[]
45936
46141
  | undefined
@@ -46200,6 +46405,7 @@ export interface Routes {
46200
46405
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
46201
46406
  assa_abloy_vostio_metadata?:
46202
46407
  | {
46408
+ auto_join?: boolean | undefined
46203
46409
  override_guest_acs_entrance_ids?: string[] | undefined
46204
46410
  key_id?: string | undefined
46205
46411
  key_issuing_request_id?: string | undefined
@@ -46338,6 +46544,7 @@ export interface Routes {
46338
46544
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
46339
46545
  assa_abloy_vostio_metadata?:
46340
46546
  | {
46547
+ auto_join?: boolean | undefined
46341
46548
  override_guest_acs_entrance_ids?: string[] | undefined
46342
46549
  key_id?: string | undefined
46343
46550
  key_issuing_request_id?: string | undefined
@@ -47092,6 +47299,7 @@ export interface Routes {
47092
47299
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47093
47300
  assa_abloy_vostio_metadata?:
47094
47301
  | {
47302
+ auto_join?: boolean | undefined
47095
47303
  override_guest_acs_entrance_ids?:
47096
47304
  | string[]
47097
47305
  | undefined
@@ -47232,6 +47440,7 @@ export interface Routes {
47232
47440
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47233
47441
  assa_abloy_vostio_metadata?:
47234
47442
  | {
47443
+ auto_join?: boolean | undefined
47235
47444
  override_guest_acs_entrance_ids?:
47236
47445
  | string[]
47237
47446
  | undefined
@@ -47501,6 +47710,7 @@ export interface Routes {
47501
47710
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47502
47711
  assa_abloy_vostio_metadata?:
47503
47712
  | {
47713
+ auto_join?: boolean | undefined
47504
47714
  override_guest_acs_entrance_ids?: string[] | undefined
47505
47715
  key_id?: string | undefined
47506
47716
  key_issuing_request_id?: string | undefined
@@ -47639,6 +47849,7 @@ export interface Routes {
47639
47849
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
47640
47850
  assa_abloy_vostio_metadata?:
47641
47851
  | {
47852
+ auto_join?: boolean | undefined
47642
47853
  override_guest_acs_entrance_ids?: string[] | undefined
47643
47854
  key_id?: string | undefined
47644
47855
  key_issuing_request_id?: string | undefined
@@ -49795,6 +50006,7 @@ export interface Routes {
49795
50006
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
49796
50007
  assa_abloy_vostio_metadata?:
49797
50008
  | {
50009
+ auto_join?: boolean | undefined
49798
50010
  override_guest_acs_entrance_ids?:
49799
50011
  | string[]
49800
50012
  | undefined
@@ -49935,6 +50147,7 @@ export interface Routes {
49935
50147
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
49936
50148
  assa_abloy_vostio_metadata?:
49937
50149
  | {
50150
+ auto_join?: boolean | undefined
49938
50151
  override_guest_acs_entrance_ids?:
49939
50152
  | string[]
49940
50153
  | undefined
@@ -50204,6 +50417,7 @@ export interface Routes {
50204
50417
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
50205
50418
  assa_abloy_vostio_metadata?:
50206
50419
  | {
50420
+ auto_join?: boolean | undefined
50207
50421
  override_guest_acs_entrance_ids?: string[] | undefined
50208
50422
  key_id?: string | undefined
50209
50423
  key_issuing_request_id?: string | undefined
@@ -50342,6 +50556,7 @@ export interface Routes {
50342
50556
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
50343
50557
  assa_abloy_vostio_metadata?:
50344
50558
  | {
50559
+ auto_join?: boolean | undefined
50345
50560
  override_guest_acs_entrance_ids?: string[] | undefined
50346
50561
  key_id?: string | undefined
50347
50562
  key_issuing_request_id?: string | undefined
@@ -63736,6 +63951,13 @@ export interface Routes {
63736
63951
  message: string
63737
63952
  error_code: 'failed_to_delete_on_acs_system'
63738
63953
  }
63954
+ | {
63955
+ /** Date and time at which Seam created the error. */
63956
+ created_at: string
63957
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63958
+ message: string
63959
+ error_code: 'latch_conflict_with_resident_user'
63960
+ }
63739
63961
  >
63740
63962
  /** 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
63963
  pending_mutations?:
@@ -63818,6 +64040,8 @@ export interface Routes {
63818
64040
  }
63819
64041
  >
63820
64042
  | undefined
64043
+ /** The last time an internal sync job completed for this ACS user. */
64044
+ last_successful_sync_at: string | null
63821
64045
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
63822
64046
  full_name?: string | undefined
63823
64047
  /**