@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.
package/dist/connect.cjs CHANGED
@@ -9761,14 +9761,23 @@ var openapi_default = {
9761
9761
  },
9762
9762
  "/acs/users/add_to_access_group": {
9763
9763
  post: {
9764
+ description: "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).",
9764
9765
  operationId: "acsUsersAddToAccessGroupPost",
9765
9766
  requestBody: {
9766
9767
  content: {
9767
9768
  "application/json": {
9768
9769
  schema: {
9769
9770
  properties: {
9770
- acs_access_group_id: { format: "uuid", type: "string" },
9771
- acs_user_id: { format: "uuid", type: "string" }
9771
+ acs_access_group_id: {
9772
+ description: "ID of the desired access group.",
9773
+ format: "uuid",
9774
+ type: "string"
9775
+ },
9776
+ acs_user_id: {
9777
+ description: "ID of the desired `acs_user`.",
9778
+ format: "uuid",
9779
+ type: "string"
9780
+ }
9772
9781
  },
9773
9782
  required: ["acs_user_id", "acs_access_group_id"],
9774
9783
  type: "object"
@@ -9800,17 +9809,27 @@ var openapi_default = {
9800
9809
  summary: "/acs/users/add_to_access_group",
9801
9810
  tags: ["/acs"],
9802
9811
  "x-fern-sdk-group-name": ["acs", "users"],
9803
- "x-fern-sdk-method-name": "add_to_access_group"
9812
+ "x-fern-sdk-method-name": "add_to_access_group",
9813
+ "x-title": "Add an ACS User to an Access Group"
9804
9814
  },
9805
9815
  put: {
9816
+ description: "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).",
9806
9817
  operationId: "acsUsersAddToAccessGroupPut",
9807
9818
  requestBody: {
9808
9819
  content: {
9809
9820
  "application/json": {
9810
9821
  schema: {
9811
9822
  properties: {
9812
- acs_access_group_id: { format: "uuid", type: "string" },
9813
- acs_user_id: { format: "uuid", type: "string" }
9823
+ acs_access_group_id: {
9824
+ description: "ID of the desired access group.",
9825
+ format: "uuid",
9826
+ type: "string"
9827
+ },
9828
+ acs_user_id: {
9829
+ description: "ID of the desired `acs_user`.",
9830
+ format: "uuid",
9831
+ type: "string"
9832
+ }
9814
9833
  },
9815
9834
  required: ["acs_user_id", "acs_access_group_id"],
9816
9835
  type: "object"
@@ -9841,11 +9860,13 @@ var openapi_default = {
9841
9860
  ],
9842
9861
  summary: "/acs/users/add_to_access_group",
9843
9862
  tags: ["/acs"],
9844
- "x-fern-ignore": true
9863
+ "x-fern-ignore": true,
9864
+ "x-title": "Add an ACS User to an Access Group"
9845
9865
  }
9846
9866
  },
9847
9867
  "/acs/users/create": {
9848
9868
  post: {
9869
+ description: "Creates a new [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
9849
9870
  operationId: "acsUsersCreatePost",
9850
9871
  requestBody: {
9851
9872
  content: {
@@ -9853,6 +9874,7 @@ var openapi_default = {
9853
9874
  schema: {
9854
9875
  properties: {
9855
9876
  access_schedule: {
9877
+ description: "`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.",
9856
9878
  properties: {
9857
9879
  ends_at: { format: "date-time", type: "string" },
9858
9880
  starts_at: { format: "date-time", type: "string" }
@@ -9862,10 +9884,15 @@ var openapi_default = {
9862
9884
  },
9863
9885
  acs_access_group_ids: {
9864
9886
  default: [],
9887
+ description: "Array of `access_group_id`s to indicate the access groups to which to add the new `acs_user`.",
9865
9888
  items: { format: "uuid", type: "string" },
9866
9889
  type: "array"
9867
9890
  },
9868
- acs_system_id: { format: "uuid", type: "string" },
9891
+ acs_system_id: {
9892
+ description: "ID of the `acs_system` to which to add the new `acs_user`.",
9893
+ format: "uuid",
9894
+ type: "string"
9895
+ },
9869
9896
  email: {
9870
9897
  deprecated: true,
9871
9898
  format: "email",
@@ -9875,7 +9902,11 @@ var openapi_default = {
9875
9902
  email_address: { format: "email", type: "string" },
9876
9903
  full_name: { type: "string" },
9877
9904
  phone_number: { type: "string" },
9878
- user_identity_id: { format: "uuid", type: "string" }
9905
+ user_identity_id: {
9906
+ description: "ID of the user identity with which to associate the new `acs_user`.",
9907
+ format: "uuid",
9908
+ type: "string"
9909
+ }
9879
9910
  },
9880
9911
  required: ["acs_system_id"],
9881
9912
  type: "object"
@@ -9911,17 +9942,26 @@ var openapi_default = {
9911
9942
  tags: ["/acs"],
9912
9943
  "x-fern-sdk-group-name": ["acs", "users"],
9913
9944
  "x-fern-sdk-method-name": "create",
9914
- "x-fern-sdk-return-value": "acs_user"
9945
+ "x-fern-sdk-return-value": "acs_user",
9946
+ "x-response-key": "acs_user",
9947
+ "x-title": "Create an ACS User"
9915
9948
  }
9916
9949
  },
9917
9950
  "/acs/users/delete": {
9918
9951
  post: {
9952
+ description: "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).",
9919
9953
  operationId: "acsUsersDeletePost",
9920
9954
  requestBody: {
9921
9955
  content: {
9922
9956
  "application/json": {
9923
9957
  schema: {
9924
- properties: { acs_user_id: { format: "uuid", type: "string" } },
9958
+ properties: {
9959
+ acs_user_id: {
9960
+ description: "ID of the desired `acs_user`.",
9961
+ format: "uuid",
9962
+ type: "string"
9963
+ }
9964
+ },
9925
9965
  required: ["acs_user_id"],
9926
9966
  type: "object"
9927
9967
  }
@@ -9952,17 +9992,25 @@ var openapi_default = {
9952
9992
  summary: "/acs/users/delete",
9953
9993
  tags: ["/acs"],
9954
9994
  "x-fern-sdk-group-name": ["acs", "users"],
9955
- "x-fern-sdk-method-name": "delete"
9995
+ "x-fern-sdk-method-name": "delete",
9996
+ "x-title": "Delete an ACS User"
9956
9997
  }
9957
9998
  },
9958
9999
  "/acs/users/get": {
9959
10000
  post: {
10001
+ description: "Returns a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
9960
10002
  operationId: "acsUsersGetPost",
9961
10003
  requestBody: {
9962
10004
  content: {
9963
10005
  "application/json": {
9964
10006
  schema: {
9965
- properties: { acs_user_id: { format: "uuid", type: "string" } },
10007
+ properties: {
10008
+ acs_user_id: {
10009
+ description: "ID of the desired `acs_user`.",
10010
+ format: "uuid",
10011
+ type: "string"
10012
+ }
10013
+ },
9966
10014
  required: ["acs_user_id"],
9967
10015
  type: "object"
9968
10016
  }
@@ -9997,23 +10045,40 @@ var openapi_default = {
9997
10045
  tags: ["/acs"],
9998
10046
  "x-fern-sdk-group-name": ["acs", "users"],
9999
10047
  "x-fern-sdk-method-name": "get",
10000
- "x-fern-sdk-return-value": "acs_user"
10048
+ "x-fern-sdk-return-value": "acs_user",
10049
+ "x-response-key": "acs_user",
10050
+ "x-title": "Get an ACS User"
10001
10051
  }
10002
10052
  },
10003
10053
  "/acs/users/list": {
10004
10054
  post: {
10055
+ description: "Returns a list of all [ACS users](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
10005
10056
  operationId: "acsUsersListPost",
10006
10057
  requestBody: {
10007
10058
  content: {
10008
10059
  "application/json": {
10009
10060
  schema: {
10010
10061
  properties: {
10011
- acs_system_id: { format: "uuid", type: "string" },
10062
+ acs_system_id: {
10063
+ description: "ID of the `acs_system` for which you want to retrieve all `acs_user`s.",
10064
+ format: "uuid",
10065
+ type: "string"
10066
+ },
10012
10067
  created_before: { format: "date-time", type: "string" },
10013
10068
  limit: { default: 500, format: "float", type: "number" },
10014
- user_identity_email_address: { type: "string" },
10015
- user_identity_id: { format: "uuid", type: "string" },
10016
- user_identity_phone_number: { type: "string" }
10069
+ user_identity_email_address: {
10070
+ description: "Email address of the user identity for which you want to retrieve all `acs_user`s.",
10071
+ type: "string"
10072
+ },
10073
+ user_identity_id: {
10074
+ description: "ID of the user identity for which you want to retrieve all `acs_user`s.",
10075
+ format: "uuid",
10076
+ type: "string"
10077
+ },
10078
+ user_identity_phone_number: {
10079
+ description: "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`).",
10080
+ type: "string"
10081
+ }
10017
10082
  },
10018
10083
  type: "object"
10019
10084
  }
@@ -10052,17 +10117,26 @@ var openapi_default = {
10052
10117
  tags: ["/acs"],
10053
10118
  "x-fern-sdk-group-name": ["acs", "users"],
10054
10119
  "x-fern-sdk-method-name": "list",
10055
- "x-fern-sdk-return-value": "acs_users"
10120
+ "x-fern-sdk-return-value": "acs_users",
10121
+ "x-response-key": "acs_users",
10122
+ "x-title": "List ACS Users"
10056
10123
  }
10057
10124
  },
10058
10125
  "/acs/users/list_accessible_entrances": {
10059
10126
  post: {
10127
+ description: "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.",
10060
10128
  operationId: "acsUsersListAccessibleEntrancesPost",
10061
10129
  requestBody: {
10062
10130
  content: {
10063
10131
  "application/json": {
10064
10132
  schema: {
10065
- properties: { acs_user_id: { format: "uuid", type: "string" } },
10133
+ properties: {
10134
+ acs_user_id: {
10135
+ description: "ID of the desired `acs_user`.",
10136
+ format: "uuid",
10137
+ type: "string"
10138
+ }
10139
+ },
10066
10140
  required: ["acs_user_id"],
10067
10141
  type: "object"
10068
10142
  }
@@ -10101,19 +10175,30 @@ var openapi_default = {
10101
10175
  tags: ["/acs"],
10102
10176
  "x-fern-sdk-group-name": ["acs", "users"],
10103
10177
  "x-fern-sdk-method-name": "list_accessible_entrances",
10104
- "x-fern-sdk-return-value": "acs_entrances"
10178
+ "x-fern-sdk-return-value": "acs_entrances",
10179
+ "x-response-key": "acs_entrances",
10180
+ "x-title": "List ACS User-Accessible Entrances"
10105
10181
  }
10106
10182
  },
10107
10183
  "/acs/users/remove_from_access_group": {
10108
10184
  post: {
10185
+ description: "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).",
10109
10186
  operationId: "acsUsersRemoveFromAccessGroupPost",
10110
10187
  requestBody: {
10111
10188
  content: {
10112
10189
  "application/json": {
10113
10190
  schema: {
10114
10191
  properties: {
10115
- acs_access_group_id: { format: "uuid", type: "string" },
10116
- acs_user_id: { format: "uuid", type: "string" }
10192
+ acs_access_group_id: {
10193
+ description: "ID of the desired access group.",
10194
+ format: "uuid",
10195
+ type: "string"
10196
+ },
10197
+ acs_user_id: {
10198
+ description: "ID of the desired `acs_user`.",
10199
+ format: "uuid",
10200
+ type: "string"
10201
+ }
10117
10202
  },
10118
10203
  required: ["acs_user_id", "acs_access_group_id"],
10119
10204
  type: "object"
@@ -10145,17 +10230,25 @@ var openapi_default = {
10145
10230
  summary: "/acs/users/remove_from_access_group",
10146
10231
  tags: ["/acs"],
10147
10232
  "x-fern-sdk-group-name": ["acs", "users"],
10148
- "x-fern-sdk-method-name": "remove_from_access_group"
10233
+ "x-fern-sdk-method-name": "remove_from_access_group",
10234
+ "x-title": "Remove an ACS User from an Access Group"
10149
10235
  }
10150
10236
  },
10151
10237
  "/acs/users/revoke_access_to_all_entrances": {
10152
10238
  post: {
10239
+ description: "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).",
10153
10240
  operationId: "acsUsersRevokeAccessToAllEntrancesPost",
10154
10241
  requestBody: {
10155
10242
  content: {
10156
10243
  "application/json": {
10157
10244
  schema: {
10158
- properties: { acs_user_id: { format: "uuid", type: "string" } },
10245
+ properties: {
10246
+ acs_user_id: {
10247
+ description: "ID of the desired `acs_user`.",
10248
+ format: "uuid",
10249
+ type: "string"
10250
+ }
10251
+ },
10159
10252
  required: ["acs_user_id"],
10160
10253
  type: "object"
10161
10254
  }
@@ -10186,17 +10279,25 @@ var openapi_default = {
10186
10279
  summary: "/acs/users/revoke_access_to_all_entrances",
10187
10280
  tags: ["/acs"],
10188
10281
  "x-fern-sdk-group-name": ["acs", "users"],
10189
- "x-fern-sdk-method-name": "revoke_access_to_all_entrances"
10282
+ "x-fern-sdk-method-name": "revoke_access_to_all_entrances",
10283
+ "x-title": "Revoke ACS User Access to All Entrances"
10190
10284
  }
10191
10285
  },
10192
10286
  "/acs/users/suspend": {
10193
10287
  post: {
10288
+ description: "[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.",
10194
10289
  operationId: "acsUsersSuspendPost",
10195
10290
  requestBody: {
10196
10291
  content: {
10197
10292
  "application/json": {
10198
10293
  schema: {
10199
- properties: { acs_user_id: { format: "uuid", type: "string" } },
10294
+ properties: {
10295
+ acs_user_id: {
10296
+ description: "ID of the desired `acs_user`.",
10297
+ format: "uuid",
10298
+ type: "string"
10299
+ }
10300
+ },
10200
10301
  required: ["acs_user_id"],
10201
10302
  type: "object"
10202
10303
  }
@@ -10227,7 +10328,8 @@ var openapi_default = {
10227
10328
  summary: "/acs/users/suspend",
10228
10329
  tags: ["/acs"],
10229
10330
  "x-fern-sdk-group-name": ["acs", "users"],
10230
- "x-fern-sdk-method-name": "suspend"
10331
+ "x-fern-sdk-method-name": "suspend",
10332
+ "x-title": "Suspend an ACS User"
10231
10333
  }
10232
10334
  },
10233
10335
  "/acs/users/unmanaged/get": {
@@ -10516,7 +10618,8 @@ var openapi_default = {
10516
10618
  tags: ["/acs"],
10517
10619
  "x-fern-sdk-group-name": ["acs", "users", "unmanaged"],
10518
10620
  "x-fern-sdk-method-name": "get",
10519
- "x-fern-sdk-return-value": "acs_user"
10621
+ "x-fern-sdk-return-value": "acs_user",
10622
+ "x-undocumented": "No unmanaged users are currently implemented."
10520
10623
  }
10521
10624
  },
10522
10625
  "/acs/users/unmanaged/list": {
@@ -10813,17 +10916,25 @@ var openapi_default = {
10813
10916
  tags: ["/acs"],
10814
10917
  "x-fern-sdk-group-name": ["acs", "users", "unmanaged"],
10815
10918
  "x-fern-sdk-method-name": "list",
10816
- "x-fern-sdk-return-value": "acs_users"
10919
+ "x-fern-sdk-return-value": "acs_users",
10920
+ "x-undocumented": "No unmanaged users are currently implemented."
10817
10921
  }
10818
10922
  },
10819
10923
  "/acs/users/unsuspend": {
10820
10924
  post: {
10925
+ description: "[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.",
10821
10926
  operationId: "acsUsersUnsuspendPost",
10822
10927
  requestBody: {
10823
10928
  content: {
10824
10929
  "application/json": {
10825
10930
  schema: {
10826
- properties: { acs_user_id: { format: "uuid", type: "string" } },
10931
+ properties: {
10932
+ acs_user_id: {
10933
+ description: "ID of the desired `acs_user`.",
10934
+ format: "uuid",
10935
+ type: "string"
10936
+ }
10937
+ },
10827
10938
  required: ["acs_user_id"],
10828
10939
  type: "object"
10829
10940
  }
@@ -10854,11 +10965,13 @@ var openapi_default = {
10854
10965
  summary: "/acs/users/unsuspend",
10855
10966
  tags: ["/acs"],
10856
10967
  "x-fern-sdk-group-name": ["acs", "users"],
10857
- "x-fern-sdk-method-name": "unsuspend"
10968
+ "x-fern-sdk-method-name": "unsuspend",
10969
+ "x-title": "Unsuspend an ACS User"
10858
10970
  }
10859
10971
  },
10860
10972
  "/acs/users/update": {
10861
10973
  patch: {
10974
+ description: "Updates the properties of a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
10862
10975
  operationId: "acsUsersUpdatePatch",
10863
10976
  requestBody: {
10864
10977
  content: {
@@ -10866,6 +10979,7 @@ var openapi_default = {
10866
10979
  schema: {
10867
10980
  properties: {
10868
10981
  access_schedule: {
10982
+ description: "`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.",
10869
10983
  nullable: true,
10870
10984
  properties: {
10871
10985
  ends_at: { format: "date-time", type: "string" },
@@ -10915,9 +11029,11 @@ var openapi_default = {
10915
11029
  ],
10916
11030
  summary: "/acs/users/update",
10917
11031
  tags: ["/acs"],
10918
- "x-fern-ignore": true
11032
+ "x-fern-ignore": true,
11033
+ "x-title": "Update an ACS User"
10919
11034
  },
10920
11035
  post: {
11036
+ description: "Updates the properties of a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
10921
11037
  operationId: "acsUsersUpdatePost",
10922
11038
  requestBody: {
10923
11039
  content: {
@@ -10925,6 +11041,7 @@ var openapi_default = {
10925
11041
  schema: {
10926
11042
  properties: {
10927
11043
  access_schedule: {
11044
+ description: "`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.",
10928
11045
  nullable: true,
10929
11046
  properties: {
10930
11047
  ends_at: { format: "date-time", type: "string" },
@@ -10975,7 +11092,8 @@ var openapi_default = {
10975
11092
  summary: "/acs/users/update",
10976
11093
  tags: ["/acs"],
10977
11094
  "x-fern-sdk-group-name": ["acs", "users"],
10978
- "x-fern-sdk-method-name": "update"
11095
+ "x-fern-sdk-method-name": "update",
11096
+ "x-title": "Update an ACS User"
10979
11097
  }
10980
11098
  },
10981
11099
  "/action_attempts/get": {