@seamapi/types 1.369.0 → 1.369.2

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 (31) hide show
  1. package/dist/connect.cjs +51 -15
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +58 -11
  4. package/lib/seam/connect/models/acs/acs-access-group.js +4 -1
  5. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.js +5 -1
  7. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  8. package/lib/seam/connect/models/acs/acs-encoder.js +14 -1
  9. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-entrance.js +2 -0
  11. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-system.js +4 -0
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-users/acs-user.js +6 -0
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  16. package/lib/seam/connect/models/pagination.js +1 -0
  17. package/lib/seam/connect/models/pagination.js.map +1 -1
  18. package/lib/seam/connect/openapi.d.ts +6 -0
  19. package/lib/seam/connect/openapi.js +14 -8
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +52 -11
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/models/acs/acs-access-group.ts +4 -1
  24. package/src/lib/seam/connect/models/acs/acs-credential.ts +5 -1
  25. package/src/lib/seam/connect/models/acs/acs-encoder.ts +14 -1
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
  27. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -0
  28. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +6 -0
  29. package/src/lib/seam/connect/models/pagination.ts +1 -0
  30. package/src/lib/seam/connect/openapi.ts +14 -8
  31. package/src/lib/seam/connect/route-types.ts +52 -11
@@ -963,7 +963,7 @@ export default {
963
963
  'x-route-path': '/access_codes',
964
964
  },
965
965
  acs_access_group: {
966
- description: 'Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.\nThe `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
966
+ description: 'Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.\n\nSome access control systems use [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.\n\nTo learn whether your access control system supports access groups, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems).',
967
967
  properties: {
968
968
  access_group_type: {
969
969
  deprecated: true,
@@ -1066,7 +1066,7 @@ export default {
1066
1066
  'x-route-path': '/acs/access_groups',
1067
1067
  },
1068
1068
  acs_credential: {
1069
- description: 'Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.',
1069
+ description: 'Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
1070
1070
  properties: {
1071
1071
  access_method: {
1072
1072
  description: 'Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.',
@@ -1419,7 +1419,7 @@ export default {
1419
1419
  'x-route-path': '/acs/credential_provisioning_automations',
1420
1420
  },
1421
1421
  acs_encoder: {
1422
- description: '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). See also [Working with Card Encoders and Scanners](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).',
1422
+ description: '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).\n\nSome access control systems require credentials to be encoded onto plastic key cards using a card encoder. This process involves the following two key steps:\n\n1. Credential creation\n Configure the access parameters for the credential.\n2. Card encoding\n Write the credential data onto the card using a compatible card encoder.\n\nSeparately, 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.\n\n See [Working with Card Encoders and Scanners](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).\n\nTo 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).',
1423
1423
  properties: {
1424
1424
  acs_encoder_id: {
1425
1425
  description: 'ID of the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners.',
@@ -1483,7 +1483,7 @@ export default {
1483
1483
  'x-route-path': '/acs/encoders',
1484
1484
  },
1485
1485
  acs_entrance: {
1486
- description: 'Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
1486
+ description: 'Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nIn an access control system, an entrance is a secured door, gate, zone, or other method of entry. You can list details for all the `acs_entrance` resources in your workspace or get these details for a specific `acs_entrance`. You can also list all entrances associated with a specific credential, and you can list all credentials associated with a specific entrance.',
1487
1487
  properties: {
1488
1488
  acs_entrance_id: {
1489
1489
  description: 'ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
@@ -1636,7 +1636,7 @@ export default {
1636
1636
  'x-route-path': '/acs/entrances',
1637
1637
  },
1638
1638
  acs_system: {
1639
- description: 'Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
1639
+ description: 'Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nWithin an `acs_system`, create [`acs_user`s](https://docs.seam.co/latest/api/acs/users#acs_user) and [`acs_credential`s](https://docs.seam.co/latest/api/acs/credentials#acs_credential) to grant access to the `acs_user`s.\n\nFor details about the resources associated with an access control system, see the [access control systems namespace](https://docs.seam.co/latest/api/acs).',
1640
1640
  properties: {
1641
1641
  acs_system_id: {
1642
1642
  description: 'ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
@@ -1993,7 +1993,7 @@ export default {
1993
1993
  'x-route-path': '/acs/systems',
1994
1994
  },
1995
1995
  acs_user: {
1996
- description: 'Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
1996
+ description: 'Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nAn `acs_user` typically refers to an individual who requires access, like an employee or resident. Each user can possess multiple credentials that serve as their keys or identifiers for access. The type of credential can vary widely. For example, in the Salto system, a user can have a PIN code, a mobile app account, and a fob. In other platforms, it is not uncommon for a user to have more than one of the same credential type, such as multiple key cards. Additionally, these credentials can have a schedule or validity period.\n\nFor details about how to configure `acs_user`s in your access control system, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems).',
1997
1997
  properties: {
1998
1998
  access_schedule: {
1999
1999
  description: "`starts_at` and `ends_at` timestamps for the [ACS user's](https://docs.seam.co/latest/capability-guides/access-systems/user-management) access.",
@@ -2172,6 +2172,7 @@ export default {
2172
2172
  },
2173
2173
  full_name: {
2174
2174
  description: 'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
2175
+ minLength: 1,
2175
2176
  type: 'string',
2176
2177
  },
2177
2178
  hid_acs_system_id: { format: 'uuid', type: 'string' },
@@ -2786,7 +2787,7 @@ export default {
2786
2787
  nullable: true,
2787
2788
  oneOf: [
2788
2789
  {
2789
- description: 'Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.',
2790
+ description: 'Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
2790
2791
  properties: {
2791
2792
  access_method: {
2792
2793
  description: 'Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.',
@@ -3638,7 +3639,7 @@ export default {
3638
3639
  description: 'If an encoding attempt was successful, includes the `acs_credential` data that was encoded onto the card.',
3639
3640
  oneOf: [
3640
3641
  {
3641
- description: 'Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.',
3642
+ description: 'Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
3642
3643
  properties: {
3643
3644
  access_method: {
3644
3645
  description: 'Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.',
@@ -13724,6 +13725,7 @@ export default {
13724
13725
  },
13725
13726
  full_name: {
13726
13727
  description: 'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
13728
+ minLength: 1,
13727
13729
  type: 'string',
13728
13730
  },
13729
13731
  hid_acs_system_id: { format: 'uuid', type: 'string' },
@@ -19595,6 +19597,7 @@ export default {
19595
19597
  },
19596
19598
  full_name: {
19597
19599
  description: 'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
19600
+ minLength: 1,
19598
19601
  type: 'string',
19599
19602
  },
19600
19603
  hid_acs_system_id: { format: 'uuid', type: 'string' },
@@ -19672,6 +19675,7 @@ export default {
19672
19675
  },
19673
19676
  full_name: {
19674
19677
  description: 'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
19678
+ minLength: 1,
19675
19679
  type: 'string',
19676
19680
  },
19677
19681
  hid_acs_system_id: { format: 'uuid', type: 'string' },
@@ -21436,6 +21440,7 @@ export default {
21436
21440
  'x-fern-sdk-group-name': ['devices', 'simulate'],
21437
21441
  'x-fern-sdk-method-name': 'access_code_lock',
21438
21442
  'x-response-key': null,
21443
+ 'x-undocumented': 'Unreleased.',
21439
21444
  },
21440
21445
  },
21441
21446
  '/devices/simulate/access_code_unlock': {
@@ -21481,6 +21486,7 @@ export default {
21481
21486
  'x-fern-sdk-group-name': ['devices', 'simulate'],
21482
21487
  'x-fern-sdk-method-name': 'access_code_unlock',
21483
21488
  'x-response-key': null,
21489
+ 'x-undocumented': 'Unreleased.',
21484
21490
  },
21485
21491
  },
21486
21492
  '/devices/simulate/connect': {