@seamapi/types 1.445.0 → 1.445.1
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 +65 -65
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +97 -97
- package/dist/index.cjs +65 -65
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.js +12 -12
- package/lib/seam/connect/models/access-grants/access-method.js +1 -1
- package/lib/seam/connect/models/access-grants/requested-access-method.js +1 -1
- package/lib/seam/connect/models/events/access-grants.js +6 -6
- package/lib/seam/connect/models/events/access-methods.js +1 -1
- package/lib/seam/connect/openapi.js +58 -58
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +97 -97
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +12 -12
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -1
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +1 -1
- package/src/lib/seam/connect/models/events/access-grants.ts +6 -6
- package/src/lib/seam/connect/models/events/access-methods.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +61 -58
- package/src/lib/seam/connect/route-types.ts +97 -97
|
@@ -11188,41 +11188,41 @@ export interface Routes {
|
|
|
11188
11188
|
}
|
|
11189
11189
|
formData: {}
|
|
11190
11190
|
jsonResponse: {
|
|
11191
|
-
/** Represents an
|
|
11191
|
+
/** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
|
|
11192
11192
|
access_grant: {
|
|
11193
|
-
/** ID of the Seam workspace associated with the
|
|
11193
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
11194
11194
|
workspace_id: string
|
|
11195
|
-
/** ID of the
|
|
11195
|
+
/** ID of the Access Grant. */
|
|
11196
11196
|
access_grant_id: string
|
|
11197
|
-
/** ID of user identity to which the
|
|
11197
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
11198
11198
|
user_identity_id: string
|
|
11199
11199
|
/**
|
|
11200
11200
|
* @deprecated Use `space_ids`. */
|
|
11201
11201
|
location_ids: string[]
|
|
11202
|
-
/** IDs of the spaces to which the
|
|
11202
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
11203
11203
|
space_ids: string[]
|
|
11204
|
-
/** Access methods that the user requested for the
|
|
11204
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
11205
11205
|
requested_access_methods: Array<{
|
|
11206
11206
|
/** Display name of the access method. */
|
|
11207
11207
|
display_name: string
|
|
11208
11208
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
11209
11209
|
mode: 'code' | 'card' | 'mobile_key'
|
|
11210
|
-
/** Date and time at which the requested access method was added to the
|
|
11210
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
11211
11211
|
created_at: string
|
|
11212
11212
|
/** IDs of the access methods created for the requested access method. */
|
|
11213
11213
|
created_access_method_ids: string[]
|
|
11214
11214
|
}>
|
|
11215
|
-
/** IDs of the access methods created for the
|
|
11215
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
11216
11216
|
access_method_ids: string[]
|
|
11217
|
-
/** Display name of the
|
|
11217
|
+
/** Display name of the Access Grant. */
|
|
11218
11218
|
display_name: string
|
|
11219
|
-
/** Instant Key URL. Only returned if the
|
|
11219
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
11220
11220
|
instant_key_url?: string | undefined
|
|
11221
|
-
/** Date and time at which the
|
|
11221
|
+
/** Date and time at which the Access Grant was created. */
|
|
11222
11222
|
created_at: string
|
|
11223
|
-
/** Date and time at which the
|
|
11223
|
+
/** Date and time at which the Access Grant starts. */
|
|
11224
11224
|
starts_at?: string | undefined
|
|
11225
|
-
/** Date and time at which the
|
|
11225
|
+
/** Date and time at which the Access Grant ends. */
|
|
11226
11226
|
ends_at?: string | undefined
|
|
11227
11227
|
}
|
|
11228
11228
|
}
|
|
@@ -11233,7 +11233,7 @@ export interface Routes {
|
|
|
11233
11233
|
queryParams: {}
|
|
11234
11234
|
jsonBody: {}
|
|
11235
11235
|
commonParams: {
|
|
11236
|
-
/** ID of
|
|
11236
|
+
/** ID of Access Grant to delete. */
|
|
11237
11237
|
access_grant_id: string
|
|
11238
11238
|
}
|
|
11239
11239
|
formData: {}
|
|
@@ -11245,46 +11245,46 @@ export interface Routes {
|
|
|
11245
11245
|
queryParams: {}
|
|
11246
11246
|
jsonBody: {}
|
|
11247
11247
|
commonParams: {
|
|
11248
|
-
/** ID of
|
|
11248
|
+
/** ID of Access Grant to get. */
|
|
11249
11249
|
access_grant_id: string
|
|
11250
11250
|
}
|
|
11251
11251
|
formData: {}
|
|
11252
11252
|
jsonResponse: {
|
|
11253
|
-
/** Represents an
|
|
11253
|
+
/** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
|
|
11254
11254
|
access_grant: {
|
|
11255
|
-
/** ID of the Seam workspace associated with the
|
|
11255
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
11256
11256
|
workspace_id: string
|
|
11257
|
-
/** ID of the
|
|
11257
|
+
/** ID of the Access Grant. */
|
|
11258
11258
|
access_grant_id: string
|
|
11259
|
-
/** ID of user identity to which the
|
|
11259
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
11260
11260
|
user_identity_id: string
|
|
11261
11261
|
/**
|
|
11262
11262
|
* @deprecated Use `space_ids`. */
|
|
11263
11263
|
location_ids: string[]
|
|
11264
|
-
/** IDs of the spaces to which the
|
|
11264
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
11265
11265
|
space_ids: string[]
|
|
11266
|
-
/** Access methods that the user requested for the
|
|
11266
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
11267
11267
|
requested_access_methods: Array<{
|
|
11268
11268
|
/** Display name of the access method. */
|
|
11269
11269
|
display_name: string
|
|
11270
11270
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
11271
11271
|
mode: 'code' | 'card' | 'mobile_key'
|
|
11272
|
-
/** Date and time at which the requested access method was added to the
|
|
11272
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
11273
11273
|
created_at: string
|
|
11274
11274
|
/** IDs of the access methods created for the requested access method. */
|
|
11275
11275
|
created_access_method_ids: string[]
|
|
11276
11276
|
}>
|
|
11277
|
-
/** IDs of the access methods created for the
|
|
11277
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
11278
11278
|
access_method_ids: string[]
|
|
11279
|
-
/** Display name of the
|
|
11279
|
+
/** Display name of the Access Grant. */
|
|
11280
11280
|
display_name: string
|
|
11281
|
-
/** Instant Key URL. Only returned if the
|
|
11281
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
11282
11282
|
instant_key_url?: string | undefined
|
|
11283
|
-
/** Date and time at which the
|
|
11283
|
+
/** Date and time at which the Access Grant was created. */
|
|
11284
11284
|
created_at: string
|
|
11285
|
-
/** Date and time at which the
|
|
11285
|
+
/** Date and time at which the Access Grant starts. */
|
|
11286
11286
|
starts_at?: string | undefined
|
|
11287
|
-
/** Date and time at which the
|
|
11287
|
+
/** Date and time at which the Access Grant ends. */
|
|
11288
11288
|
ends_at?: string | undefined
|
|
11289
11289
|
}
|
|
11290
11290
|
}
|
|
@@ -11295,54 +11295,54 @@ export interface Routes {
|
|
|
11295
11295
|
queryParams: {}
|
|
11296
11296
|
jsonBody: {}
|
|
11297
11297
|
commonParams: {
|
|
11298
|
-
/** ID of user identity to filter list of
|
|
11298
|
+
/** ID of user identity by which you want to filter the list of Access Grants. */
|
|
11299
11299
|
user_identity_id?: string | undefined
|
|
11300
|
-
/** ID of system to filter list of
|
|
11300
|
+
/** ID of the access system by which you want to filter the list of Access Grants. */
|
|
11301
11301
|
acs_system_id?: string | undefined
|
|
11302
|
-
/** ID of entrance to filter list of
|
|
11302
|
+
/** ID of the entrance by which you want to filter the list of Access Grants. */
|
|
11303
11303
|
acs_entrance_id?: string | undefined
|
|
11304
11304
|
/**
|
|
11305
11305
|
* @deprecated Use `space_id`. */
|
|
11306
11306
|
location_id?: string | undefined
|
|
11307
|
-
/** ID of space to filter list of
|
|
11307
|
+
/** ID of the space by which you want to filter the list of Access Grants. */
|
|
11308
11308
|
space_id?: string | undefined
|
|
11309
11309
|
}
|
|
11310
11310
|
formData: {}
|
|
11311
11311
|
jsonResponse: {
|
|
11312
11312
|
access_grants: Array<{
|
|
11313
|
-
/** ID of the Seam workspace associated with the
|
|
11313
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
11314
11314
|
workspace_id: string
|
|
11315
|
-
/** ID of the
|
|
11315
|
+
/** ID of the Access Grant. */
|
|
11316
11316
|
access_grant_id: string
|
|
11317
|
-
/** ID of user identity to which the
|
|
11317
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
11318
11318
|
user_identity_id: string
|
|
11319
11319
|
/**
|
|
11320
11320
|
* @deprecated Use `space_ids`. */
|
|
11321
11321
|
location_ids: string[]
|
|
11322
|
-
/** IDs of the spaces to which the
|
|
11322
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
11323
11323
|
space_ids: string[]
|
|
11324
|
-
/** Access methods that the user requested for the
|
|
11324
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
11325
11325
|
requested_access_methods: Array<{
|
|
11326
11326
|
/** Display name of the access method. */
|
|
11327
11327
|
display_name: string
|
|
11328
11328
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
11329
11329
|
mode: 'code' | 'card' | 'mobile_key'
|
|
11330
|
-
/** Date and time at which the requested access method was added to the
|
|
11330
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
11331
11331
|
created_at: string
|
|
11332
11332
|
/** IDs of the access methods created for the requested access method. */
|
|
11333
11333
|
created_access_method_ids: string[]
|
|
11334
11334
|
}>
|
|
11335
|
-
/** IDs of the access methods created for the
|
|
11335
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
11336
11336
|
access_method_ids: string[]
|
|
11337
|
-
/** Display name of the
|
|
11337
|
+
/** Display name of the Access Grant. */
|
|
11338
11338
|
display_name: string
|
|
11339
|
-
/** Instant Key URL. Only returned if the
|
|
11339
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
11340
11340
|
instant_key_url?: string | undefined
|
|
11341
|
-
/** Date and time at which the
|
|
11341
|
+
/** Date and time at which the Access Grant was created. */
|
|
11342
11342
|
created_at: string
|
|
11343
|
-
/** Date and time at which the
|
|
11343
|
+
/** Date and time at which the Access Grant starts. */
|
|
11344
11344
|
starts_at?: string | undefined
|
|
11345
|
-
/** Date and time at which the
|
|
11345
|
+
/** Date and time at which the Access Grant ends. */
|
|
11346
11346
|
ends_at?: string | undefined
|
|
11347
11347
|
}>
|
|
11348
11348
|
}
|
|
@@ -11353,7 +11353,7 @@ export interface Routes {
|
|
|
11353
11353
|
queryParams: {}
|
|
11354
11354
|
jsonBody: {}
|
|
11355
11355
|
commonParams: {
|
|
11356
|
-
/** ID of the
|
|
11356
|
+
/** ID of the Access Grant to update. */
|
|
11357
11357
|
access_grant_id: string
|
|
11358
11358
|
/** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
11359
11359
|
starts_at?: (string | null) | undefined
|
|
@@ -11381,7 +11381,7 @@ export interface Routes {
|
|
|
11381
11381
|
queryParams: {}
|
|
11382
11382
|
jsonBody: {}
|
|
11383
11383
|
commonParams: {
|
|
11384
|
-
/** ID of the `acs_encoder` to use to encode the `
|
|
11384
|
+
/** ID of the `acs_encoder` to use to encode the `access_method`. */
|
|
11385
11385
|
acs_encoder_id: string
|
|
11386
11386
|
/** ID of the `access_method` to encode onto a card. */
|
|
11387
11387
|
access_method_id: string
|
|
@@ -12827,7 +12827,7 @@ export interface Routes {
|
|
|
12827
12827
|
}
|
|
12828
12828
|
formData: {}
|
|
12829
12829
|
jsonResponse: {
|
|
12830
|
-
/** Represents an access method for an
|
|
12830
|
+
/** Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key. */
|
|
12831
12831
|
access_method: {
|
|
12832
12832
|
/** ID of the Seam workspace associated with the access method. */
|
|
12833
12833
|
workspace_id: string
|
|
@@ -12856,7 +12856,7 @@ export interface Routes {
|
|
|
12856
12856
|
queryParams: {}
|
|
12857
12857
|
jsonBody: {}
|
|
12858
12858
|
commonParams: {
|
|
12859
|
-
/** ID of
|
|
12859
|
+
/** ID of Access Grant to list access methods for. */
|
|
12860
12860
|
access_grant_id: string
|
|
12861
12861
|
/** ID of the device for which you want to retrieve all access methods. */
|
|
12862
12862
|
device_id?: string | undefined
|
|
@@ -30707,7 +30707,7 @@ export interface Routes {
|
|
|
30707
30707
|
created_at: string
|
|
30708
30708
|
/** Date and time at which the event occurred. */
|
|
30709
30709
|
occurred_at: string
|
|
30710
|
-
/** ID of the affected
|
|
30710
|
+
/** ID of the affected Access Grant. */
|
|
30711
30711
|
access_grant_id: string
|
|
30712
30712
|
event_type: 'access_grant.created'
|
|
30713
30713
|
}
|
|
@@ -30720,7 +30720,7 @@ export interface Routes {
|
|
|
30720
30720
|
created_at: string
|
|
30721
30721
|
/** Date and time at which the event occurred. */
|
|
30722
30722
|
occurred_at: string
|
|
30723
|
-
/** ID of the affected
|
|
30723
|
+
/** ID of the affected Access Grant. */
|
|
30724
30724
|
access_grant_id: string
|
|
30725
30725
|
event_type: 'access_grant.deleted'
|
|
30726
30726
|
}
|
|
@@ -30733,7 +30733,7 @@ export interface Routes {
|
|
|
30733
30733
|
created_at: string
|
|
30734
30734
|
/** Date and time at which the event occurred. */
|
|
30735
30735
|
occurred_at: string
|
|
30736
|
-
/** ID of the affected
|
|
30736
|
+
/** ID of the affected Access Grant. */
|
|
30737
30737
|
access_grant_id: string
|
|
30738
30738
|
event_type: 'access_grant.access_granted_to_all_doors'
|
|
30739
30739
|
}
|
|
@@ -30746,7 +30746,7 @@ export interface Routes {
|
|
|
30746
30746
|
created_at: string
|
|
30747
30747
|
/** Date and time at which the event occurred. */
|
|
30748
30748
|
occurred_at: string
|
|
30749
|
-
/** ID of the affected
|
|
30749
|
+
/** ID of the affected Access Grant. */
|
|
30750
30750
|
access_grant_id: string
|
|
30751
30751
|
event_type: 'access_grant.access_granted_to_door'
|
|
30752
30752
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -30761,7 +30761,7 @@ export interface Routes {
|
|
|
30761
30761
|
created_at: string
|
|
30762
30762
|
/** Date and time at which the event occurred. */
|
|
30763
30763
|
occurred_at: string
|
|
30764
|
-
/** ID of the affected
|
|
30764
|
+
/** ID of the affected Access Grant. */
|
|
30765
30765
|
access_grant_id: string
|
|
30766
30766
|
event_type: 'access_grant.access_to_door_lost'
|
|
30767
30767
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -32875,7 +32875,7 @@ export interface Routes {
|
|
|
32875
32875
|
created_at: string
|
|
32876
32876
|
/** Date and time at which the event occurred. */
|
|
32877
32877
|
occurred_at: string
|
|
32878
|
-
/** ID of the affected
|
|
32878
|
+
/** ID of the affected Access Grant. */
|
|
32879
32879
|
access_grant_id: string
|
|
32880
32880
|
event_type: 'access_grant.created'
|
|
32881
32881
|
}
|
|
@@ -32888,7 +32888,7 @@ export interface Routes {
|
|
|
32888
32888
|
created_at: string
|
|
32889
32889
|
/** Date and time at which the event occurred. */
|
|
32890
32890
|
occurred_at: string
|
|
32891
|
-
/** ID of the affected
|
|
32891
|
+
/** ID of the affected Access Grant. */
|
|
32892
32892
|
access_grant_id: string
|
|
32893
32893
|
event_type: 'access_grant.deleted'
|
|
32894
32894
|
}
|
|
@@ -32901,7 +32901,7 @@ export interface Routes {
|
|
|
32901
32901
|
created_at: string
|
|
32902
32902
|
/** Date and time at which the event occurred. */
|
|
32903
32903
|
occurred_at: string
|
|
32904
|
-
/** ID of the affected
|
|
32904
|
+
/** ID of the affected Access Grant. */
|
|
32905
32905
|
access_grant_id: string
|
|
32906
32906
|
event_type: 'access_grant.access_granted_to_all_doors'
|
|
32907
32907
|
}
|
|
@@ -32914,7 +32914,7 @@ export interface Routes {
|
|
|
32914
32914
|
created_at: string
|
|
32915
32915
|
/** Date and time at which the event occurred. */
|
|
32916
32916
|
occurred_at: string
|
|
32917
|
-
/** ID of the affected
|
|
32917
|
+
/** ID of the affected Access Grant. */
|
|
32918
32918
|
access_grant_id: string
|
|
32919
32919
|
event_type: 'access_grant.access_granted_to_door'
|
|
32920
32920
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -32929,7 +32929,7 @@ export interface Routes {
|
|
|
32929
32929
|
created_at: string
|
|
32930
32930
|
/** Date and time at which the event occurred. */
|
|
32931
32931
|
occurred_at: string
|
|
32932
|
-
/** ID of the affected
|
|
32932
|
+
/** ID of the affected Access Grant. */
|
|
32933
32933
|
access_grant_id: string
|
|
32934
32934
|
event_type: 'access_grant.access_to_door_lost'
|
|
32935
32935
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -74724,41 +74724,41 @@ export interface Routes {
|
|
|
74724
74724
|
}
|
|
74725
74725
|
formData: {}
|
|
74726
74726
|
jsonResponse: {
|
|
74727
|
-
/** Represents an
|
|
74727
|
+
/** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
|
|
74728
74728
|
access_grant: {
|
|
74729
|
-
/** ID of the Seam workspace associated with the
|
|
74729
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
74730
74730
|
workspace_id: string
|
|
74731
|
-
/** ID of the
|
|
74731
|
+
/** ID of the Access Grant. */
|
|
74732
74732
|
access_grant_id: string
|
|
74733
|
-
/** ID of user identity to which the
|
|
74733
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
74734
74734
|
user_identity_id: string
|
|
74735
74735
|
/**
|
|
74736
74736
|
* @deprecated Use `space_ids`. */
|
|
74737
74737
|
location_ids: string[]
|
|
74738
|
-
/** IDs of the spaces to which the
|
|
74738
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
74739
74739
|
space_ids: string[]
|
|
74740
|
-
/** Access methods that the user requested for the
|
|
74740
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
74741
74741
|
requested_access_methods: Array<{
|
|
74742
74742
|
/** Display name of the access method. */
|
|
74743
74743
|
display_name: string
|
|
74744
74744
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
74745
74745
|
mode: 'code' | 'card' | 'mobile_key'
|
|
74746
|
-
/** Date and time at which the requested access method was added to the
|
|
74746
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
74747
74747
|
created_at: string
|
|
74748
74748
|
/** IDs of the access methods created for the requested access method. */
|
|
74749
74749
|
created_access_method_ids: string[]
|
|
74750
74750
|
}>
|
|
74751
|
-
/** IDs of the access methods created for the
|
|
74751
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
74752
74752
|
access_method_ids: string[]
|
|
74753
|
-
/** Display name of the
|
|
74753
|
+
/** Display name of the Access Grant. */
|
|
74754
74754
|
display_name: string
|
|
74755
|
-
/** Instant Key URL. Only returned if the
|
|
74755
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
74756
74756
|
instant_key_url?: string | undefined
|
|
74757
|
-
/** Date and time at which the
|
|
74757
|
+
/** Date and time at which the Access Grant was created. */
|
|
74758
74758
|
created_at: string
|
|
74759
|
-
/** Date and time at which the
|
|
74759
|
+
/** Date and time at which the Access Grant starts. */
|
|
74760
74760
|
starts_at?: string | undefined
|
|
74761
|
-
/** Date and time at which the
|
|
74761
|
+
/** Date and time at which the Access Grant ends. */
|
|
74762
74762
|
ends_at?: string | undefined
|
|
74763
74763
|
}
|
|
74764
74764
|
}
|
|
@@ -74786,41 +74786,41 @@ export interface Routes {
|
|
|
74786
74786
|
}
|
|
74787
74787
|
formData: {}
|
|
74788
74788
|
jsonResponse: {
|
|
74789
|
-
/** Represents an
|
|
74789
|
+
/** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
|
|
74790
74790
|
access_grant: {
|
|
74791
|
-
/** ID of the Seam workspace associated with the
|
|
74791
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
74792
74792
|
workspace_id: string
|
|
74793
|
-
/** ID of the
|
|
74793
|
+
/** ID of the Access Grant. */
|
|
74794
74794
|
access_grant_id: string
|
|
74795
|
-
/** ID of user identity to which the
|
|
74795
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
74796
74796
|
user_identity_id: string
|
|
74797
74797
|
/**
|
|
74798
74798
|
* @deprecated Use `space_ids`. */
|
|
74799
74799
|
location_ids: string[]
|
|
74800
|
-
/** IDs of the spaces to which the
|
|
74800
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
74801
74801
|
space_ids: string[]
|
|
74802
|
-
/** Access methods that the user requested for the
|
|
74802
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
74803
74803
|
requested_access_methods: Array<{
|
|
74804
74804
|
/** Display name of the access method. */
|
|
74805
74805
|
display_name: string
|
|
74806
74806
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
74807
74807
|
mode: 'code' | 'card' | 'mobile_key'
|
|
74808
|
-
/** Date and time at which the requested access method was added to the
|
|
74808
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
74809
74809
|
created_at: string
|
|
74810
74810
|
/** IDs of the access methods created for the requested access method. */
|
|
74811
74811
|
created_access_method_ids: string[]
|
|
74812
74812
|
}>
|
|
74813
|
-
/** IDs of the access methods created for the
|
|
74813
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
74814
74814
|
access_method_ids: string[]
|
|
74815
|
-
/** Display name of the
|
|
74815
|
+
/** Display name of the Access Grant. */
|
|
74816
74816
|
display_name: string
|
|
74817
|
-
/** Instant Key URL. Only returned if the
|
|
74817
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
74818
74818
|
instant_key_url?: string | undefined
|
|
74819
|
-
/** Date and time at which the
|
|
74819
|
+
/** Date and time at which the Access Grant was created. */
|
|
74820
74820
|
created_at: string
|
|
74821
|
-
/** Date and time at which the
|
|
74821
|
+
/** Date and time at which the Access Grant starts. */
|
|
74822
74822
|
starts_at?: string | undefined
|
|
74823
|
-
/** Date and time at which the
|
|
74823
|
+
/** Date and time at which the Access Grant ends. */
|
|
74824
74824
|
ends_at?: string | undefined
|
|
74825
74825
|
}
|
|
74826
74826
|
}
|
|
@@ -74846,39 +74846,39 @@ export interface Routes {
|
|
|
74846
74846
|
formData: {}
|
|
74847
74847
|
jsonResponse: {
|
|
74848
74848
|
access_grants: Array<{
|
|
74849
|
-
/** ID of the Seam workspace associated with the
|
|
74849
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
74850
74850
|
workspace_id: string
|
|
74851
|
-
/** ID of the
|
|
74851
|
+
/** ID of the Access Grant. */
|
|
74852
74852
|
access_grant_id: string
|
|
74853
|
-
/** ID of user identity to which the
|
|
74853
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
74854
74854
|
user_identity_id: string
|
|
74855
74855
|
/**
|
|
74856
74856
|
* @deprecated Use `space_ids`. */
|
|
74857
74857
|
location_ids: string[]
|
|
74858
|
-
/** IDs of the spaces to which the
|
|
74858
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
74859
74859
|
space_ids: string[]
|
|
74860
|
-
/** Access methods that the user requested for the
|
|
74860
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
74861
74861
|
requested_access_methods: Array<{
|
|
74862
74862
|
/** Display name of the access method. */
|
|
74863
74863
|
display_name: string
|
|
74864
74864
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
74865
74865
|
mode: 'code' | 'card' | 'mobile_key'
|
|
74866
|
-
/** Date and time at which the requested access method was added to the
|
|
74866
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
74867
74867
|
created_at: string
|
|
74868
74868
|
/** IDs of the access methods created for the requested access method. */
|
|
74869
74869
|
created_access_method_ids: string[]
|
|
74870
74870
|
}>
|
|
74871
|
-
/** IDs of the access methods created for the
|
|
74871
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
74872
74872
|
access_method_ids: string[]
|
|
74873
|
-
/** Display name of the
|
|
74873
|
+
/** Display name of the Access Grant. */
|
|
74874
74874
|
display_name: string
|
|
74875
|
-
/** Instant Key URL. Only returned if the
|
|
74875
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
74876
74876
|
instant_key_url?: string | undefined
|
|
74877
|
-
/** Date and time at which the
|
|
74877
|
+
/** Date and time at which the Access Grant was created. */
|
|
74878
74878
|
created_at: string
|
|
74879
|
-
/** Date and time at which the
|
|
74879
|
+
/** Date and time at which the Access Grant starts. */
|
|
74880
74880
|
starts_at?: string | undefined
|
|
74881
|
-
/** Date and time at which the
|
|
74881
|
+
/** Date and time at which the Access Grant ends. */
|
|
74882
74882
|
ends_at?: string | undefined
|
|
74883
74883
|
}>
|
|
74884
74884
|
}
|
|
@@ -74906,7 +74906,7 @@ export interface Routes {
|
|
|
74906
74906
|
}
|
|
74907
74907
|
formData: {}
|
|
74908
74908
|
jsonResponse: {
|
|
74909
|
-
/** Represents an access method for an
|
|
74909
|
+
/** Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key. */
|
|
74910
74910
|
access_method: {
|
|
74911
74911
|
/** ID of the Seam workspace associated with the access method. */
|
|
74912
74912
|
workspace_id: string
|