@seamapi/types 1.444.1 → 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 +75 -73
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +114 -125
- package/dist/index.cjs +75 -73
- 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/connect-webviews/connect-webview.d.ts +3 -0
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +4 -0
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +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.d.ts +6 -26
- package/lib/seam/connect/openapi.js +66 -65
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +105 -99
- 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/connect-webviews/connect-webview.ts +4 -0
- 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 +71 -65
- package/src/lib/seam/connect/route-types.ts +105 -99
|
@@ -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
|
|
@@ -24340,7 +24340,8 @@ export interface Routes {
|
|
|
24340
24340
|
custom_redirect_url?: string | undefined
|
|
24341
24341
|
/** Alternative URL that you want to redirect the user to on an error. If you do not set this parameter, the Connect Webview falls back to the `custom_redirect_url`. */
|
|
24342
24342
|
custom_redirect_failure_url?: string | undefined
|
|
24343
|
-
|
|
24343
|
+
/** Optional unique string key that can be used to identify the customer. If provided, the customer will be created or retrieved based on this key. */
|
|
24344
|
+
customer_key?: string | undefined
|
|
24344
24345
|
/** Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with no filters. */
|
|
24345
24346
|
accepted_providers?:
|
|
24346
24347
|
| Array<
|
|
@@ -24476,6 +24477,8 @@ export interface Routes {
|
|
|
24476
24477
|
authorized_at: string | null
|
|
24477
24478
|
/** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
24478
24479
|
selected_provider: string | null
|
|
24480
|
+
/** The customer key associated with this webview, if any. */
|
|
24481
|
+
customer_key?: string | undefined
|
|
24479
24482
|
}
|
|
24480
24483
|
}
|
|
24481
24484
|
}
|
|
@@ -24557,6 +24560,8 @@ export interface Routes {
|
|
|
24557
24560
|
authorized_at: string | null
|
|
24558
24561
|
/** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
24559
24562
|
selected_provider: string | null
|
|
24563
|
+
/** The customer key associated with this webview, if any. */
|
|
24564
|
+
customer_key?: string | undefined
|
|
24560
24565
|
}
|
|
24561
24566
|
}
|
|
24562
24567
|
}
|
|
@@ -24566,7 +24571,6 @@ export interface Routes {
|
|
|
24566
24571
|
queryParams: {}
|
|
24567
24572
|
jsonBody: {}
|
|
24568
24573
|
commonParams: {
|
|
24569
|
-
customer_ids?: string[] | undefined
|
|
24570
24574
|
/** Your user ID for the user by which you want to filter Connect Webviews. */
|
|
24571
24575
|
user_identifier_key?: string | undefined
|
|
24572
24576
|
/** Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. */
|
|
@@ -24622,6 +24626,8 @@ export interface Routes {
|
|
|
24622
24626
|
authorized_at: string | null
|
|
24623
24627
|
/** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
24624
24628
|
selected_provider: string | null
|
|
24629
|
+
/** The customer key associated with this webview, if any. */
|
|
24630
|
+
customer_key?: string | undefined
|
|
24625
24631
|
}>
|
|
24626
24632
|
/** Information about the current page of results. */
|
|
24627
24633
|
pagination: {
|
|
@@ -30701,7 +30707,7 @@ export interface Routes {
|
|
|
30701
30707
|
created_at: string
|
|
30702
30708
|
/** Date and time at which the event occurred. */
|
|
30703
30709
|
occurred_at: string
|
|
30704
|
-
/** ID of the affected
|
|
30710
|
+
/** ID of the affected Access Grant. */
|
|
30705
30711
|
access_grant_id: string
|
|
30706
30712
|
event_type: 'access_grant.created'
|
|
30707
30713
|
}
|
|
@@ -30714,7 +30720,7 @@ export interface Routes {
|
|
|
30714
30720
|
created_at: string
|
|
30715
30721
|
/** Date and time at which the event occurred. */
|
|
30716
30722
|
occurred_at: string
|
|
30717
|
-
/** ID of the affected
|
|
30723
|
+
/** ID of the affected Access Grant. */
|
|
30718
30724
|
access_grant_id: string
|
|
30719
30725
|
event_type: 'access_grant.deleted'
|
|
30720
30726
|
}
|
|
@@ -30727,7 +30733,7 @@ export interface Routes {
|
|
|
30727
30733
|
created_at: string
|
|
30728
30734
|
/** Date and time at which the event occurred. */
|
|
30729
30735
|
occurred_at: string
|
|
30730
|
-
/** ID of the affected
|
|
30736
|
+
/** ID of the affected Access Grant. */
|
|
30731
30737
|
access_grant_id: string
|
|
30732
30738
|
event_type: 'access_grant.access_granted_to_all_doors'
|
|
30733
30739
|
}
|
|
@@ -30740,7 +30746,7 @@ export interface Routes {
|
|
|
30740
30746
|
created_at: string
|
|
30741
30747
|
/** Date and time at which the event occurred. */
|
|
30742
30748
|
occurred_at: string
|
|
30743
|
-
/** ID of the affected
|
|
30749
|
+
/** ID of the affected Access Grant. */
|
|
30744
30750
|
access_grant_id: string
|
|
30745
30751
|
event_type: 'access_grant.access_granted_to_door'
|
|
30746
30752
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -30755,7 +30761,7 @@ export interface Routes {
|
|
|
30755
30761
|
created_at: string
|
|
30756
30762
|
/** Date and time at which the event occurred. */
|
|
30757
30763
|
occurred_at: string
|
|
30758
|
-
/** ID of the affected
|
|
30764
|
+
/** ID of the affected Access Grant. */
|
|
30759
30765
|
access_grant_id: string
|
|
30760
30766
|
event_type: 'access_grant.access_to_door_lost'
|
|
30761
30767
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -32869,7 +32875,7 @@ export interface Routes {
|
|
|
32869
32875
|
created_at: string
|
|
32870
32876
|
/** Date and time at which the event occurred. */
|
|
32871
32877
|
occurred_at: string
|
|
32872
|
-
/** ID of the affected
|
|
32878
|
+
/** ID of the affected Access Grant. */
|
|
32873
32879
|
access_grant_id: string
|
|
32874
32880
|
event_type: 'access_grant.created'
|
|
32875
32881
|
}
|
|
@@ -32882,7 +32888,7 @@ export interface Routes {
|
|
|
32882
32888
|
created_at: string
|
|
32883
32889
|
/** Date and time at which the event occurred. */
|
|
32884
32890
|
occurred_at: string
|
|
32885
|
-
/** ID of the affected
|
|
32891
|
+
/** ID of the affected Access Grant. */
|
|
32886
32892
|
access_grant_id: string
|
|
32887
32893
|
event_type: 'access_grant.deleted'
|
|
32888
32894
|
}
|
|
@@ -32895,7 +32901,7 @@ export interface Routes {
|
|
|
32895
32901
|
created_at: string
|
|
32896
32902
|
/** Date and time at which the event occurred. */
|
|
32897
32903
|
occurred_at: string
|
|
32898
|
-
/** ID of the affected
|
|
32904
|
+
/** ID of the affected Access Grant. */
|
|
32899
32905
|
access_grant_id: string
|
|
32900
32906
|
event_type: 'access_grant.access_granted_to_all_doors'
|
|
32901
32907
|
}
|
|
@@ -32908,7 +32914,7 @@ export interface Routes {
|
|
|
32908
32914
|
created_at: string
|
|
32909
32915
|
/** Date and time at which the event occurred. */
|
|
32910
32916
|
occurred_at: string
|
|
32911
|
-
/** ID of the affected
|
|
32917
|
+
/** ID of the affected Access Grant. */
|
|
32912
32918
|
access_grant_id: string
|
|
32913
32919
|
event_type: 'access_grant.access_granted_to_door'
|
|
32914
32920
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -32923,7 +32929,7 @@ export interface Routes {
|
|
|
32923
32929
|
created_at: string
|
|
32924
32930
|
/** Date and time at which the event occurred. */
|
|
32925
32931
|
occurred_at: string
|
|
32926
|
-
/** ID of the affected
|
|
32932
|
+
/** ID of the affected Access Grant. */
|
|
32927
32933
|
access_grant_id: string
|
|
32928
32934
|
event_type: 'access_grant.access_to_door_lost'
|
|
32929
32935
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -74718,41 +74724,41 @@ export interface Routes {
|
|
|
74718
74724
|
}
|
|
74719
74725
|
formData: {}
|
|
74720
74726
|
jsonResponse: {
|
|
74721
|
-
/** 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. */
|
|
74722
74728
|
access_grant: {
|
|
74723
|
-
/** ID of the Seam workspace associated with the
|
|
74729
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
74724
74730
|
workspace_id: string
|
|
74725
|
-
/** ID of the
|
|
74731
|
+
/** ID of the Access Grant. */
|
|
74726
74732
|
access_grant_id: string
|
|
74727
|
-
/** ID of user identity to which the
|
|
74733
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
74728
74734
|
user_identity_id: string
|
|
74729
74735
|
/**
|
|
74730
74736
|
* @deprecated Use `space_ids`. */
|
|
74731
74737
|
location_ids: string[]
|
|
74732
|
-
/** IDs of the spaces to which the
|
|
74738
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
74733
74739
|
space_ids: string[]
|
|
74734
|
-
/** Access methods that the user requested for the
|
|
74740
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
74735
74741
|
requested_access_methods: Array<{
|
|
74736
74742
|
/** Display name of the access method. */
|
|
74737
74743
|
display_name: string
|
|
74738
74744
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
74739
74745
|
mode: 'code' | 'card' | 'mobile_key'
|
|
74740
|
-
/** 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. */
|
|
74741
74747
|
created_at: string
|
|
74742
74748
|
/** IDs of the access methods created for the requested access method. */
|
|
74743
74749
|
created_access_method_ids: string[]
|
|
74744
74750
|
}>
|
|
74745
|
-
/** IDs of the access methods created for the
|
|
74751
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
74746
74752
|
access_method_ids: string[]
|
|
74747
|
-
/** Display name of the
|
|
74753
|
+
/** Display name of the Access Grant. */
|
|
74748
74754
|
display_name: string
|
|
74749
|
-
/** Instant Key URL. Only returned if the
|
|
74755
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
74750
74756
|
instant_key_url?: string | undefined
|
|
74751
|
-
/** Date and time at which the
|
|
74757
|
+
/** Date and time at which the Access Grant was created. */
|
|
74752
74758
|
created_at: string
|
|
74753
|
-
/** Date and time at which the
|
|
74759
|
+
/** Date and time at which the Access Grant starts. */
|
|
74754
74760
|
starts_at?: string | undefined
|
|
74755
|
-
/** Date and time at which the
|
|
74761
|
+
/** Date and time at which the Access Grant ends. */
|
|
74756
74762
|
ends_at?: string | undefined
|
|
74757
74763
|
}
|
|
74758
74764
|
}
|
|
@@ -74780,41 +74786,41 @@ export interface Routes {
|
|
|
74780
74786
|
}
|
|
74781
74787
|
formData: {}
|
|
74782
74788
|
jsonResponse: {
|
|
74783
|
-
/** 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. */
|
|
74784
74790
|
access_grant: {
|
|
74785
|
-
/** ID of the Seam workspace associated with the
|
|
74791
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
74786
74792
|
workspace_id: string
|
|
74787
|
-
/** ID of the
|
|
74793
|
+
/** ID of the Access Grant. */
|
|
74788
74794
|
access_grant_id: string
|
|
74789
|
-
/** ID of user identity to which the
|
|
74795
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
74790
74796
|
user_identity_id: string
|
|
74791
74797
|
/**
|
|
74792
74798
|
* @deprecated Use `space_ids`. */
|
|
74793
74799
|
location_ids: string[]
|
|
74794
|
-
/** IDs of the spaces to which the
|
|
74800
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
74795
74801
|
space_ids: string[]
|
|
74796
|
-
/** Access methods that the user requested for the
|
|
74802
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
74797
74803
|
requested_access_methods: Array<{
|
|
74798
74804
|
/** Display name of the access method. */
|
|
74799
74805
|
display_name: string
|
|
74800
74806
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
74801
74807
|
mode: 'code' | 'card' | 'mobile_key'
|
|
74802
|
-
/** 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. */
|
|
74803
74809
|
created_at: string
|
|
74804
74810
|
/** IDs of the access methods created for the requested access method. */
|
|
74805
74811
|
created_access_method_ids: string[]
|
|
74806
74812
|
}>
|
|
74807
|
-
/** IDs of the access methods created for the
|
|
74813
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
74808
74814
|
access_method_ids: string[]
|
|
74809
|
-
/** Display name of the
|
|
74815
|
+
/** Display name of the Access Grant. */
|
|
74810
74816
|
display_name: string
|
|
74811
|
-
/** Instant Key URL. Only returned if the
|
|
74817
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
74812
74818
|
instant_key_url?: string | undefined
|
|
74813
|
-
/** Date and time at which the
|
|
74819
|
+
/** Date and time at which the Access Grant was created. */
|
|
74814
74820
|
created_at: string
|
|
74815
|
-
/** Date and time at which the
|
|
74821
|
+
/** Date and time at which the Access Grant starts. */
|
|
74816
74822
|
starts_at?: string | undefined
|
|
74817
|
-
/** Date and time at which the
|
|
74823
|
+
/** Date and time at which the Access Grant ends. */
|
|
74818
74824
|
ends_at?: string | undefined
|
|
74819
74825
|
}
|
|
74820
74826
|
}
|
|
@@ -74840,39 +74846,39 @@ export interface Routes {
|
|
|
74840
74846
|
formData: {}
|
|
74841
74847
|
jsonResponse: {
|
|
74842
74848
|
access_grants: Array<{
|
|
74843
|
-
/** ID of the Seam workspace associated with the
|
|
74849
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
74844
74850
|
workspace_id: string
|
|
74845
|
-
/** ID of the
|
|
74851
|
+
/** ID of the Access Grant. */
|
|
74846
74852
|
access_grant_id: string
|
|
74847
|
-
/** ID of user identity to which the
|
|
74853
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
74848
74854
|
user_identity_id: string
|
|
74849
74855
|
/**
|
|
74850
74856
|
* @deprecated Use `space_ids`. */
|
|
74851
74857
|
location_ids: string[]
|
|
74852
|
-
/** IDs of the spaces to which the
|
|
74858
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
74853
74859
|
space_ids: string[]
|
|
74854
|
-
/** Access methods that the user requested for the
|
|
74860
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
74855
74861
|
requested_access_methods: Array<{
|
|
74856
74862
|
/** Display name of the access method. */
|
|
74857
74863
|
display_name: string
|
|
74858
74864
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
74859
74865
|
mode: 'code' | 'card' | 'mobile_key'
|
|
74860
|
-
/** 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. */
|
|
74861
74867
|
created_at: string
|
|
74862
74868
|
/** IDs of the access methods created for the requested access method. */
|
|
74863
74869
|
created_access_method_ids: string[]
|
|
74864
74870
|
}>
|
|
74865
|
-
/** IDs of the access methods created for the
|
|
74871
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
74866
74872
|
access_method_ids: string[]
|
|
74867
|
-
/** Display name of the
|
|
74873
|
+
/** Display name of the Access Grant. */
|
|
74868
74874
|
display_name: string
|
|
74869
|
-
/** Instant Key URL. Only returned if the
|
|
74875
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
74870
74876
|
instant_key_url?: string | undefined
|
|
74871
|
-
/** Date and time at which the
|
|
74877
|
+
/** Date and time at which the Access Grant was created. */
|
|
74872
74878
|
created_at: string
|
|
74873
|
-
/** Date and time at which the
|
|
74879
|
+
/** Date and time at which the Access Grant starts. */
|
|
74874
74880
|
starts_at?: string | undefined
|
|
74875
|
-
/** Date and time at which the
|
|
74881
|
+
/** Date and time at which the Access Grant ends. */
|
|
74876
74882
|
ends_at?: string | undefined
|
|
74877
74883
|
}>
|
|
74878
74884
|
}
|
|
@@ -74900,7 +74906,7 @@ export interface Routes {
|
|
|
74900
74906
|
}
|
|
74901
74907
|
formData: {}
|
|
74902
74908
|
jsonResponse: {
|
|
74903
|
-
/** 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. */
|
|
74904
74910
|
access_method: {
|
|
74905
74911
|
/** ID of the Seam workspace associated with the access method. */
|
|
74906
74912
|
workspace_id: string
|