@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
|
@@ -4,12 +4,12 @@ export const access_grant = z.object({
|
|
|
4
4
|
workspace_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the Seam workspace associated with the
|
|
8
|
-
access_grant_id: z.string().uuid().describe('ID of the
|
|
7
|
+
.describe('ID of the Seam workspace associated with the Access Grant.'),
|
|
8
|
+
access_grant_id: z.string().uuid().describe('ID of the Access Grant.'),
|
|
9
9
|
user_identity_id: z
|
|
10
10
|
.string()
|
|
11
11
|
.uuid()
|
|
12
|
-
.describe('ID of user identity to which the
|
|
12
|
+
.describe('ID of user identity to which the Access Grant gives access.'),
|
|
13
13
|
location_ids: z.array(z.string().uuid()).describe(`
|
|
14
14
|
---
|
|
15
15
|
deprecated: Use \`space_ids\`.
|
|
@@ -17,38 +17,38 @@ export const access_grant = z.object({
|
|
|
17
17
|
`),
|
|
18
18
|
space_ids: z
|
|
19
19
|
.array(z.string().uuid())
|
|
20
|
-
.describe('IDs of the spaces to which the
|
|
20
|
+
.describe('IDs of the spaces to which the Access Grant gives access.'),
|
|
21
21
|
requested_access_methods: z
|
|
22
22
|
.array(requested_access_method)
|
|
23
|
-
.describe('Access methods that the user requested for the
|
|
23
|
+
.describe('Access methods that the user requested for the Access Grant.'),
|
|
24
24
|
access_method_ids: z
|
|
25
25
|
.array(z.string().uuid())
|
|
26
|
-
.describe('IDs of the access methods created for the
|
|
27
|
-
display_name: z.string().describe('Display name of the
|
|
26
|
+
.describe('IDs of the access methods created for the Access Grant.'),
|
|
27
|
+
display_name: z.string().describe('Display name of the Access Grant.'),
|
|
28
28
|
instant_key_url: z
|
|
29
29
|
.string()
|
|
30
30
|
.url()
|
|
31
31
|
.optional()
|
|
32
|
-
.describe('Instant Key URL. Only returned if the
|
|
32
|
+
.describe('Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. '),
|
|
33
33
|
created_at: z
|
|
34
34
|
.string()
|
|
35
35
|
.datetime()
|
|
36
|
-
.describe('Date and time at which the
|
|
36
|
+
.describe('Date and time at which the Access Grant was created.'),
|
|
37
37
|
starts_at: z
|
|
38
38
|
.string()
|
|
39
39
|
.datetime()
|
|
40
40
|
.optional()
|
|
41
|
-
.describe('Date and time at which the
|
|
41
|
+
.describe('Date and time at which the Access Grant starts.'),
|
|
42
42
|
ends_at: z
|
|
43
43
|
.string()
|
|
44
44
|
.datetime()
|
|
45
45
|
.optional()
|
|
46
|
-
.describe('Date and time at which the
|
|
46
|
+
.describe('Date and time at which the Access Grant ends.'),
|
|
47
47
|
}).describe(`
|
|
48
48
|
---
|
|
49
49
|
draft: Early access.
|
|
50
50
|
route_path: /access_grants
|
|
51
51
|
---
|
|
52
|
-
Represents an
|
|
52
|
+
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.
|
|
53
53
|
`);
|
|
54
54
|
//# sourceMappingURL=access-grant.js.map
|
|
@@ -36,6 +36,6 @@ export const access_method = z.object({
|
|
|
36
36
|
draft: Early access.
|
|
37
37
|
route_path: /access_methods
|
|
38
38
|
---
|
|
39
|
-
Represents an access method for an
|
|
39
|
+
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.
|
|
40
40
|
`);
|
|
41
41
|
//# sourceMappingURL=access-method.js.map
|
|
@@ -7,7 +7,7 @@ export const requested_access_method = z.object({
|
|
|
7
7
|
created_at: z
|
|
8
8
|
.string()
|
|
9
9
|
.datetime()
|
|
10
|
-
.describe('Date and time at which the requested access method was added to the
|
|
10
|
+
.describe('Date and time at which the requested access method was added to the Access Grant.'),
|
|
11
11
|
created_access_method_ids: z
|
|
12
12
|
.array(z.string().uuid())
|
|
13
13
|
.describe('IDs of the access methods created for the requested access method.'),
|
|
@@ -4,7 +4,7 @@ const access_grant_event = common_event.extend({
|
|
|
4
4
|
access_grant_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the affected
|
|
7
|
+
.describe('ID of the affected Access Grant.'),
|
|
8
8
|
});
|
|
9
9
|
export const access_grant_created_event = access_grant_event.extend({
|
|
10
10
|
event_type: z.literal('access_grant.created'),
|
|
@@ -12,7 +12,7 @@ export const access_grant_created_event = access_grant_event.extend({
|
|
|
12
12
|
---
|
|
13
13
|
route_path: /access_grants
|
|
14
14
|
---
|
|
15
|
-
An
|
|
15
|
+
An Access Grant was created.
|
|
16
16
|
`);
|
|
17
17
|
export const access_grant_deleted_event = access_grant_event.extend({
|
|
18
18
|
event_type: z.literal('access_grant.deleted'),
|
|
@@ -20,7 +20,7 @@ export const access_grant_deleted_event = access_grant_event.extend({
|
|
|
20
20
|
---
|
|
21
21
|
route_path: /access_grants
|
|
22
22
|
---
|
|
23
|
-
An
|
|
23
|
+
An Access Grant was deleted.
|
|
24
24
|
`);
|
|
25
25
|
export const access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
|
|
26
26
|
event_type: z.literal('access_grant.access_granted_to_all_doors'),
|
|
@@ -28,7 +28,7 @@ export const access_grant_access_granted_to_all_doors_event = access_grant_event
|
|
|
28
28
|
---
|
|
29
29
|
route_path: /access_grants
|
|
30
30
|
---
|
|
31
|
-
All access requested for an
|
|
31
|
+
All access requested for an Access Grant was successfully granted.
|
|
32
32
|
`);
|
|
33
33
|
const acs_entrance_id = z
|
|
34
34
|
.string()
|
|
@@ -41,7 +41,7 @@ export const access_grant_access_granted_to_door_event = access_grant_event.exte
|
|
|
41
41
|
---
|
|
42
42
|
route_path: /access_grants
|
|
43
43
|
---
|
|
44
|
-
Access requested as part of an
|
|
44
|
+
Access requested as part of an Access Grant to a particular door was successfully granted.
|
|
45
45
|
`);
|
|
46
46
|
export const access_grant_access_to_door_lost_event = access_grant_event.extend({
|
|
47
47
|
event_type: z.literal('access_grant.access_to_door_lost'),
|
|
@@ -50,7 +50,7 @@ export const access_grant_access_to_door_lost_event = access_grant_event.extend(
|
|
|
50
50
|
---
|
|
51
51
|
route_path: /access_grants
|
|
52
52
|
---
|
|
53
|
-
Access to a particular door that was requested as part of an
|
|
53
|
+
Access to a particular door that was requested as part of an Access Grant was lost.
|
|
54
54
|
`);
|
|
55
55
|
export const access_grant_events = [
|
|
56
56
|
access_grant_created_event,
|
|
@@ -44,7 +44,7 @@ export const access_method_reissued_event = access_method_event.extend({
|
|
|
44
44
|
---
|
|
45
45
|
route_path: /access_methods
|
|
46
46
|
---
|
|
47
|
-
An access method was reissued due to an
|
|
47
|
+
An access method was reissued due to an Access Grant update.
|
|
48
48
|
`);
|
|
49
49
|
export const access_method_events = [
|
|
50
50
|
access_method_issued_event,
|
|
@@ -1569,34 +1569,34 @@ export default {
|
|
|
1569
1569
|
'x-route-path': '/access_codes',
|
|
1570
1570
|
},
|
|
1571
1571
|
access_grant: {
|
|
1572
|
-
description: 'Represents an
|
|
1572
|
+
description: '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.',
|
|
1573
1573
|
properties: {
|
|
1574
1574
|
access_grant_id: {
|
|
1575
|
-
description: 'ID of the
|
|
1575
|
+
description: 'ID of the Access Grant.',
|
|
1576
1576
|
format: 'uuid',
|
|
1577
1577
|
type: 'string',
|
|
1578
1578
|
},
|
|
1579
1579
|
access_method_ids: {
|
|
1580
|
-
description: 'IDs of the access methods created for the
|
|
1580
|
+
description: 'IDs of the access methods created for the Access Grant.',
|
|
1581
1581
|
items: { format: 'uuid', type: 'string' },
|
|
1582
1582
|
type: 'array',
|
|
1583
1583
|
},
|
|
1584
1584
|
created_at: {
|
|
1585
|
-
description: 'Date and time at which the
|
|
1585
|
+
description: 'Date and time at which the Access Grant was created.',
|
|
1586
1586
|
format: 'date-time',
|
|
1587
1587
|
type: 'string',
|
|
1588
1588
|
},
|
|
1589
1589
|
display_name: {
|
|
1590
|
-
description: 'Display name of the
|
|
1590
|
+
description: 'Display name of the Access Grant.',
|
|
1591
1591
|
type: 'string',
|
|
1592
1592
|
},
|
|
1593
1593
|
ends_at: {
|
|
1594
|
-
description: 'Date and time at which the
|
|
1594
|
+
description: 'Date and time at which the Access Grant ends.',
|
|
1595
1595
|
format: 'date-time',
|
|
1596
1596
|
type: 'string',
|
|
1597
1597
|
},
|
|
1598
1598
|
instant_key_url: {
|
|
1599
|
-
description: 'Instant Key URL. Only returned if the
|
|
1599
|
+
description: 'Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ',
|
|
1600
1600
|
format: 'uri',
|
|
1601
1601
|
type: 'string',
|
|
1602
1602
|
},
|
|
@@ -1607,7 +1607,7 @@ export default {
|
|
|
1607
1607
|
'x-deprecated': 'Use `space_ids`.',
|
|
1608
1608
|
},
|
|
1609
1609
|
requested_access_methods: {
|
|
1610
|
-
description: 'Access methods that the user requested for the
|
|
1610
|
+
description: 'Access methods that the user requested for the Access Grant.',
|
|
1611
1611
|
items: {
|
|
1612
1612
|
properties: {
|
|
1613
1613
|
created_access_method_ids: {
|
|
@@ -1616,7 +1616,7 @@ export default {
|
|
|
1616
1616
|
type: 'array',
|
|
1617
1617
|
},
|
|
1618
1618
|
created_at: {
|
|
1619
|
-
description: 'Date and time at which the requested access method was added to the
|
|
1619
|
+
description: 'Date and time at which the requested access method was added to the Access Grant.',
|
|
1620
1620
|
format: 'date-time',
|
|
1621
1621
|
type: 'string',
|
|
1622
1622
|
},
|
|
@@ -1641,22 +1641,22 @@ export default {
|
|
|
1641
1641
|
type: 'array',
|
|
1642
1642
|
},
|
|
1643
1643
|
space_ids: {
|
|
1644
|
-
description: 'IDs of the spaces to which the
|
|
1644
|
+
description: 'IDs of the spaces to which the Access Grant gives access.',
|
|
1645
1645
|
items: { format: 'uuid', type: 'string' },
|
|
1646
1646
|
type: 'array',
|
|
1647
1647
|
},
|
|
1648
1648
|
starts_at: {
|
|
1649
|
-
description: 'Date and time at which the
|
|
1649
|
+
description: 'Date and time at which the Access Grant starts.',
|
|
1650
1650
|
format: 'date-time',
|
|
1651
1651
|
type: 'string',
|
|
1652
1652
|
},
|
|
1653
1653
|
user_identity_id: {
|
|
1654
|
-
description: 'ID of user identity to which the
|
|
1654
|
+
description: 'ID of user identity to which the Access Grant gives access.',
|
|
1655
1655
|
format: 'uuid',
|
|
1656
1656
|
type: 'string',
|
|
1657
1657
|
},
|
|
1658
1658
|
workspace_id: {
|
|
1659
|
-
description: 'ID of the Seam workspace associated with the
|
|
1659
|
+
description: 'ID of the Seam workspace associated with the Access Grant.',
|
|
1660
1660
|
format: 'uuid',
|
|
1661
1661
|
type: 'string',
|
|
1662
1662
|
},
|
|
@@ -1677,7 +1677,7 @@ export default {
|
|
|
1677
1677
|
'x-route-path': '/access_grants',
|
|
1678
1678
|
},
|
|
1679
1679
|
access_method: {
|
|
1680
|
-
description: 'Represents an access method for an
|
|
1680
|
+
description: '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.',
|
|
1681
1681
|
properties: {
|
|
1682
1682
|
access_method_id: {
|
|
1683
1683
|
description: 'ID of the access method.',
|
|
@@ -12648,10 +12648,10 @@ export default {
|
|
|
12648
12648
|
'x-route-path': '/access_codes/unmanaged',
|
|
12649
12649
|
},
|
|
12650
12650
|
{
|
|
12651
|
-
description: 'An
|
|
12651
|
+
description: 'An Access Grant was created.',
|
|
12652
12652
|
properties: {
|
|
12653
12653
|
access_grant_id: {
|
|
12654
|
-
description: 'ID of the affected
|
|
12654
|
+
description: 'ID of the affected Access Grant.',
|
|
12655
12655
|
format: 'uuid',
|
|
12656
12656
|
type: 'string',
|
|
12657
12657
|
},
|
|
@@ -12689,10 +12689,10 @@ export default {
|
|
|
12689
12689
|
'x-route-path': '/access_grants',
|
|
12690
12690
|
},
|
|
12691
12691
|
{
|
|
12692
|
-
description: 'An
|
|
12692
|
+
description: 'An Access Grant was deleted.',
|
|
12693
12693
|
properties: {
|
|
12694
12694
|
access_grant_id: {
|
|
12695
|
-
description: 'ID of the affected
|
|
12695
|
+
description: 'ID of the affected Access Grant.',
|
|
12696
12696
|
format: 'uuid',
|
|
12697
12697
|
type: 'string',
|
|
12698
12698
|
},
|
|
@@ -12730,10 +12730,10 @@ export default {
|
|
|
12730
12730
|
'x-route-path': '/access_grants',
|
|
12731
12731
|
},
|
|
12732
12732
|
{
|
|
12733
|
-
description: 'All access requested for an
|
|
12733
|
+
description: 'All access requested for an Access Grant was successfully granted.',
|
|
12734
12734
|
properties: {
|
|
12735
12735
|
access_grant_id: {
|
|
12736
|
-
description: 'ID of the affected
|
|
12736
|
+
description: 'ID of the affected Access Grant.',
|
|
12737
12737
|
format: 'uuid',
|
|
12738
12738
|
type: 'string',
|
|
12739
12739
|
},
|
|
@@ -12774,10 +12774,10 @@ export default {
|
|
|
12774
12774
|
'x-route-path': '/access_grants',
|
|
12775
12775
|
},
|
|
12776
12776
|
{
|
|
12777
|
-
description: 'Access requested as part of an
|
|
12777
|
+
description: 'Access requested as part of an Access Grant to a particular door was successfully granted.',
|
|
12778
12778
|
properties: {
|
|
12779
12779
|
access_grant_id: {
|
|
12780
|
-
description: 'ID of the affected
|
|
12780
|
+
description: 'ID of the affected Access Grant.',
|
|
12781
12781
|
format: 'uuid',
|
|
12782
12782
|
type: 'string',
|
|
12783
12783
|
},
|
|
@@ -12824,10 +12824,10 @@ export default {
|
|
|
12824
12824
|
'x-route-path': '/access_grants',
|
|
12825
12825
|
},
|
|
12826
12826
|
{
|
|
12827
|
-
description: 'Access to a particular door that was requested as part of an
|
|
12827
|
+
description: 'Access to a particular door that was requested as part of an Access Grant was lost.',
|
|
12828
12828
|
properties: {
|
|
12829
12829
|
access_grant_id: {
|
|
12830
|
-
description: 'ID of the affected
|
|
12830
|
+
description: 'ID of the affected Access Grant.',
|
|
12831
12831
|
format: 'uuid',
|
|
12832
12832
|
type: 'string',
|
|
12833
12833
|
},
|
|
@@ -13041,7 +13041,7 @@ export default {
|
|
|
13041
13041
|
'x-route-path': '/access_methods',
|
|
13042
13042
|
},
|
|
13043
13043
|
{
|
|
13044
|
-
description: 'An access method was reissued due to an
|
|
13044
|
+
description: 'An access method was reissued due to an Access Grant update.',
|
|
13045
13045
|
properties: {
|
|
13046
13046
|
access_method_id: {
|
|
13047
13047
|
description: 'ID of the affected access method.',
|
|
@@ -24694,7 +24694,7 @@ export default {
|
|
|
24694
24694
|
},
|
|
24695
24695
|
'/access_grants/create': {
|
|
24696
24696
|
post: {
|
|
24697
|
-
description: 'Creates a new
|
|
24697
|
+
description: 'Creates a new Access Grant.',
|
|
24698
24698
|
operationId: 'accessGrantsCreatePost',
|
|
24699
24699
|
requestBody: {
|
|
24700
24700
|
content: {
|
|
@@ -24861,7 +24861,7 @@ export default {
|
|
|
24861
24861
|
},
|
|
24862
24862
|
'/access_grants/delete': {
|
|
24863
24863
|
delete: {
|
|
24864
|
-
description: 'Delete an
|
|
24864
|
+
description: 'Delete an Access Grant.',
|
|
24865
24865
|
operationId: 'accessGrantsDeleteDelete',
|
|
24866
24866
|
parameters: [
|
|
24867
24867
|
{
|
|
@@ -24869,7 +24869,7 @@ export default {
|
|
|
24869
24869
|
name: 'access_grant_id',
|
|
24870
24870
|
required: true,
|
|
24871
24871
|
schema: {
|
|
24872
|
-
description: 'ID of
|
|
24872
|
+
description: 'ID of Access Grant to delete.',
|
|
24873
24873
|
format: 'uuid',
|
|
24874
24874
|
type: 'string',
|
|
24875
24875
|
},
|
|
@@ -24906,7 +24906,7 @@ export default {
|
|
|
24906
24906
|
'x-title': 'Delete an Access Grant',
|
|
24907
24907
|
},
|
|
24908
24908
|
post: {
|
|
24909
|
-
description: 'Delete an
|
|
24909
|
+
description: 'Delete an Access Grant.',
|
|
24910
24910
|
operationId: 'accessGrantsDeletePost',
|
|
24911
24911
|
requestBody: {
|
|
24912
24912
|
content: {
|
|
@@ -24914,7 +24914,7 @@ export default {
|
|
|
24914
24914
|
schema: {
|
|
24915
24915
|
properties: {
|
|
24916
24916
|
access_grant_id: {
|
|
24917
|
-
description: 'ID of
|
|
24917
|
+
description: 'ID of Access Grant to delete.',
|
|
24918
24918
|
format: 'uuid',
|
|
24919
24919
|
type: 'string',
|
|
24920
24920
|
},
|
|
@@ -24958,7 +24958,7 @@ export default {
|
|
|
24958
24958
|
},
|
|
24959
24959
|
'/access_grants/get': {
|
|
24960
24960
|
get: {
|
|
24961
|
-
description: 'Get an
|
|
24961
|
+
description: 'Get an Access Grant.',
|
|
24962
24962
|
operationId: 'accessGrantsGetGet',
|
|
24963
24963
|
parameters: [
|
|
24964
24964
|
{
|
|
@@ -24966,7 +24966,7 @@ export default {
|
|
|
24966
24966
|
name: 'access_grant_id',
|
|
24967
24967
|
required: true,
|
|
24968
24968
|
schema: {
|
|
24969
|
-
description: 'ID of
|
|
24969
|
+
description: 'ID of Access Grant to get.',
|
|
24970
24970
|
format: 'uuid',
|
|
24971
24971
|
type: 'string',
|
|
24972
24972
|
},
|
|
@@ -25007,7 +25007,7 @@ export default {
|
|
|
25007
25007
|
'x-title': 'Get an Access Grant',
|
|
25008
25008
|
},
|
|
25009
25009
|
post: {
|
|
25010
|
-
description: 'Get an
|
|
25010
|
+
description: 'Get an Access Grant.',
|
|
25011
25011
|
operationId: 'accessGrantsGetPost',
|
|
25012
25012
|
requestBody: {
|
|
25013
25013
|
content: {
|
|
@@ -25015,7 +25015,7 @@ export default {
|
|
|
25015
25015
|
schema: {
|
|
25016
25016
|
properties: {
|
|
25017
25017
|
access_grant_id: {
|
|
25018
|
-
description: 'ID of
|
|
25018
|
+
description: 'ID of Access Grant to get.',
|
|
25019
25019
|
format: 'uuid',
|
|
25020
25020
|
type: 'string',
|
|
25021
25021
|
},
|
|
@@ -25063,14 +25063,14 @@ export default {
|
|
|
25063
25063
|
},
|
|
25064
25064
|
'/access_grants/list': {
|
|
25065
25065
|
get: {
|
|
25066
|
-
description: '
|
|
25066
|
+
description: 'Gets an Access Grant.',
|
|
25067
25067
|
operationId: 'accessGrantsListGet',
|
|
25068
25068
|
parameters: [
|
|
25069
25069
|
{
|
|
25070
25070
|
in: 'query',
|
|
25071
25071
|
name: 'user_identity_id',
|
|
25072
25072
|
schema: {
|
|
25073
|
-
description: 'ID of user identity to filter list of
|
|
25073
|
+
description: 'ID of user identity by which you want to filter the list of Access Grants.',
|
|
25074
25074
|
format: 'uuid',
|
|
25075
25075
|
type: 'string',
|
|
25076
25076
|
},
|
|
@@ -25079,7 +25079,7 @@ export default {
|
|
|
25079
25079
|
in: 'query',
|
|
25080
25080
|
name: 'acs_system_id',
|
|
25081
25081
|
schema: {
|
|
25082
|
-
description: 'ID of system to filter list of
|
|
25082
|
+
description: 'ID of the access system by which you want to filter the list of Access Grants.',
|
|
25083
25083
|
format: 'uuid',
|
|
25084
25084
|
type: 'string',
|
|
25085
25085
|
},
|
|
@@ -25088,7 +25088,7 @@ export default {
|
|
|
25088
25088
|
in: 'query',
|
|
25089
25089
|
name: 'acs_entrance_id',
|
|
25090
25090
|
schema: {
|
|
25091
|
-
description: 'ID of entrance to filter list of
|
|
25091
|
+
description: 'ID of the entrance by which you want to filter the list of Access Grants.',
|
|
25092
25092
|
format: 'uuid',
|
|
25093
25093
|
type: 'string',
|
|
25094
25094
|
},
|
|
@@ -25107,7 +25107,7 @@ export default {
|
|
|
25107
25107
|
in: 'query',
|
|
25108
25108
|
name: 'space_id',
|
|
25109
25109
|
schema: {
|
|
25110
|
-
description: 'ID of space to filter list of
|
|
25110
|
+
description: 'ID of the space by which you want to filter the list of Access Grants.',
|
|
25111
25111
|
format: 'uuid',
|
|
25112
25112
|
type: 'string',
|
|
25113
25113
|
},
|
|
@@ -25151,7 +25151,7 @@ export default {
|
|
|
25151
25151
|
'x-title': 'List Access Grants',
|
|
25152
25152
|
},
|
|
25153
25153
|
post: {
|
|
25154
|
-
description: '
|
|
25154
|
+
description: 'Gets an Access Grant.',
|
|
25155
25155
|
operationId: 'accessGrantsListPost',
|
|
25156
25156
|
requestBody: {
|
|
25157
25157
|
content: {
|
|
@@ -25159,12 +25159,12 @@ export default {
|
|
|
25159
25159
|
schema: {
|
|
25160
25160
|
properties: {
|
|
25161
25161
|
acs_entrance_id: {
|
|
25162
|
-
description: 'ID of entrance to filter list of
|
|
25162
|
+
description: 'ID of the entrance by which you want to filter the list of Access Grants.',
|
|
25163
25163
|
format: 'uuid',
|
|
25164
25164
|
type: 'string',
|
|
25165
25165
|
},
|
|
25166
25166
|
acs_system_id: {
|
|
25167
|
-
description: 'ID of system to filter list of
|
|
25167
|
+
description: 'ID of the access system by which you want to filter the list of Access Grants.',
|
|
25168
25168
|
format: 'uuid',
|
|
25169
25169
|
type: 'string',
|
|
25170
25170
|
},
|
|
@@ -25175,12 +25175,12 @@ export default {
|
|
|
25175
25175
|
'x-deprecated': 'Use `space_id`.',
|
|
25176
25176
|
},
|
|
25177
25177
|
space_id: {
|
|
25178
|
-
description: 'ID of space to filter list of
|
|
25178
|
+
description: 'ID of the space by which you want to filter the list of Access Grants.',
|
|
25179
25179
|
format: 'uuid',
|
|
25180
25180
|
type: 'string',
|
|
25181
25181
|
},
|
|
25182
25182
|
user_identity_id: {
|
|
25183
|
-
description: 'ID of user identity to filter list of
|
|
25183
|
+
description: 'ID of user identity by which you want to filter the list of Access Grants.',
|
|
25184
25184
|
format: 'uuid',
|
|
25185
25185
|
type: 'string',
|
|
25186
25186
|
},
|
|
@@ -25230,7 +25230,7 @@ export default {
|
|
|
25230
25230
|
},
|
|
25231
25231
|
'/access_grants/update': {
|
|
25232
25232
|
patch: {
|
|
25233
|
-
description: "Updates an existing
|
|
25233
|
+
description: "Updates an existing Access Grant's time window.",
|
|
25234
25234
|
operationId: 'accessGrantsUpdatePatch',
|
|
25235
25235
|
requestBody: {
|
|
25236
25236
|
content: {
|
|
@@ -25238,7 +25238,7 @@ export default {
|
|
|
25238
25238
|
schema: {
|
|
25239
25239
|
properties: {
|
|
25240
25240
|
access_grant_id: {
|
|
25241
|
-
description: 'ID of the
|
|
25241
|
+
description: 'ID of the Access Grant to update.',
|
|
25242
25242
|
format: 'uuid',
|
|
25243
25243
|
type: 'string',
|
|
25244
25244
|
},
|
|
@@ -25292,7 +25292,7 @@ export default {
|
|
|
25292
25292
|
'x-title': 'Update an Access Grant',
|
|
25293
25293
|
},
|
|
25294
25294
|
post: {
|
|
25295
|
-
description: "Updates an existing
|
|
25295
|
+
description: "Updates an existing Access Grant's time window.",
|
|
25296
25296
|
operationId: 'accessGrantsUpdatePost',
|
|
25297
25297
|
requestBody: {
|
|
25298
25298
|
content: {
|
|
@@ -25300,7 +25300,7 @@ export default {
|
|
|
25300
25300
|
schema: {
|
|
25301
25301
|
properties: {
|
|
25302
25302
|
access_grant_id: {
|
|
25303
|
-
description: 'ID of the
|
|
25303
|
+
description: 'ID of the Access Grant to update.',
|
|
25304
25304
|
format: 'uuid',
|
|
25305
25305
|
type: 'string',
|
|
25306
25306
|
},
|
|
@@ -25356,7 +25356,7 @@ export default {
|
|
|
25356
25356
|
},
|
|
25357
25357
|
'/access_methods/delete': {
|
|
25358
25358
|
delete: {
|
|
25359
|
-
description: '
|
|
25359
|
+
description: 'Deletes an access method.',
|
|
25360
25360
|
operationId: 'accessMethodsDeleteDelete',
|
|
25361
25361
|
parameters: [
|
|
25362
25362
|
{
|
|
@@ -25400,7 +25400,7 @@ export default {
|
|
|
25400
25400
|
'x-title': 'Delete an Access Method',
|
|
25401
25401
|
},
|
|
25402
25402
|
post: {
|
|
25403
|
-
description: '
|
|
25403
|
+
description: 'Deletes an access method.',
|
|
25404
25404
|
operationId: 'accessMethodsDeletePost',
|
|
25405
25405
|
requestBody: {
|
|
25406
25406
|
content: {
|
|
@@ -25451,7 +25451,7 @@ export default {
|
|
|
25451
25451
|
},
|
|
25452
25452
|
'/access_methods/encode': {
|
|
25453
25453
|
post: {
|
|
25454
|
-
description: 'Encodes an existing
|
|
25454
|
+
description: 'Encodes an existing access method onto a plastic card placed on the specified [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).',
|
|
25455
25455
|
operationId: 'accessMethodsEncodePost',
|
|
25456
25456
|
requestBody: {
|
|
25457
25457
|
content: {
|
|
@@ -25464,7 +25464,7 @@ export default {
|
|
|
25464
25464
|
type: 'string',
|
|
25465
25465
|
},
|
|
25466
25466
|
acs_encoder_id: {
|
|
25467
|
-
description: 'ID of the `acs_encoder` to use to encode the `
|
|
25467
|
+
description: 'ID of the `acs_encoder` to use to encode the `access_method`.',
|
|
25468
25468
|
format: 'uuid',
|
|
25469
25469
|
type: 'string',
|
|
25470
25470
|
},
|
|
@@ -25513,7 +25513,7 @@ export default {
|
|
|
25513
25513
|
},
|
|
25514
25514
|
'/access_methods/get': {
|
|
25515
25515
|
get: {
|
|
25516
|
-
description: '
|
|
25516
|
+
description: 'Gets an access method.',
|
|
25517
25517
|
operationId: 'accessMethodsGetGet',
|
|
25518
25518
|
parameters: [
|
|
25519
25519
|
{
|
|
@@ -25563,7 +25563,7 @@ export default {
|
|
|
25563
25563
|
'x-title': 'Get an Access Method',
|
|
25564
25564
|
},
|
|
25565
25565
|
post: {
|
|
25566
|
-
description: '
|
|
25566
|
+
description: 'Gets an access method.',
|
|
25567
25567
|
operationId: 'accessMethodsGetPost',
|
|
25568
25568
|
requestBody: {
|
|
25569
25569
|
content: {
|
|
@@ -25620,7 +25620,7 @@ export default {
|
|
|
25620
25620
|
},
|
|
25621
25621
|
'/access_methods/list': {
|
|
25622
25622
|
get: {
|
|
25623
|
-
description: '
|
|
25623
|
+
description: 'Lists all access methods, usually filtered by Access Grant.',
|
|
25624
25624
|
operationId: 'accessMethodsListGet',
|
|
25625
25625
|
parameters: [
|
|
25626
25626
|
{
|
|
@@ -25628,7 +25628,7 @@ export default {
|
|
|
25628
25628
|
name: 'access_grant_id',
|
|
25629
25629
|
required: true,
|
|
25630
25630
|
schema: {
|
|
25631
|
-
description: 'ID of
|
|
25631
|
+
description: 'ID of Access Grant to list access methods for.',
|
|
25632
25632
|
format: 'uuid',
|
|
25633
25633
|
type: 'string',
|
|
25634
25634
|
},
|
|
@@ -25701,7 +25701,7 @@ export default {
|
|
|
25701
25701
|
'x-title': 'List Access Methods',
|
|
25702
25702
|
},
|
|
25703
25703
|
post: {
|
|
25704
|
-
description: '
|
|
25704
|
+
description: 'Lists all access methods, usually filtered by Access Grant.',
|
|
25705
25705
|
operationId: 'accessMethodsListPost',
|
|
25706
25706
|
requestBody: {
|
|
25707
25707
|
content: {
|
|
@@ -25709,7 +25709,7 @@ export default {
|
|
|
25709
25709
|
schema: {
|
|
25710
25710
|
properties: {
|
|
25711
25711
|
access_grant_id: {
|
|
25712
|
-
description: 'ID of
|
|
25712
|
+
description: 'ID of Access Grant to list access methods for.',
|
|
25713
25713
|
format: 'uuid',
|
|
25714
25714
|
type: 'string',
|
|
25715
25715
|
},
|