@seamapi/types 1.245.0 → 1.246.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.
@@ -3425,7 +3425,9 @@ export interface Routes {
3425
3425
  queryParams: {};
3426
3426
  jsonBody: {};
3427
3427
  commonParams: {
3428
+ /** ID of the desired `acs_user`. */
3428
3429
  acs_user_id: string;
3430
+ /** ID of the desired access group. */
3429
3431
  acs_access_group_id: string;
3430
3432
  };
3431
3433
  formData: {};
@@ -3436,9 +3438,13 @@ export interface Routes {
3436
3438
  method: 'POST';
3437
3439
  queryParams: {};
3438
3440
  jsonBody: {
3441
+ /** ID of the `acs_system` to which to add the new `acs_user`. */
3439
3442
  acs_system_id: string;
3443
+ /** Array of `access_group_id`s to indicate the access groups to which to add the new `acs_user`. */
3440
3444
  acs_access_group_ids?: string[];
3445
+ /** ID of the user identity with which to associate the new `acs_user`. */
3441
3446
  user_identity_id?: string | undefined;
3447
+ /** `starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
3442
3448
  access_schedule?: {
3443
3449
  starts_at: string;
3444
3450
  ends_at: string;
@@ -3529,6 +3535,7 @@ export interface Routes {
3529
3535
  queryParams: {};
3530
3536
  jsonBody: {};
3531
3537
  commonParams: {
3538
+ /** ID of the desired `acs_user`. */
3532
3539
  acs_user_id: string;
3533
3540
  };
3534
3541
  formData: {};
@@ -3540,6 +3547,7 @@ export interface Routes {
3540
3547
  queryParams: {};
3541
3548
  jsonBody: {};
3542
3549
  commonParams: {
3550
+ /** ID of the desired `acs_user`. */
3543
3551
  acs_user_id: string;
3544
3552
  };
3545
3553
  formData: {};
@@ -3620,9 +3628,13 @@ export interface Routes {
3620
3628
  queryParams: {};
3621
3629
  jsonBody: {};
3622
3630
  commonParams: {
3631
+ /** ID of the user identity for which you want to retrieve all `acs_user`s. */
3623
3632
  user_identity_id?: string | undefined;
3633
+ /** Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
3624
3634
  user_identity_phone_number?: string | undefined;
3635
+ /** Email address of the user identity for which you want to retrieve all `acs_user`s. */
3625
3636
  user_identity_email_address?: string | undefined;
3637
+ /** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
3626
3638
  acs_system_id?: string | undefined;
3627
3639
  limit?: number;
3628
3640
  created_before?: Date | undefined;
@@ -3705,6 +3717,7 @@ export interface Routes {
3705
3717
  queryParams: {};
3706
3718
  jsonBody: {};
3707
3719
  commonParams: {
3720
+ /** ID of the desired `acs_user`. */
3708
3721
  acs_user_id: string;
3709
3722
  };
3710
3723
  formData: {};
@@ -3741,7 +3754,9 @@ export interface Routes {
3741
3754
  queryParams: {};
3742
3755
  jsonBody: {};
3743
3756
  commonParams: {
3757
+ /** ID of the desired `acs_user`. */
3744
3758
  acs_user_id: string;
3759
+ /** ID of the desired access group. */
3745
3760
  acs_access_group_id: string;
3746
3761
  };
3747
3762
  formData: {};
@@ -3752,6 +3767,7 @@ export interface Routes {
3752
3767
  method: 'POST';
3753
3768
  queryParams: {};
3754
3769
  jsonBody: {
3770
+ /** ID of the desired `acs_user`. */
3755
3771
  acs_user_id: string;
3756
3772
  };
3757
3773
  commonParams: {};
@@ -3764,6 +3780,7 @@ export interface Routes {
3764
3780
  queryParams: {};
3765
3781
  jsonBody: {};
3766
3782
  commonParams: {
3783
+ /** ID of the desired `acs_user`. */
3767
3784
  acs_user_id: string;
3768
3785
  };
3769
3786
  formData: {};
@@ -3939,6 +3956,7 @@ export interface Routes {
3939
3956
  queryParams: {};
3940
3957
  jsonBody: {};
3941
3958
  commonParams: {
3959
+ /** ID of the desired `acs_user`. */
3942
3960
  acs_user_id: string;
3943
3961
  };
3944
3962
  formData: {};
@@ -3949,6 +3967,7 @@ export interface Routes {
3949
3967
  method: 'PATCH' | 'POST';
3950
3968
  queryParams: {};
3951
3969
  jsonBody: {
3970
+ /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
3952
3971
  access_schedule?: ({
3953
3972
  starts_at: string;
3954
3973
  ends_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.245.0",
3
+ "version": "1.246.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.21.4"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.19.0",
95
+ "@seamapi/blueprint": "^0.21.0",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -7533,14 +7533,24 @@ export default {
7533
7533
  },
7534
7534
  '/acs/users/add_to_access_group': {
7535
7535
  post: {
7536
+ description:
7537
+ 'Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
7536
7538
  operationId: 'acsUsersAddToAccessGroupPost',
7537
7539
  requestBody: {
7538
7540
  content: {
7539
7541
  'application/json': {
7540
7542
  schema: {
7541
7543
  properties: {
7542
- acs_access_group_id: { format: 'uuid', type: 'string' },
7543
- acs_user_id: { format: 'uuid', type: 'string' },
7544
+ acs_access_group_id: {
7545
+ description: 'ID of the desired access group.',
7546
+ format: 'uuid',
7547
+ type: 'string',
7548
+ },
7549
+ acs_user_id: {
7550
+ description: 'ID of the desired `acs_user`.',
7551
+ format: 'uuid',
7552
+ type: 'string',
7553
+ },
7544
7554
  },
7545
7555
  required: ['acs_user_id', 'acs_access_group_id'],
7546
7556
  type: 'object',
@@ -7573,16 +7583,27 @@ export default {
7573
7583
  tags: ['/acs'],
7574
7584
  'x-fern-sdk-group-name': ['acs', 'users'],
7575
7585
  'x-fern-sdk-method-name': 'add_to_access_group',
7586
+ 'x-title': 'Add an ACS User to an Access Group',
7576
7587
  },
7577
7588
  put: {
7589
+ description:
7590
+ 'Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
7578
7591
  operationId: 'acsUsersAddToAccessGroupPut',
7579
7592
  requestBody: {
7580
7593
  content: {
7581
7594
  'application/json': {
7582
7595
  schema: {
7583
7596
  properties: {
7584
- acs_access_group_id: { format: 'uuid', type: 'string' },
7585
- acs_user_id: { format: 'uuid', type: 'string' },
7597
+ acs_access_group_id: {
7598
+ description: 'ID of the desired access group.',
7599
+ format: 'uuid',
7600
+ type: 'string',
7601
+ },
7602
+ acs_user_id: {
7603
+ description: 'ID of the desired `acs_user`.',
7604
+ format: 'uuid',
7605
+ type: 'string',
7606
+ },
7586
7607
  },
7587
7608
  required: ['acs_user_id', 'acs_access_group_id'],
7588
7609
  type: 'object',
@@ -7614,10 +7635,13 @@ export default {
7614
7635
  summary: '/acs/users/add_to_access_group',
7615
7636
  tags: ['/acs'],
7616
7637
  'x-fern-ignore': true,
7638
+ 'x-title': 'Add an ACS User to an Access Group',
7617
7639
  },
7618
7640
  },
7619
7641
  '/acs/users/create': {
7620
7642
  post: {
7643
+ description:
7644
+ 'Creates a new [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
7621
7645
  operationId: 'acsUsersCreatePost',
7622
7646
  requestBody: {
7623
7647
  content: {
@@ -7625,6 +7649,8 @@ export default {
7625
7649
  schema: {
7626
7650
  properties: {
7627
7651
  access_schedule: {
7652
+ description:
7653
+ "`starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems.",
7628
7654
  properties: {
7629
7655
  ends_at: { format: 'date-time', type: 'string' },
7630
7656
  starts_at: { format: 'date-time', type: 'string' },
@@ -7634,10 +7660,17 @@ export default {
7634
7660
  },
7635
7661
  acs_access_group_ids: {
7636
7662
  default: [],
7663
+ description:
7664
+ 'Array of `access_group_id`s to indicate the access groups to which to add the new `acs_user`.',
7637
7665
  items: { format: 'uuid', type: 'string' },
7638
7666
  type: 'array',
7639
7667
  },
7640
- acs_system_id: { format: 'uuid', type: 'string' },
7668
+ acs_system_id: {
7669
+ description:
7670
+ 'ID of the `acs_system` to which to add the new `acs_user`.',
7671
+ format: 'uuid',
7672
+ type: 'string',
7673
+ },
7641
7674
  email: {
7642
7675
  deprecated: true,
7643
7676
  format: 'email',
@@ -7647,7 +7680,12 @@ export default {
7647
7680
  email_address: { format: 'email', type: 'string' },
7648
7681
  full_name: { type: 'string' },
7649
7682
  phone_number: { type: 'string' },
7650
- user_identity_id: { format: 'uuid', type: 'string' },
7683
+ user_identity_id: {
7684
+ description:
7685
+ 'ID of the user identity with which to associate the new `acs_user`.',
7686
+ format: 'uuid',
7687
+ type: 'string',
7688
+ },
7651
7689
  },
7652
7690
  required: ['acs_system_id'],
7653
7691
  type: 'object',
@@ -7684,16 +7722,26 @@ export default {
7684
7722
  'x-fern-sdk-group-name': ['acs', 'users'],
7685
7723
  'x-fern-sdk-method-name': 'create',
7686
7724
  'x-fern-sdk-return-value': 'acs_user',
7725
+ 'x-response-key': 'acs_user',
7726
+ 'x-title': 'Create an ACS User',
7687
7727
  },
7688
7728
  },
7689
7729
  '/acs/users/delete': {
7690
7730
  post: {
7731
+ description:
7732
+ "Deletes a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) and invalidates the ACS user's [credentials](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
7691
7733
  operationId: 'acsUsersDeletePost',
7692
7734
  requestBody: {
7693
7735
  content: {
7694
7736
  'application/json': {
7695
7737
  schema: {
7696
- properties: { acs_user_id: { format: 'uuid', type: 'string' } },
7738
+ properties: {
7739
+ acs_user_id: {
7740
+ description: 'ID of the desired `acs_user`.',
7741
+ format: 'uuid',
7742
+ type: 'string',
7743
+ },
7744
+ },
7697
7745
  required: ['acs_user_id'],
7698
7746
  type: 'object',
7699
7747
  },
@@ -7725,16 +7773,25 @@ export default {
7725
7773
  tags: ['/acs'],
7726
7774
  'x-fern-sdk-group-name': ['acs', 'users'],
7727
7775
  'x-fern-sdk-method-name': 'delete',
7776
+ 'x-title': 'Delete an ACS User',
7728
7777
  },
7729
7778
  },
7730
7779
  '/acs/users/get': {
7731
7780
  post: {
7781
+ description:
7782
+ 'Returns a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
7732
7783
  operationId: 'acsUsersGetPost',
7733
7784
  requestBody: {
7734
7785
  content: {
7735
7786
  'application/json': {
7736
7787
  schema: {
7737
- properties: { acs_user_id: { format: 'uuid', type: 'string' } },
7788
+ properties: {
7789
+ acs_user_id: {
7790
+ description: 'ID of the desired `acs_user`.',
7791
+ format: 'uuid',
7792
+ type: 'string',
7793
+ },
7794
+ },
7738
7795
  required: ['acs_user_id'],
7739
7796
  type: 'object',
7740
7797
  },
@@ -7770,22 +7827,44 @@ export default {
7770
7827
  'x-fern-sdk-group-name': ['acs', 'users'],
7771
7828
  'x-fern-sdk-method-name': 'get',
7772
7829
  'x-fern-sdk-return-value': 'acs_user',
7830
+ 'x-response-key': 'acs_user',
7831
+ 'x-title': 'Get an ACS User',
7773
7832
  },
7774
7833
  },
7775
7834
  '/acs/users/list': {
7776
7835
  post: {
7836
+ description:
7837
+ 'Returns a list of all [ACS users](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
7777
7838
  operationId: 'acsUsersListPost',
7778
7839
  requestBody: {
7779
7840
  content: {
7780
7841
  'application/json': {
7781
7842
  schema: {
7782
7843
  properties: {
7783
- acs_system_id: { format: 'uuid', type: 'string' },
7844
+ acs_system_id: {
7845
+ description:
7846
+ 'ID of the `acs_system` for which you want to retrieve all `acs_user`s.',
7847
+ format: 'uuid',
7848
+ type: 'string',
7849
+ },
7784
7850
  created_before: { format: 'date-time', type: 'string' },
7785
7851
  limit: { default: 500, format: 'float', type: 'number' },
7786
- user_identity_email_address: { type: 'string' },
7787
- user_identity_id: { format: 'uuid', type: 'string' },
7788
- user_identity_phone_number: { type: 'string' },
7852
+ user_identity_email_address: {
7853
+ description:
7854
+ 'Email address of the user identity for which you want to retrieve all `acs_user`s.',
7855
+ type: 'string',
7856
+ },
7857
+ user_identity_id: {
7858
+ description:
7859
+ 'ID of the user identity for which you want to retrieve all `acs_user`s.',
7860
+ format: 'uuid',
7861
+ type: 'string',
7862
+ },
7863
+ user_identity_phone_number: {
7864
+ description:
7865
+ 'Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`).',
7866
+ type: 'string',
7867
+ },
7789
7868
  },
7790
7869
  type: 'object',
7791
7870
  },
@@ -7825,16 +7904,26 @@ export default {
7825
7904
  'x-fern-sdk-group-name': ['acs', 'users'],
7826
7905
  'x-fern-sdk-method-name': 'list',
7827
7906
  'x-fern-sdk-return-value': 'acs_users',
7907
+ 'x-response-key': 'acs_users',
7908
+ 'x-title': 'List ACS Users',
7828
7909
  },
7829
7910
  },
7830
7911
  '/acs/users/list_accessible_entrances': {
7831
7912
  post: {
7913
+ description:
7914
+ 'Lists the [entrances](https://docs.seam.co/latest/api/acs/entrances) to which a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) has access.',
7832
7915
  operationId: 'acsUsersListAccessibleEntrancesPost',
7833
7916
  requestBody: {
7834
7917
  content: {
7835
7918
  'application/json': {
7836
7919
  schema: {
7837
- properties: { acs_user_id: { format: 'uuid', type: 'string' } },
7920
+ properties: {
7921
+ acs_user_id: {
7922
+ description: 'ID of the desired `acs_user`.',
7923
+ format: 'uuid',
7924
+ type: 'string',
7925
+ },
7926
+ },
7838
7927
  required: ['acs_user_id'],
7839
7928
  type: 'object',
7840
7929
  },
@@ -7874,18 +7963,30 @@ export default {
7874
7963
  'x-fern-sdk-group-name': ['acs', 'users'],
7875
7964
  'x-fern-sdk-method-name': 'list_accessible_entrances',
7876
7965
  'x-fern-sdk-return-value': 'acs_entrances',
7966
+ 'x-response-key': 'acs_entrances',
7967
+ 'x-title': 'List ACS User-Accessible Entrances',
7877
7968
  },
7878
7969
  },
7879
7970
  '/acs/users/remove_from_access_group': {
7880
7971
  post: {
7972
+ description:
7973
+ 'Removes a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) from a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
7881
7974
  operationId: 'acsUsersRemoveFromAccessGroupPost',
7882
7975
  requestBody: {
7883
7976
  content: {
7884
7977
  'application/json': {
7885
7978
  schema: {
7886
7979
  properties: {
7887
- acs_access_group_id: { format: 'uuid', type: 'string' },
7888
- acs_user_id: { format: 'uuid', type: 'string' },
7980
+ acs_access_group_id: {
7981
+ description: 'ID of the desired access group.',
7982
+ format: 'uuid',
7983
+ type: 'string',
7984
+ },
7985
+ acs_user_id: {
7986
+ description: 'ID of the desired `acs_user`.',
7987
+ format: 'uuid',
7988
+ type: 'string',
7989
+ },
7889
7990
  },
7890
7991
  required: ['acs_user_id', 'acs_access_group_id'],
7891
7992
  type: 'object',
@@ -7918,16 +8019,25 @@ export default {
7918
8019
  tags: ['/acs'],
7919
8020
  'x-fern-sdk-group-name': ['acs', 'users'],
7920
8021
  'x-fern-sdk-method-name': 'remove_from_access_group',
8022
+ 'x-title': 'Remove an ACS User from an Access Group',
7921
8023
  },
7922
8024
  },
7923
8025
  '/acs/users/revoke_access_to_all_entrances': {
7924
8026
  post: {
8027
+ description:
8028
+ 'Revokes access to all [entrances](https://docs.seam.co/latest/api/acs/entrances) for a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
7925
8029
  operationId: 'acsUsersRevokeAccessToAllEntrancesPost',
7926
8030
  requestBody: {
7927
8031
  content: {
7928
8032
  'application/json': {
7929
8033
  schema: {
7930
- properties: { acs_user_id: { format: 'uuid', type: 'string' } },
8034
+ properties: {
8035
+ acs_user_id: {
8036
+ description: 'ID of the desired `acs_user`.',
8037
+ format: 'uuid',
8038
+ type: 'string',
8039
+ },
8040
+ },
7931
8041
  required: ['acs_user_id'],
7932
8042
  type: 'object',
7933
8043
  },
@@ -7959,16 +8069,25 @@ export default {
7959
8069
  tags: ['/acs'],
7960
8070
  'x-fern-sdk-group-name': ['acs', 'users'],
7961
8071
  'x-fern-sdk-method-name': 'revoke_access_to_all_entrances',
8072
+ 'x-title': 'Revoke ACS User Access to All Entrances',
7962
8073
  },
7963
8074
  },
7964
8075
  '/acs/users/suspend': {
7965
8076
  post: {
8077
+ description:
8078
+ "[Suspends](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users#suspend-an-acs-user) a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Suspending an ACS user revokes their access temporarily. To restore an ACS user's access, you can [unsuspend](https://docs.seam.co/latest/api/acs/users/unsuspend) them.",
7966
8079
  operationId: 'acsUsersSuspendPost',
7967
8080
  requestBody: {
7968
8081
  content: {
7969
8082
  'application/json': {
7970
8083
  schema: {
7971
- properties: { acs_user_id: { format: 'uuid', type: 'string' } },
8084
+ properties: {
8085
+ acs_user_id: {
8086
+ description: 'ID of the desired `acs_user`.',
8087
+ format: 'uuid',
8088
+ type: 'string',
8089
+ },
8090
+ },
7972
8091
  required: ['acs_user_id'],
7973
8092
  type: 'object',
7974
8093
  },
@@ -8000,6 +8119,7 @@ export default {
8000
8119
  tags: ['/acs'],
8001
8120
  'x-fern-sdk-group-name': ['acs', 'users'],
8002
8121
  'x-fern-sdk-method-name': 'suspend',
8122
+ 'x-title': 'Suspend an ACS User',
8003
8123
  },
8004
8124
  },
8005
8125
  '/acs/users/unmanaged/get': {
@@ -8308,6 +8428,7 @@ export default {
8308
8428
  'x-fern-sdk-group-name': ['acs', 'users', 'unmanaged'],
8309
8429
  'x-fern-sdk-method-name': 'get',
8310
8430
  'x-fern-sdk-return-value': 'acs_user',
8431
+ 'x-undocumented': 'No unmanaged users are currently implemented.',
8311
8432
  },
8312
8433
  },
8313
8434
  '/acs/users/unmanaged/list': {
@@ -8624,16 +8745,25 @@ export default {
8624
8745
  'x-fern-sdk-group-name': ['acs', 'users', 'unmanaged'],
8625
8746
  'x-fern-sdk-method-name': 'list',
8626
8747
  'x-fern-sdk-return-value': 'acs_users',
8748
+ 'x-undocumented': 'No unmanaged users are currently implemented.',
8627
8749
  },
8628
8750
  },
8629
8751
  '/acs/users/unsuspend': {
8630
8752
  post: {
8753
+ description:
8754
+ '[Unsuspends](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users#unsuspend-an-acs-user) a specified suspended [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). While [suspending an ACS user](https://docs.seam.co/latest/api/acs/users/suspend) revokes their access temporarily, unsuspending the ACS user restores their access.',
8631
8755
  operationId: 'acsUsersUnsuspendPost',
8632
8756
  requestBody: {
8633
8757
  content: {
8634
8758
  'application/json': {
8635
8759
  schema: {
8636
- properties: { acs_user_id: { format: 'uuid', type: 'string' } },
8760
+ properties: {
8761
+ acs_user_id: {
8762
+ description: 'ID of the desired `acs_user`.',
8763
+ format: 'uuid',
8764
+ type: 'string',
8765
+ },
8766
+ },
8637
8767
  required: ['acs_user_id'],
8638
8768
  type: 'object',
8639
8769
  },
@@ -8665,10 +8795,13 @@ export default {
8665
8795
  tags: ['/acs'],
8666
8796
  'x-fern-sdk-group-name': ['acs', 'users'],
8667
8797
  'x-fern-sdk-method-name': 'unsuspend',
8798
+ 'x-title': 'Unsuspend an ACS User',
8668
8799
  },
8669
8800
  },
8670
8801
  '/acs/users/update': {
8671
8802
  patch: {
8803
+ description:
8804
+ 'Updates the properties of a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
8672
8805
  operationId: 'acsUsersUpdatePatch',
8673
8806
  requestBody: {
8674
8807
  content: {
@@ -8676,6 +8809,8 @@ export default {
8676
8809
  schema: {
8677
8810
  properties: {
8678
8811
  access_schedule: {
8812
+ description:
8813
+ "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems.",
8679
8814
  nullable: true,
8680
8815
  properties: {
8681
8816
  ends_at: { format: 'date-time', type: 'string' },
@@ -8726,8 +8861,11 @@ export default {
8726
8861
  summary: '/acs/users/update',
8727
8862
  tags: ['/acs'],
8728
8863
  'x-fern-ignore': true,
8864
+ 'x-title': 'Update an ACS User',
8729
8865
  },
8730
8866
  post: {
8867
+ description:
8868
+ 'Updates the properties of a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
8731
8869
  operationId: 'acsUsersUpdatePost',
8732
8870
  requestBody: {
8733
8871
  content: {
@@ -8735,6 +8873,8 @@ export default {
8735
8873
  schema: {
8736
8874
  properties: {
8737
8875
  access_schedule: {
8876
+ description:
8877
+ "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems.",
8738
8878
  nullable: true,
8739
8879
  properties: {
8740
8880
  ends_at: { format: 'date-time', type: 'string' },
@@ -8786,6 +8926,7 @@ export default {
8786
8926
  tags: ['/acs'],
8787
8927
  'x-fern-sdk-group-name': ['acs', 'users'],
8788
8928
  'x-fern-sdk-method-name': 'update',
8929
+ 'x-title': 'Update an ACS User',
8789
8930
  },
8790
8931
  },
8791
8932
  '/action_attempts/get': {
@@ -3937,7 +3937,9 @@ export interface Routes {
3937
3937
  queryParams: {}
3938
3938
  jsonBody: {}
3939
3939
  commonParams: {
3940
+ /** ID of the desired `acs_user`. */
3940
3941
  acs_user_id: string
3942
+ /** ID of the desired access group. */
3941
3943
  acs_access_group_id: string
3942
3944
  }
3943
3945
  formData: {}
@@ -3948,9 +3950,13 @@ export interface Routes {
3948
3950
  method: 'POST'
3949
3951
  queryParams: {}
3950
3952
  jsonBody: {
3953
+ /** ID of the `acs_system` to which to add the new `acs_user`. */
3951
3954
  acs_system_id: string
3955
+ /** Array of `access_group_id`s to indicate the access groups to which to add the new `acs_user`. */
3952
3956
  acs_access_group_ids?: string[]
3957
+ /** ID of the user identity with which to associate the new `acs_user`. */
3953
3958
  user_identity_id?: string | undefined
3959
+ /** `starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
3954
3960
  access_schedule?:
3955
3961
  | {
3956
3962
  starts_at: string
@@ -4062,6 +4068,7 @@ export interface Routes {
4062
4068
  queryParams: {}
4063
4069
  jsonBody: {}
4064
4070
  commonParams: {
4071
+ /** ID of the desired `acs_user`. */
4065
4072
  acs_user_id: string
4066
4073
  }
4067
4074
  formData: {}
@@ -4073,6 +4080,7 @@ export interface Routes {
4073
4080
  queryParams: {}
4074
4081
  jsonBody: {}
4075
4082
  commonParams: {
4083
+ /** ID of the desired `acs_user`. */
4076
4084
  acs_user_id: string
4077
4085
  }
4078
4086
  formData: {}
@@ -4172,9 +4180,13 @@ export interface Routes {
4172
4180
  queryParams: {}
4173
4181
  jsonBody: {}
4174
4182
  commonParams: {
4183
+ /** ID of the user identity for which you want to retrieve all `acs_user`s. */
4175
4184
  user_identity_id?: string | undefined
4185
+ /** Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
4176
4186
  user_identity_phone_number?: string | undefined
4187
+ /** Email address of the user identity for which you want to retrieve all `acs_user`s. */
4177
4188
  user_identity_email_address?: string | undefined
4189
+ /** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
4178
4190
  acs_system_id?: string | undefined
4179
4191
  limit?: number
4180
4192
  created_before?: Date | undefined
@@ -4276,6 +4288,7 @@ export interface Routes {
4276
4288
  queryParams: {}
4277
4289
  jsonBody: {}
4278
4290
  commonParams: {
4291
+ /** ID of the desired `acs_user`. */
4279
4292
  acs_user_id: string
4280
4293
  }
4281
4294
  formData: {}
@@ -4323,7 +4336,9 @@ export interface Routes {
4323
4336
  queryParams: {}
4324
4337
  jsonBody: {}
4325
4338
  commonParams: {
4339
+ /** ID of the desired `acs_user`. */
4326
4340
  acs_user_id: string
4341
+ /** ID of the desired access group. */
4327
4342
  acs_access_group_id: string
4328
4343
  }
4329
4344
  formData: {}
@@ -4334,6 +4349,7 @@ export interface Routes {
4334
4349
  method: 'POST'
4335
4350
  queryParams: {}
4336
4351
  jsonBody: {
4352
+ /** ID of the desired `acs_user`. */
4337
4353
  acs_user_id: string
4338
4354
  }
4339
4355
  commonParams: {}
@@ -4346,6 +4362,7 @@ export interface Routes {
4346
4362
  queryParams: {}
4347
4363
  jsonBody: {}
4348
4364
  commonParams: {
4365
+ /** ID of the desired `acs_user`. */
4349
4366
  acs_user_id: string
4350
4367
  }
4351
4368
  formData: {}
@@ -4559,6 +4576,7 @@ export interface Routes {
4559
4576
  queryParams: {}
4560
4577
  jsonBody: {}
4561
4578
  commonParams: {
4579
+ /** ID of the desired `acs_user`. */
4562
4580
  acs_user_id: string
4563
4581
  }
4564
4582
  formData: {}
@@ -4569,6 +4587,7 @@ export interface Routes {
4569
4587
  method: 'PATCH' | 'POST'
4570
4588
  queryParams: {}
4571
4589
  jsonBody: {
4590
+ /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
4572
4591
  access_schedule?:
4573
4592
  | ({
4574
4593
  starts_at: string