@seamapi/types 1.377.0 → 1.378.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.
@@ -9618,15 +9618,11 @@ export interface Routes {
9618
9618
  created_at: string
9619
9619
  mutation_code: 'updating_access_schedule'
9620
9620
  from: {
9621
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9622
- starts_at: string
9623
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9621
+ starts_at: string | null
9624
9622
  ends_at: string | null
9625
9623
  }
9626
9624
  to: {
9627
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9628
- starts_at: string
9629
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9625
+ starts_at: string | null
9630
9626
  ends_at: string | null
9631
9627
  }
9632
9628
  }
@@ -12568,6 +12564,54 @@ export interface Routes {
12568
12564
  }
12569
12565
  }
12570
12566
  }
12567
+ '/acs/encoders/get': {
12568
+ route: '/acs/encoders/get'
12569
+ method: 'GET' | 'POST'
12570
+ queryParams: {}
12571
+ jsonBody: {}
12572
+ commonParams: {
12573
+ /** ID of the desired encoder. */
12574
+ acs_encoder_id: string
12575
+ }
12576
+ formData: {}
12577
+ jsonResponse: {
12578
+ /** Represents a hardware device that encodes [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) data onto physical cards within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
12579
+
12580
+ Some access control systems require credentials to be encoded onto plastic key cards using a card encoder. This process involves the following two key steps:
12581
+
12582
+ 1. Credential creation
12583
+ Configure the access parameters for the credential.
12584
+ 2. Card encoding
12585
+ Write the credential data onto the card using a compatible card encoder.
12586
+
12587
+ Separately, the Seam API also supports card scanning, which enables you to scan and read the encoded data on a card. You can use this action to confirm consistency with access control system records or diagnose discrepancies if needed.
12588
+
12589
+ See [Working with Card Encoders and Scanners](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).
12590
+
12591
+ To verify if your access control system requires a card encoder, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems). */
12592
+ acs_encoder: {
12593
+ /** ID of the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners. */
12594
+ acs_encoder_id: string
12595
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
12596
+ acs_system_id: string
12597
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
12598
+ workspace_id: string
12599
+ /** Errors associated with the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
12600
+ errors: Array<{
12601
+ /** Date and time at which Seam created the error. */
12602
+ created_at: string
12603
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
12604
+ message: string
12605
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12606
+ error_code: 'acs_encoder_removed'
12607
+ }>
12608
+ /** Date and time at which the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners) was created. */
12609
+ created_at: string
12610
+ /** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
12611
+ display_name: string
12612
+ }
12613
+ }
12614
+ }
12571
12615
  '/acs/encoders/list': {
12572
12616
  route: '/acs/encoders/list'
12573
12617
  method: 'GET' | 'POST'
@@ -14947,15 +14991,11 @@ export interface Routes {
14947
14991
  created_at: string
14948
14992
  mutation_code: 'updating_access_schedule'
14949
14993
  from: {
14950
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
14951
- starts_at: string
14952
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
14994
+ starts_at: string | null
14953
14995
  ends_at: string | null
14954
14996
  }
14955
14997
  to: {
14956
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
14957
- starts_at: string
14958
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
14998
+ starts_at: string | null
14959
14999
  ends_at: string | null
14960
15000
  }
14961
15001
  }
@@ -15166,15 +15206,11 @@ export interface Routes {
15166
15206
  created_at: string
15167
15207
  mutation_code: 'updating_access_schedule'
15168
15208
  from: {
15169
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15170
- starts_at: string
15171
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15209
+ starts_at: string | null
15172
15210
  ends_at: string | null
15173
15211
  }
15174
15212
  to: {
15175
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15176
- starts_at: string
15177
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15213
+ starts_at: string | null
15178
15214
  ends_at: string | null
15179
15215
  }
15180
15216
  }
@@ -15381,15 +15417,11 @@ export interface Routes {
15381
15417
  created_at: string
15382
15418
  mutation_code: 'updating_access_schedule'
15383
15419
  from: {
15384
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15385
- starts_at: string
15386
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15420
+ starts_at: string | null
15387
15421
  ends_at: string | null
15388
15422
  }
15389
15423
  to: {
15390
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15391
- starts_at: string
15392
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15424
+ starts_at: string | null
15393
15425
  ends_at: string | null
15394
15426
  }
15395
15427
  }
@@ -15728,15 +15760,11 @@ export interface Routes {
15728
15760
  created_at: string
15729
15761
  mutation_code: 'updating_access_schedule'
15730
15762
  from: {
15731
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15732
- starts_at: string
15733
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15763
+ starts_at: string | null
15734
15764
  ends_at: string | null
15735
15765
  }
15736
15766
  to: {
15737
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15738
- starts_at: string
15739
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15767
+ starts_at: string | null
15740
15768
  ends_at: string | null
15741
15769
  }
15742
15770
  }
@@ -15933,15 +15961,11 @@ export interface Routes {
15933
15961
  created_at: string
15934
15962
  mutation_code: 'updating_access_schedule'
15935
15963
  from: {
15936
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15937
- starts_at: string
15938
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15964
+ starts_at: string | null
15939
15965
  ends_at: string | null
15940
15966
  }
15941
15967
  to: {
15942
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15943
- starts_at: string
15944
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15968
+ starts_at: string | null
15945
15969
  ends_at: string | null
15946
15970
  }
15947
15971
  }
@@ -36885,15 +36909,15 @@ export interface Routes {
36885
36909
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36886
36910
  error_code: 'bridge_lan_unreachable'
36887
36911
  /** Seam cannot reach the tailscale proxy */
36888
- is_tailscale_proxy_reachable: boolean
36912
+ is_tailscale_proxy_reachable: boolean | null
36889
36913
  /** Tailscale proxy's SOCKS server is unhealthy */
36890
- is_tailscale_proxy_socks_server_healthy: boolean
36914
+ is_tailscale_proxy_socks_server_healthy: boolean | null
36891
36915
  /** Tailscale proxy cannot reach the Tailscale network */
36892
- can_tailscale_proxy_reach_tailscale_network: boolean
36916
+ can_tailscale_proxy_reach_tailscale_network: boolean | null
36893
36917
  /** Tailscale proxy cannot reach the bridge */
36894
- can_tailscale_proxy_reach_bridge: boolean
36918
+ can_tailscale_proxy_reach_bridge: boolean | null
36895
36919
  /** Bridge's SOCKS server is unhealthy */
36896
- is_bridge_socks_server_healthy: boolean
36920
+ is_bridge_socks_server_healthy: boolean | null
36897
36921
  }
36898
36922
  | {
36899
36923
  message: string
@@ -36932,15 +36956,15 @@ export interface Routes {
36932
36956
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36933
36957
  error_code: 'bridge_lan_unreachable'
36934
36958
  /** Seam cannot reach the tailscale proxy */
36935
- is_tailscale_proxy_reachable: boolean
36959
+ is_tailscale_proxy_reachable: boolean | null
36936
36960
  /** Tailscale proxy's SOCKS server is unhealthy */
36937
- is_tailscale_proxy_socks_server_healthy: boolean
36961
+ is_tailscale_proxy_socks_server_healthy: boolean | null
36938
36962
  /** Tailscale proxy cannot reach the Tailscale network */
36939
- can_tailscale_proxy_reach_tailscale_network: boolean
36963
+ can_tailscale_proxy_reach_tailscale_network: boolean | null
36940
36964
  /** Tailscale proxy cannot reach the bridge */
36941
- can_tailscale_proxy_reach_bridge: boolean
36965
+ can_tailscale_proxy_reach_bridge: boolean | null
36942
36966
  /** Bridge's SOCKS server is unhealthy */
36943
- is_bridge_socks_server_healthy: boolean
36967
+ is_bridge_socks_server_healthy: boolean | null
36944
36968
  }
36945
36969
  | {
36946
36970
  message: string
@@ -36979,15 +37003,15 @@ export interface Routes {
36979
37003
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36980
37004
  error_code: 'bridge_lan_unreachable'
36981
37005
  /** Seam cannot reach the tailscale proxy */
36982
- is_tailscale_proxy_reachable: boolean
37006
+ is_tailscale_proxy_reachable: boolean | null
36983
37007
  /** Tailscale proxy's SOCKS server is unhealthy */
36984
- is_tailscale_proxy_socks_server_healthy: boolean
37008
+ is_tailscale_proxy_socks_server_healthy: boolean | null
36985
37009
  /** Tailscale proxy cannot reach the Tailscale network */
36986
- can_tailscale_proxy_reach_tailscale_network: boolean
37010
+ can_tailscale_proxy_reach_tailscale_network: boolean | null
36987
37011
  /** Tailscale proxy cannot reach the bridge */
36988
- can_tailscale_proxy_reach_bridge: boolean
37012
+ can_tailscale_proxy_reach_bridge: boolean | null
36989
37013
  /** Bridge's SOCKS server is unhealthy */
36990
- is_bridge_socks_server_healthy: boolean
37014
+ is_bridge_socks_server_healthy: boolean | null
36991
37015
  }
36992
37016
  | {
36993
37017
  message: string
@@ -50918,15 +50942,11 @@ export interface Routes {
50918
50942
  created_at: string
50919
50943
  mutation_code: 'updating_access_schedule'
50920
50944
  from: {
50921
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
50922
- starts_at: string
50923
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
50945
+ starts_at: string | null
50924
50946
  ends_at: string | null
50925
50947
  }
50926
50948
  to: {
50927
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
50928
- starts_at: string
50929
- /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
50949
+ starts_at: string | null
50930
50950
  ends_at: string | null
50931
50951
  }
50932
50952
  }