@seamapi/types 1.411.0 → 1.412.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 +240 -754
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +408 -694
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +26 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +26 -0
- package/lib/seam/connect/models/devices/device.d.ts +87 -0
- package/lib/seam/connect/models/devices/device.js +9 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -0
- package/lib/seam/connect/openapi.d.ts +144 -694
- package/lib/seam/connect/openapi.js +233 -752
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +144 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/device.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +252 -836
- package/src/lib/seam/connect/route-types.ts +168 -0
|
@@ -1090,6 +1090,28 @@ export default {
|
|
|
1090
1090
|
],
|
|
1091
1091
|
type: 'object',
|
|
1092
1092
|
},
|
|
1093
|
+
{
|
|
1094
|
+
description:
|
|
1095
|
+
'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
1096
|
+
properties: {
|
|
1097
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
1098
|
+
error_code: {
|
|
1099
|
+
description:
|
|
1100
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1101
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
1102
|
+
type: 'string',
|
|
1103
|
+
},
|
|
1104
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
1105
|
+
message: { type: 'string' },
|
|
1106
|
+
},
|
|
1107
|
+
required: [
|
|
1108
|
+
'message',
|
|
1109
|
+
'is_device_error',
|
|
1110
|
+
'created_at',
|
|
1111
|
+
'error_code',
|
|
1112
|
+
],
|
|
1113
|
+
type: 'object',
|
|
1114
|
+
},
|
|
1093
1115
|
{
|
|
1094
1116
|
description: 'Credentials provided were invalid.',
|
|
1095
1117
|
properties: {
|
|
@@ -1561,6 +1583,160 @@ export default {
|
|
|
1561
1583
|
type: 'object',
|
|
1562
1584
|
'x-route-path': '/access_codes',
|
|
1563
1585
|
},
|
|
1586
|
+
access_grant: {
|
|
1587
|
+
properties: {
|
|
1588
|
+
access_grant_id: {
|
|
1589
|
+
description: 'ID of the access grant.',
|
|
1590
|
+
format: 'uuid',
|
|
1591
|
+
type: 'string',
|
|
1592
|
+
},
|
|
1593
|
+
access_method_ids: {
|
|
1594
|
+
description:
|
|
1595
|
+
'IDs of the access methods that were created for this access grant.',
|
|
1596
|
+
items: { format: 'uuid', type: 'string' },
|
|
1597
|
+
type: 'array',
|
|
1598
|
+
},
|
|
1599
|
+
created_at: {
|
|
1600
|
+
description: 'Date and time at which the access grant was created.',
|
|
1601
|
+
format: 'date-time',
|
|
1602
|
+
type: 'string',
|
|
1603
|
+
},
|
|
1604
|
+
display_name: {
|
|
1605
|
+
description: 'Display name of the access grant.',
|
|
1606
|
+
type: 'string',
|
|
1607
|
+
},
|
|
1608
|
+
location_ids: {
|
|
1609
|
+
deprecated: true,
|
|
1610
|
+
items: { format: 'uuid', type: 'string' },
|
|
1611
|
+
type: 'array',
|
|
1612
|
+
'x-deprecated': 'Use `space_ids`.',
|
|
1613
|
+
},
|
|
1614
|
+
requested_access_methods: {
|
|
1615
|
+
description:
|
|
1616
|
+
'Access methods that the user requested for this access grant.',
|
|
1617
|
+
items: {
|
|
1618
|
+
properties: {
|
|
1619
|
+
created_access_method_ids: {
|
|
1620
|
+
description:
|
|
1621
|
+
'IDs of the access methods that were created for this requested access method.',
|
|
1622
|
+
items: { format: 'uuid', type: 'string' },
|
|
1623
|
+
type: 'array',
|
|
1624
|
+
},
|
|
1625
|
+
created_at: {
|
|
1626
|
+
description:
|
|
1627
|
+
'Date and time at which the requested access method was added to this access grant.',
|
|
1628
|
+
format: 'date-time',
|
|
1629
|
+
type: 'string',
|
|
1630
|
+
},
|
|
1631
|
+
display_name: {
|
|
1632
|
+
description: 'Display name of the access method.',
|
|
1633
|
+
type: 'string',
|
|
1634
|
+
},
|
|
1635
|
+
mode: {
|
|
1636
|
+
description:
|
|
1637
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
1638
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
1639
|
+
type: 'string',
|
|
1640
|
+
},
|
|
1641
|
+
},
|
|
1642
|
+
required: [
|
|
1643
|
+
'display_name',
|
|
1644
|
+
'mode',
|
|
1645
|
+
'created_at',
|
|
1646
|
+
'created_access_method_ids',
|
|
1647
|
+
],
|
|
1648
|
+
type: 'object',
|
|
1649
|
+
},
|
|
1650
|
+
type: 'array',
|
|
1651
|
+
},
|
|
1652
|
+
space_ids: {
|
|
1653
|
+
description: 'IDs of the spaces to which access is being given.',
|
|
1654
|
+
items: { format: 'uuid', type: 'string' },
|
|
1655
|
+
type: 'array',
|
|
1656
|
+
},
|
|
1657
|
+
user_identity_id: {
|
|
1658
|
+
description:
|
|
1659
|
+
'ID of user identity to which access is being granted.',
|
|
1660
|
+
format: 'uuid',
|
|
1661
|
+
type: 'string',
|
|
1662
|
+
},
|
|
1663
|
+
workspace_id: {
|
|
1664
|
+
description:
|
|
1665
|
+
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
1666
|
+
format: 'uuid',
|
|
1667
|
+
type: 'string',
|
|
1668
|
+
},
|
|
1669
|
+
},
|
|
1670
|
+
required: [
|
|
1671
|
+
'workspace_id',
|
|
1672
|
+
'access_grant_id',
|
|
1673
|
+
'user_identity_id',
|
|
1674
|
+
'location_ids',
|
|
1675
|
+
'space_ids',
|
|
1676
|
+
'requested_access_methods',
|
|
1677
|
+
'access_method_ids',
|
|
1678
|
+
'display_name',
|
|
1679
|
+
'created_at',
|
|
1680
|
+
],
|
|
1681
|
+
type: 'object',
|
|
1682
|
+
'x-draft': 'Early access.',
|
|
1683
|
+
'x-route-path': '/access_grants',
|
|
1684
|
+
},
|
|
1685
|
+
access_method: {
|
|
1686
|
+
properties: {
|
|
1687
|
+
access_method_id: {
|
|
1688
|
+
description: 'ID of the access method.',
|
|
1689
|
+
format: 'uuid',
|
|
1690
|
+
type: 'string',
|
|
1691
|
+
},
|
|
1692
|
+
created_at: {
|
|
1693
|
+
description:
|
|
1694
|
+
'Date and time at which the access method was created.',
|
|
1695
|
+
format: 'date-time',
|
|
1696
|
+
type: 'string',
|
|
1697
|
+
},
|
|
1698
|
+
display_name: {
|
|
1699
|
+
description: 'Display name of the access method.',
|
|
1700
|
+
type: 'string',
|
|
1701
|
+
},
|
|
1702
|
+
instant_key_url: {
|
|
1703
|
+
description: 'URL of instant key for mobile key access methods.',
|
|
1704
|
+
type: 'string',
|
|
1705
|
+
},
|
|
1706
|
+
is_card_encoding_required: {
|
|
1707
|
+
description:
|
|
1708
|
+
'Whether card encoding is required for plastic card access methods.',
|
|
1709
|
+
type: 'boolean',
|
|
1710
|
+
},
|
|
1711
|
+
issued_at: {
|
|
1712
|
+
description: 'Date and time at which the access method was issued.',
|
|
1713
|
+
format: 'date-time',
|
|
1714
|
+
type: 'string',
|
|
1715
|
+
},
|
|
1716
|
+
mode: {
|
|
1717
|
+
description:
|
|
1718
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
1719
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
1720
|
+
type: 'string',
|
|
1721
|
+
},
|
|
1722
|
+
workspace_id: {
|
|
1723
|
+
description:
|
|
1724
|
+
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
1725
|
+
format: 'uuid',
|
|
1726
|
+
type: 'string',
|
|
1727
|
+
},
|
|
1728
|
+
},
|
|
1729
|
+
required: [
|
|
1730
|
+
'workspace_id',
|
|
1731
|
+
'access_method_id',
|
|
1732
|
+
'display_name',
|
|
1733
|
+
'mode',
|
|
1734
|
+
'created_at',
|
|
1735
|
+
],
|
|
1736
|
+
type: 'object',
|
|
1737
|
+
'x-draft': 'Early access.',
|
|
1738
|
+
'x-route-path': '/access_methods',
|
|
1739
|
+
},
|
|
1564
1740
|
acs_access_group: {
|
|
1565
1741
|
description:
|
|
1566
1742
|
'Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.\n\nSome access control systems use [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.\n\nTo learn whether your access control system supports access groups, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems).',
|
|
@@ -8165,6 +8341,28 @@ export default {
|
|
|
8165
8341
|
],
|
|
8166
8342
|
type: 'object',
|
|
8167
8343
|
},
|
|
8344
|
+
{
|
|
8345
|
+
description:
|
|
8346
|
+
'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
8347
|
+
properties: {
|
|
8348
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
8349
|
+
error_code: {
|
|
8350
|
+
description:
|
|
8351
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
8352
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
8353
|
+
type: 'string',
|
|
8354
|
+
},
|
|
8355
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
8356
|
+
message: { type: 'string' },
|
|
8357
|
+
},
|
|
8358
|
+
required: [
|
|
8359
|
+
'message',
|
|
8360
|
+
'is_device_error',
|
|
8361
|
+
'created_at',
|
|
8362
|
+
'error_code',
|
|
8363
|
+
],
|
|
8364
|
+
type: 'object',
|
|
8365
|
+
},
|
|
8168
8366
|
{
|
|
8169
8367
|
description: 'Credentials provided were invalid.',
|
|
8170
8368
|
properties: {
|
|
@@ -18050,6 +18248,28 @@ export default {
|
|
|
18050
18248
|
],
|
|
18051
18249
|
type: 'object',
|
|
18052
18250
|
},
|
|
18251
|
+
{
|
|
18252
|
+
description:
|
|
18253
|
+
'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
18254
|
+
properties: {
|
|
18255
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
18256
|
+
error_code: {
|
|
18257
|
+
description:
|
|
18258
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
18259
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
18260
|
+
type: 'string',
|
|
18261
|
+
},
|
|
18262
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
18263
|
+
message: { type: 'string' },
|
|
18264
|
+
},
|
|
18265
|
+
required: [
|
|
18266
|
+
'message',
|
|
18267
|
+
'is_device_error',
|
|
18268
|
+
'created_at',
|
|
18269
|
+
'error_code',
|
|
18270
|
+
],
|
|
18271
|
+
type: 'object',
|
|
18272
|
+
},
|
|
18053
18273
|
{
|
|
18054
18274
|
description: 'Credentials provided were invalid.',
|
|
18055
18275
|
properties: {
|
|
@@ -20009,6 +20229,28 @@ export default {
|
|
|
20009
20229
|
],
|
|
20010
20230
|
type: 'object',
|
|
20011
20231
|
},
|
|
20232
|
+
{
|
|
20233
|
+
description:
|
|
20234
|
+
'Lockly lock is not connected to a Wi-Fi bridge.',
|
|
20235
|
+
properties: {
|
|
20236
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
20237
|
+
error_code: {
|
|
20238
|
+
description:
|
|
20239
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
20240
|
+
enum: ['lockly_missing_wifi_bridge'],
|
|
20241
|
+
type: 'string',
|
|
20242
|
+
},
|
|
20243
|
+
is_device_error: { enum: [true], type: 'boolean' },
|
|
20244
|
+
message: { type: 'string' },
|
|
20245
|
+
},
|
|
20246
|
+
required: [
|
|
20247
|
+
'message',
|
|
20248
|
+
'is_device_error',
|
|
20249
|
+
'created_at',
|
|
20250
|
+
'error_code',
|
|
20251
|
+
],
|
|
20252
|
+
type: 'object',
|
|
20253
|
+
},
|
|
20012
20254
|
{
|
|
20013
20255
|
description: 'Credentials provided were invalid.',
|
|
20014
20256
|
properties: {
|
|
@@ -22854,108 +23096,7 @@ export default {
|
|
|
22854
23096
|
'application/json': {
|
|
22855
23097
|
schema: {
|
|
22856
23098
|
properties: {
|
|
22857
|
-
access_grant: {
|
|
22858
|
-
properties: {
|
|
22859
|
-
access_grant_id: {
|
|
22860
|
-
description: 'ID of the access grant.',
|
|
22861
|
-
format: 'uuid',
|
|
22862
|
-
type: 'string',
|
|
22863
|
-
},
|
|
22864
|
-
access_method_ids: {
|
|
22865
|
-
description:
|
|
22866
|
-
'IDs of the access methods that were created for this access grant.',
|
|
22867
|
-
items: { format: 'uuid', type: 'string' },
|
|
22868
|
-
type: 'array',
|
|
22869
|
-
},
|
|
22870
|
-
created_at: {
|
|
22871
|
-
description:
|
|
22872
|
-
'Date and time at which the access grant was created.',
|
|
22873
|
-
format: 'date-time',
|
|
22874
|
-
type: 'string',
|
|
22875
|
-
},
|
|
22876
|
-
display_name: {
|
|
22877
|
-
description: 'Display name of the access grant.',
|
|
22878
|
-
type: 'string',
|
|
22879
|
-
},
|
|
22880
|
-
location_ids: {
|
|
22881
|
-
deprecated: true,
|
|
22882
|
-
items: { format: 'uuid', type: 'string' },
|
|
22883
|
-
type: 'array',
|
|
22884
|
-
'x-deprecated': 'Use `space_ids`.',
|
|
22885
|
-
},
|
|
22886
|
-
requested_access_methods: {
|
|
22887
|
-
description:
|
|
22888
|
-
'Access methods that the user requested for this access grant.',
|
|
22889
|
-
items: {
|
|
22890
|
-
properties: {
|
|
22891
|
-
created_access_method_ids: {
|
|
22892
|
-
description:
|
|
22893
|
-
'IDs of the access methods that were created for this requested access method.',
|
|
22894
|
-
items: { format: 'uuid', type: 'string' },
|
|
22895
|
-
type: 'array',
|
|
22896
|
-
},
|
|
22897
|
-
created_at: {
|
|
22898
|
-
description:
|
|
22899
|
-
'Date and time at which the requested access method was added to this access grant.',
|
|
22900
|
-
format: 'date-time',
|
|
22901
|
-
type: 'string',
|
|
22902
|
-
},
|
|
22903
|
-
display_name: {
|
|
22904
|
-
description:
|
|
22905
|
-
'Display name of the access method.',
|
|
22906
|
-
type: 'string',
|
|
22907
|
-
},
|
|
22908
|
-
mode: {
|
|
22909
|
-
description:
|
|
22910
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
22911
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
22912
|
-
type: 'string',
|
|
22913
|
-
},
|
|
22914
|
-
},
|
|
22915
|
-
required: [
|
|
22916
|
-
'display_name',
|
|
22917
|
-
'mode',
|
|
22918
|
-
'created_at',
|
|
22919
|
-
'created_access_method_ids',
|
|
22920
|
-
],
|
|
22921
|
-
type: 'object',
|
|
22922
|
-
},
|
|
22923
|
-
type: 'array',
|
|
22924
|
-
},
|
|
22925
|
-
space_ids: {
|
|
22926
|
-
description:
|
|
22927
|
-
'IDs of the spaces to which access is being given.',
|
|
22928
|
-
items: { format: 'uuid', type: 'string' },
|
|
22929
|
-
type: 'array',
|
|
22930
|
-
},
|
|
22931
|
-
user_identity_id: {
|
|
22932
|
-
description:
|
|
22933
|
-
'ID of user identity to which access is being granted.',
|
|
22934
|
-
format: 'uuid',
|
|
22935
|
-
type: 'string',
|
|
22936
|
-
},
|
|
22937
|
-
workspace_id: {
|
|
22938
|
-
description:
|
|
22939
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
22940
|
-
format: 'uuid',
|
|
22941
|
-
type: 'string',
|
|
22942
|
-
},
|
|
22943
|
-
},
|
|
22944
|
-
required: [
|
|
22945
|
-
'workspace_id',
|
|
22946
|
-
'access_grant_id',
|
|
22947
|
-
'user_identity_id',
|
|
22948
|
-
'location_ids',
|
|
22949
|
-
'space_ids',
|
|
22950
|
-
'requested_access_methods',
|
|
22951
|
-
'access_method_ids',
|
|
22952
|
-
'display_name',
|
|
22953
|
-
'created_at',
|
|
22954
|
-
],
|
|
22955
|
-
type: 'object',
|
|
22956
|
-
'x-draft': 'Early access.',
|
|
22957
|
-
'x-route-path': '/access_grants',
|
|
22958
|
-
},
|
|
23099
|
+
access_grant: { $ref: '#/components/schemas/access_grant' },
|
|
22959
23100
|
ok: { type: 'boolean' },
|
|
22960
23101
|
},
|
|
22961
23102
|
required: ['access_grant', 'ok'],
|
|
@@ -23063,108 +23204,7 @@ export default {
|
|
|
23063
23204
|
'application/json': {
|
|
23064
23205
|
schema: {
|
|
23065
23206
|
properties: {
|
|
23066
|
-
access_grant: {
|
|
23067
|
-
properties: {
|
|
23068
|
-
access_grant_id: {
|
|
23069
|
-
description: 'ID of the access grant.',
|
|
23070
|
-
format: 'uuid',
|
|
23071
|
-
type: 'string',
|
|
23072
|
-
},
|
|
23073
|
-
access_method_ids: {
|
|
23074
|
-
description:
|
|
23075
|
-
'IDs of the access methods that were created for this access grant.',
|
|
23076
|
-
items: { format: 'uuid', type: 'string' },
|
|
23077
|
-
type: 'array',
|
|
23078
|
-
},
|
|
23079
|
-
created_at: {
|
|
23080
|
-
description:
|
|
23081
|
-
'Date and time at which the access grant was created.',
|
|
23082
|
-
format: 'date-time',
|
|
23083
|
-
type: 'string',
|
|
23084
|
-
},
|
|
23085
|
-
display_name: {
|
|
23086
|
-
description: 'Display name of the access grant.',
|
|
23087
|
-
type: 'string',
|
|
23088
|
-
},
|
|
23089
|
-
location_ids: {
|
|
23090
|
-
deprecated: true,
|
|
23091
|
-
items: { format: 'uuid', type: 'string' },
|
|
23092
|
-
type: 'array',
|
|
23093
|
-
'x-deprecated': 'Use `space_ids`.',
|
|
23094
|
-
},
|
|
23095
|
-
requested_access_methods: {
|
|
23096
|
-
description:
|
|
23097
|
-
'Access methods that the user requested for this access grant.',
|
|
23098
|
-
items: {
|
|
23099
|
-
properties: {
|
|
23100
|
-
created_access_method_ids: {
|
|
23101
|
-
description:
|
|
23102
|
-
'IDs of the access methods that were created for this requested access method.',
|
|
23103
|
-
items: { format: 'uuid', type: 'string' },
|
|
23104
|
-
type: 'array',
|
|
23105
|
-
},
|
|
23106
|
-
created_at: {
|
|
23107
|
-
description:
|
|
23108
|
-
'Date and time at which the requested access method was added to this access grant.',
|
|
23109
|
-
format: 'date-time',
|
|
23110
|
-
type: 'string',
|
|
23111
|
-
},
|
|
23112
|
-
display_name: {
|
|
23113
|
-
description:
|
|
23114
|
-
'Display name of the access method.',
|
|
23115
|
-
type: 'string',
|
|
23116
|
-
},
|
|
23117
|
-
mode: {
|
|
23118
|
-
description:
|
|
23119
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
23120
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
23121
|
-
type: 'string',
|
|
23122
|
-
},
|
|
23123
|
-
},
|
|
23124
|
-
required: [
|
|
23125
|
-
'display_name',
|
|
23126
|
-
'mode',
|
|
23127
|
-
'created_at',
|
|
23128
|
-
'created_access_method_ids',
|
|
23129
|
-
],
|
|
23130
|
-
type: 'object',
|
|
23131
|
-
},
|
|
23132
|
-
type: 'array',
|
|
23133
|
-
},
|
|
23134
|
-
space_ids: {
|
|
23135
|
-
description:
|
|
23136
|
-
'IDs of the spaces to which access is being given.',
|
|
23137
|
-
items: { format: 'uuid', type: 'string' },
|
|
23138
|
-
type: 'array',
|
|
23139
|
-
},
|
|
23140
|
-
user_identity_id: {
|
|
23141
|
-
description:
|
|
23142
|
-
'ID of user identity to which access is being granted.',
|
|
23143
|
-
format: 'uuid',
|
|
23144
|
-
type: 'string',
|
|
23145
|
-
},
|
|
23146
|
-
workspace_id: {
|
|
23147
|
-
description:
|
|
23148
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
23149
|
-
format: 'uuid',
|
|
23150
|
-
type: 'string',
|
|
23151
|
-
},
|
|
23152
|
-
},
|
|
23153
|
-
required: [
|
|
23154
|
-
'workspace_id',
|
|
23155
|
-
'access_grant_id',
|
|
23156
|
-
'user_identity_id',
|
|
23157
|
-
'location_ids',
|
|
23158
|
-
'space_ids',
|
|
23159
|
-
'requested_access_methods',
|
|
23160
|
-
'access_method_ids',
|
|
23161
|
-
'display_name',
|
|
23162
|
-
'created_at',
|
|
23163
|
-
],
|
|
23164
|
-
type: 'object',
|
|
23165
|
-
'x-draft': 'Early access.',
|
|
23166
|
-
'x-route-path': '/access_grants',
|
|
23167
|
-
},
|
|
23207
|
+
access_grant: { $ref: '#/components/schemas/access_grant' },
|
|
23168
23208
|
ok: { type: 'boolean' },
|
|
23169
23209
|
},
|
|
23170
23210
|
required: ['access_grant', 'ok'],
|
|
@@ -23245,108 +23285,7 @@ export default {
|
|
|
23245
23285
|
schema: {
|
|
23246
23286
|
properties: {
|
|
23247
23287
|
access_grants: {
|
|
23248
|
-
items: {
|
|
23249
|
-
properties: {
|
|
23250
|
-
access_grant_id: {
|
|
23251
|
-
description: 'ID of the access grant.',
|
|
23252
|
-
format: 'uuid',
|
|
23253
|
-
type: 'string',
|
|
23254
|
-
},
|
|
23255
|
-
access_method_ids: {
|
|
23256
|
-
description:
|
|
23257
|
-
'IDs of the access methods that were created for this access grant.',
|
|
23258
|
-
items: { format: 'uuid', type: 'string' },
|
|
23259
|
-
type: 'array',
|
|
23260
|
-
},
|
|
23261
|
-
created_at: {
|
|
23262
|
-
description:
|
|
23263
|
-
'Date and time at which the access grant was created.',
|
|
23264
|
-
format: 'date-time',
|
|
23265
|
-
type: 'string',
|
|
23266
|
-
},
|
|
23267
|
-
display_name: {
|
|
23268
|
-
description: 'Display name of the access grant.',
|
|
23269
|
-
type: 'string',
|
|
23270
|
-
},
|
|
23271
|
-
location_ids: {
|
|
23272
|
-
deprecated: true,
|
|
23273
|
-
items: { format: 'uuid', type: 'string' },
|
|
23274
|
-
type: 'array',
|
|
23275
|
-
'x-deprecated': 'Use `space_ids`.',
|
|
23276
|
-
},
|
|
23277
|
-
requested_access_methods: {
|
|
23278
|
-
description:
|
|
23279
|
-
'Access methods that the user requested for this access grant.',
|
|
23280
|
-
items: {
|
|
23281
|
-
properties: {
|
|
23282
|
-
created_access_method_ids: {
|
|
23283
|
-
description:
|
|
23284
|
-
'IDs of the access methods that were created for this requested access method.',
|
|
23285
|
-
items: { format: 'uuid', type: 'string' },
|
|
23286
|
-
type: 'array',
|
|
23287
|
-
},
|
|
23288
|
-
created_at: {
|
|
23289
|
-
description:
|
|
23290
|
-
'Date and time at which the requested access method was added to this access grant.',
|
|
23291
|
-
format: 'date-time',
|
|
23292
|
-
type: 'string',
|
|
23293
|
-
},
|
|
23294
|
-
display_name: {
|
|
23295
|
-
description:
|
|
23296
|
-
'Display name of the access method.',
|
|
23297
|
-
type: 'string',
|
|
23298
|
-
},
|
|
23299
|
-
mode: {
|
|
23300
|
-
description:
|
|
23301
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
23302
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
23303
|
-
type: 'string',
|
|
23304
|
-
},
|
|
23305
|
-
},
|
|
23306
|
-
required: [
|
|
23307
|
-
'display_name',
|
|
23308
|
-
'mode',
|
|
23309
|
-
'created_at',
|
|
23310
|
-
'created_access_method_ids',
|
|
23311
|
-
],
|
|
23312
|
-
type: 'object',
|
|
23313
|
-
},
|
|
23314
|
-
type: 'array',
|
|
23315
|
-
},
|
|
23316
|
-
space_ids: {
|
|
23317
|
-
description:
|
|
23318
|
-
'IDs of the spaces to which access is being given.',
|
|
23319
|
-
items: { format: 'uuid', type: 'string' },
|
|
23320
|
-
type: 'array',
|
|
23321
|
-
},
|
|
23322
|
-
user_identity_id: {
|
|
23323
|
-
description:
|
|
23324
|
-
'ID of user identity to which access is being granted.',
|
|
23325
|
-
format: 'uuid',
|
|
23326
|
-
type: 'string',
|
|
23327
|
-
},
|
|
23328
|
-
workspace_id: {
|
|
23329
|
-
description:
|
|
23330
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
23331
|
-
format: 'uuid',
|
|
23332
|
-
type: 'string',
|
|
23333
|
-
},
|
|
23334
|
-
},
|
|
23335
|
-
required: [
|
|
23336
|
-
'workspace_id',
|
|
23337
|
-
'access_grant_id',
|
|
23338
|
-
'user_identity_id',
|
|
23339
|
-
'location_ids',
|
|
23340
|
-
'space_ids',
|
|
23341
|
-
'requested_access_methods',
|
|
23342
|
-
'access_method_ids',
|
|
23343
|
-
'display_name',
|
|
23344
|
-
'created_at',
|
|
23345
|
-
],
|
|
23346
|
-
type: 'object',
|
|
23347
|
-
'x-draft': 'Early access.',
|
|
23348
|
-
'x-route-path': '/access_grants',
|
|
23349
|
-
},
|
|
23288
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
23350
23289
|
type: 'array',
|
|
23351
23290
|
},
|
|
23352
23291
|
ok: { type: 'boolean' },
|
|
@@ -23456,61 +23395,7 @@ export default {
|
|
|
23456
23395
|
schema: {
|
|
23457
23396
|
properties: {
|
|
23458
23397
|
access_method: {
|
|
23459
|
-
|
|
23460
|
-
access_method_id: {
|
|
23461
|
-
description: 'ID of the access method.',
|
|
23462
|
-
format: 'uuid',
|
|
23463
|
-
type: 'string',
|
|
23464
|
-
},
|
|
23465
|
-
created_at: {
|
|
23466
|
-
description:
|
|
23467
|
-
'Date and time at which the access method was created.',
|
|
23468
|
-
format: 'date-time',
|
|
23469
|
-
type: 'string',
|
|
23470
|
-
},
|
|
23471
|
-
display_name: {
|
|
23472
|
-
description: 'Display name of the access method.',
|
|
23473
|
-
type: 'string',
|
|
23474
|
-
},
|
|
23475
|
-
instant_key_url: {
|
|
23476
|
-
description:
|
|
23477
|
-
'URL of instant key for mobile key access methods.',
|
|
23478
|
-
type: 'string',
|
|
23479
|
-
},
|
|
23480
|
-
is_card_encoding_required: {
|
|
23481
|
-
description:
|
|
23482
|
-
'Whether card encoding is required for plastic card access methods.',
|
|
23483
|
-
type: 'boolean',
|
|
23484
|
-
},
|
|
23485
|
-
issued_at: {
|
|
23486
|
-
description:
|
|
23487
|
-
'Date and time at which the access method was issued.',
|
|
23488
|
-
format: 'date-time',
|
|
23489
|
-
type: 'string',
|
|
23490
|
-
},
|
|
23491
|
-
mode: {
|
|
23492
|
-
description:
|
|
23493
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
23494
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
23495
|
-
type: 'string',
|
|
23496
|
-
},
|
|
23497
|
-
workspace_id: {
|
|
23498
|
-
description:
|
|
23499
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
23500
|
-
format: 'uuid',
|
|
23501
|
-
type: 'string',
|
|
23502
|
-
},
|
|
23503
|
-
},
|
|
23504
|
-
required: [
|
|
23505
|
-
'workspace_id',
|
|
23506
|
-
'access_method_id',
|
|
23507
|
-
'display_name',
|
|
23508
|
-
'mode',
|
|
23509
|
-
'created_at',
|
|
23510
|
-
],
|
|
23511
|
-
type: 'object',
|
|
23512
|
-
'x-draft': 'Early access.',
|
|
23513
|
-
'x-route-path': '/access_methods',
|
|
23398
|
+
$ref: '#/components/schemas/access_method',
|
|
23514
23399
|
},
|
|
23515
23400
|
ok: { type: 'boolean' },
|
|
23516
23401
|
},
|
|
@@ -23569,63 +23454,7 @@ export default {
|
|
|
23569
23454
|
schema: {
|
|
23570
23455
|
properties: {
|
|
23571
23456
|
access_methods: {
|
|
23572
|
-
items: {
|
|
23573
|
-
properties: {
|
|
23574
|
-
access_method_id: {
|
|
23575
|
-
description: 'ID of the access method.',
|
|
23576
|
-
format: 'uuid',
|
|
23577
|
-
type: 'string',
|
|
23578
|
-
},
|
|
23579
|
-
created_at: {
|
|
23580
|
-
description:
|
|
23581
|
-
'Date and time at which the access method was created.',
|
|
23582
|
-
format: 'date-time',
|
|
23583
|
-
type: 'string',
|
|
23584
|
-
},
|
|
23585
|
-
display_name: {
|
|
23586
|
-
description: 'Display name of the access method.',
|
|
23587
|
-
type: 'string',
|
|
23588
|
-
},
|
|
23589
|
-
instant_key_url: {
|
|
23590
|
-
description:
|
|
23591
|
-
'URL of instant key for mobile key access methods.',
|
|
23592
|
-
type: 'string',
|
|
23593
|
-
},
|
|
23594
|
-
is_card_encoding_required: {
|
|
23595
|
-
description:
|
|
23596
|
-
'Whether card encoding is required for plastic card access methods.',
|
|
23597
|
-
type: 'boolean',
|
|
23598
|
-
},
|
|
23599
|
-
issued_at: {
|
|
23600
|
-
description:
|
|
23601
|
-
'Date and time at which the access method was issued.',
|
|
23602
|
-
format: 'date-time',
|
|
23603
|
-
type: 'string',
|
|
23604
|
-
},
|
|
23605
|
-
mode: {
|
|
23606
|
-
description:
|
|
23607
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
23608
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
23609
|
-
type: 'string',
|
|
23610
|
-
},
|
|
23611
|
-
workspace_id: {
|
|
23612
|
-
description:
|
|
23613
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
23614
|
-
format: 'uuid',
|
|
23615
|
-
type: 'string',
|
|
23616
|
-
},
|
|
23617
|
-
},
|
|
23618
|
-
required: [
|
|
23619
|
-
'workspace_id',
|
|
23620
|
-
'access_method_id',
|
|
23621
|
-
'display_name',
|
|
23622
|
-
'mode',
|
|
23623
|
-
'created_at',
|
|
23624
|
-
],
|
|
23625
|
-
type: 'object',
|
|
23626
|
-
'x-draft': 'Early access.',
|
|
23627
|
-
'x-route-path': '/access_methods',
|
|
23628
|
-
},
|
|
23457
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
23629
23458
|
type: 'array',
|
|
23630
23459
|
},
|
|
23631
23460
|
ok: { type: 'boolean' },
|
|
@@ -37972,108 +37801,7 @@ export default {
|
|
|
37972
37801
|
'application/json': {
|
|
37973
37802
|
schema: {
|
|
37974
37803
|
properties: {
|
|
37975
|
-
access_grant: {
|
|
37976
|
-
properties: {
|
|
37977
|
-
access_grant_id: {
|
|
37978
|
-
description: 'ID of the access grant.',
|
|
37979
|
-
format: 'uuid',
|
|
37980
|
-
type: 'string',
|
|
37981
|
-
},
|
|
37982
|
-
access_method_ids: {
|
|
37983
|
-
description:
|
|
37984
|
-
'IDs of the access methods that were created for this access grant.',
|
|
37985
|
-
items: { format: 'uuid', type: 'string' },
|
|
37986
|
-
type: 'array',
|
|
37987
|
-
},
|
|
37988
|
-
created_at: {
|
|
37989
|
-
description:
|
|
37990
|
-
'Date and time at which the access grant was created.',
|
|
37991
|
-
format: 'date-time',
|
|
37992
|
-
type: 'string',
|
|
37993
|
-
},
|
|
37994
|
-
display_name: {
|
|
37995
|
-
description: 'Display name of the access grant.',
|
|
37996
|
-
type: 'string',
|
|
37997
|
-
},
|
|
37998
|
-
location_ids: {
|
|
37999
|
-
deprecated: true,
|
|
38000
|
-
items: { format: 'uuid', type: 'string' },
|
|
38001
|
-
type: 'array',
|
|
38002
|
-
'x-deprecated': 'Use `space_ids`.',
|
|
38003
|
-
},
|
|
38004
|
-
requested_access_methods: {
|
|
38005
|
-
description:
|
|
38006
|
-
'Access methods that the user requested for this access grant.',
|
|
38007
|
-
items: {
|
|
38008
|
-
properties: {
|
|
38009
|
-
created_access_method_ids: {
|
|
38010
|
-
description:
|
|
38011
|
-
'IDs of the access methods that were created for this requested access method.',
|
|
38012
|
-
items: { format: 'uuid', type: 'string' },
|
|
38013
|
-
type: 'array',
|
|
38014
|
-
},
|
|
38015
|
-
created_at: {
|
|
38016
|
-
description:
|
|
38017
|
-
'Date and time at which the requested access method was added to this access grant.',
|
|
38018
|
-
format: 'date-time',
|
|
38019
|
-
type: 'string',
|
|
38020
|
-
},
|
|
38021
|
-
display_name: {
|
|
38022
|
-
description:
|
|
38023
|
-
'Display name of the access method.',
|
|
38024
|
-
type: 'string',
|
|
38025
|
-
},
|
|
38026
|
-
mode: {
|
|
38027
|
-
description:
|
|
38028
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
38029
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
38030
|
-
type: 'string',
|
|
38031
|
-
},
|
|
38032
|
-
},
|
|
38033
|
-
required: [
|
|
38034
|
-
'display_name',
|
|
38035
|
-
'mode',
|
|
38036
|
-
'created_at',
|
|
38037
|
-
'created_access_method_ids',
|
|
38038
|
-
],
|
|
38039
|
-
type: 'object',
|
|
38040
|
-
},
|
|
38041
|
-
type: 'array',
|
|
38042
|
-
},
|
|
38043
|
-
space_ids: {
|
|
38044
|
-
description:
|
|
38045
|
-
'IDs of the spaces to which access is being given.',
|
|
38046
|
-
items: { format: 'uuid', type: 'string' },
|
|
38047
|
-
type: 'array',
|
|
38048
|
-
},
|
|
38049
|
-
user_identity_id: {
|
|
38050
|
-
description:
|
|
38051
|
-
'ID of user identity to which access is being granted.',
|
|
38052
|
-
format: 'uuid',
|
|
38053
|
-
type: 'string',
|
|
38054
|
-
},
|
|
38055
|
-
workspace_id: {
|
|
38056
|
-
description:
|
|
38057
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
38058
|
-
format: 'uuid',
|
|
38059
|
-
type: 'string',
|
|
38060
|
-
},
|
|
38061
|
-
},
|
|
38062
|
-
required: [
|
|
38063
|
-
'workspace_id',
|
|
38064
|
-
'access_grant_id',
|
|
38065
|
-
'user_identity_id',
|
|
38066
|
-
'location_ids',
|
|
38067
|
-
'space_ids',
|
|
38068
|
-
'requested_access_methods',
|
|
38069
|
-
'access_method_ids',
|
|
38070
|
-
'display_name',
|
|
38071
|
-
'created_at',
|
|
38072
|
-
],
|
|
38073
|
-
type: 'object',
|
|
38074
|
-
'x-draft': 'Early access.',
|
|
38075
|
-
'x-route-path': '/access_grants',
|
|
38076
|
-
},
|
|
37804
|
+
access_grant: { $ref: '#/components/schemas/access_grant' },
|
|
38077
37805
|
ok: { type: 'boolean' },
|
|
38078
37806
|
},
|
|
38079
37807
|
required: ['access_grant', 'ok'],
|
|
@@ -38181,108 +37909,7 @@ export default {
|
|
|
38181
37909
|
'application/json': {
|
|
38182
37910
|
schema: {
|
|
38183
37911
|
properties: {
|
|
38184
|
-
access_grant: {
|
|
38185
|
-
properties: {
|
|
38186
|
-
access_grant_id: {
|
|
38187
|
-
description: 'ID of the access grant.',
|
|
38188
|
-
format: 'uuid',
|
|
38189
|
-
type: 'string',
|
|
38190
|
-
},
|
|
38191
|
-
access_method_ids: {
|
|
38192
|
-
description:
|
|
38193
|
-
'IDs of the access methods that were created for this access grant.',
|
|
38194
|
-
items: { format: 'uuid', type: 'string' },
|
|
38195
|
-
type: 'array',
|
|
38196
|
-
},
|
|
38197
|
-
created_at: {
|
|
38198
|
-
description:
|
|
38199
|
-
'Date and time at which the access grant was created.',
|
|
38200
|
-
format: 'date-time',
|
|
38201
|
-
type: 'string',
|
|
38202
|
-
},
|
|
38203
|
-
display_name: {
|
|
38204
|
-
description: 'Display name of the access grant.',
|
|
38205
|
-
type: 'string',
|
|
38206
|
-
},
|
|
38207
|
-
location_ids: {
|
|
38208
|
-
deprecated: true,
|
|
38209
|
-
items: { format: 'uuid', type: 'string' },
|
|
38210
|
-
type: 'array',
|
|
38211
|
-
'x-deprecated': 'Use `space_ids`.',
|
|
38212
|
-
},
|
|
38213
|
-
requested_access_methods: {
|
|
38214
|
-
description:
|
|
38215
|
-
'Access methods that the user requested for this access grant.',
|
|
38216
|
-
items: {
|
|
38217
|
-
properties: {
|
|
38218
|
-
created_access_method_ids: {
|
|
38219
|
-
description:
|
|
38220
|
-
'IDs of the access methods that were created for this requested access method.',
|
|
38221
|
-
items: { format: 'uuid', type: 'string' },
|
|
38222
|
-
type: 'array',
|
|
38223
|
-
},
|
|
38224
|
-
created_at: {
|
|
38225
|
-
description:
|
|
38226
|
-
'Date and time at which the requested access method was added to this access grant.',
|
|
38227
|
-
format: 'date-time',
|
|
38228
|
-
type: 'string',
|
|
38229
|
-
},
|
|
38230
|
-
display_name: {
|
|
38231
|
-
description:
|
|
38232
|
-
'Display name of the access method.',
|
|
38233
|
-
type: 'string',
|
|
38234
|
-
},
|
|
38235
|
-
mode: {
|
|
38236
|
-
description:
|
|
38237
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
38238
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
38239
|
-
type: 'string',
|
|
38240
|
-
},
|
|
38241
|
-
},
|
|
38242
|
-
required: [
|
|
38243
|
-
'display_name',
|
|
38244
|
-
'mode',
|
|
38245
|
-
'created_at',
|
|
38246
|
-
'created_access_method_ids',
|
|
38247
|
-
],
|
|
38248
|
-
type: 'object',
|
|
38249
|
-
},
|
|
38250
|
-
type: 'array',
|
|
38251
|
-
},
|
|
38252
|
-
space_ids: {
|
|
38253
|
-
description:
|
|
38254
|
-
'IDs of the spaces to which access is being given.',
|
|
38255
|
-
items: { format: 'uuid', type: 'string' },
|
|
38256
|
-
type: 'array',
|
|
38257
|
-
},
|
|
38258
|
-
user_identity_id: {
|
|
38259
|
-
description:
|
|
38260
|
-
'ID of user identity to which access is being granted.',
|
|
38261
|
-
format: 'uuid',
|
|
38262
|
-
type: 'string',
|
|
38263
|
-
},
|
|
38264
|
-
workspace_id: {
|
|
38265
|
-
description:
|
|
38266
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
38267
|
-
format: 'uuid',
|
|
38268
|
-
type: 'string',
|
|
38269
|
-
},
|
|
38270
|
-
},
|
|
38271
|
-
required: [
|
|
38272
|
-
'workspace_id',
|
|
38273
|
-
'access_grant_id',
|
|
38274
|
-
'user_identity_id',
|
|
38275
|
-
'location_ids',
|
|
38276
|
-
'space_ids',
|
|
38277
|
-
'requested_access_methods',
|
|
38278
|
-
'access_method_ids',
|
|
38279
|
-
'display_name',
|
|
38280
|
-
'created_at',
|
|
38281
|
-
],
|
|
38282
|
-
type: 'object',
|
|
38283
|
-
'x-draft': 'Early access.',
|
|
38284
|
-
'x-route-path': '/access_grants',
|
|
38285
|
-
},
|
|
37912
|
+
access_grant: { $ref: '#/components/schemas/access_grant' },
|
|
38286
37913
|
ok: { type: 'boolean' },
|
|
38287
37914
|
},
|
|
38288
37915
|
required: ['access_grant', 'ok'],
|
|
@@ -38363,108 +37990,7 @@ export default {
|
|
|
38363
37990
|
schema: {
|
|
38364
37991
|
properties: {
|
|
38365
37992
|
access_grants: {
|
|
38366
|
-
items: {
|
|
38367
|
-
properties: {
|
|
38368
|
-
access_grant_id: {
|
|
38369
|
-
description: 'ID of the access grant.',
|
|
38370
|
-
format: 'uuid',
|
|
38371
|
-
type: 'string',
|
|
38372
|
-
},
|
|
38373
|
-
access_method_ids: {
|
|
38374
|
-
description:
|
|
38375
|
-
'IDs of the access methods that were created for this access grant.',
|
|
38376
|
-
items: { format: 'uuid', type: 'string' },
|
|
38377
|
-
type: 'array',
|
|
38378
|
-
},
|
|
38379
|
-
created_at: {
|
|
38380
|
-
description:
|
|
38381
|
-
'Date and time at which the access grant was created.',
|
|
38382
|
-
format: 'date-time',
|
|
38383
|
-
type: 'string',
|
|
38384
|
-
},
|
|
38385
|
-
display_name: {
|
|
38386
|
-
description: 'Display name of the access grant.',
|
|
38387
|
-
type: 'string',
|
|
38388
|
-
},
|
|
38389
|
-
location_ids: {
|
|
38390
|
-
deprecated: true,
|
|
38391
|
-
items: { format: 'uuid', type: 'string' },
|
|
38392
|
-
type: 'array',
|
|
38393
|
-
'x-deprecated': 'Use `space_ids`.',
|
|
38394
|
-
},
|
|
38395
|
-
requested_access_methods: {
|
|
38396
|
-
description:
|
|
38397
|
-
'Access methods that the user requested for this access grant.',
|
|
38398
|
-
items: {
|
|
38399
|
-
properties: {
|
|
38400
|
-
created_access_method_ids: {
|
|
38401
|
-
description:
|
|
38402
|
-
'IDs of the access methods that were created for this requested access method.',
|
|
38403
|
-
items: { format: 'uuid', type: 'string' },
|
|
38404
|
-
type: 'array',
|
|
38405
|
-
},
|
|
38406
|
-
created_at: {
|
|
38407
|
-
description:
|
|
38408
|
-
'Date and time at which the requested access method was added to this access grant.',
|
|
38409
|
-
format: 'date-time',
|
|
38410
|
-
type: 'string',
|
|
38411
|
-
},
|
|
38412
|
-
display_name: {
|
|
38413
|
-
description:
|
|
38414
|
-
'Display name of the access method.',
|
|
38415
|
-
type: 'string',
|
|
38416
|
-
},
|
|
38417
|
-
mode: {
|
|
38418
|
-
description:
|
|
38419
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
38420
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
38421
|
-
type: 'string',
|
|
38422
|
-
},
|
|
38423
|
-
},
|
|
38424
|
-
required: [
|
|
38425
|
-
'display_name',
|
|
38426
|
-
'mode',
|
|
38427
|
-
'created_at',
|
|
38428
|
-
'created_access_method_ids',
|
|
38429
|
-
],
|
|
38430
|
-
type: 'object',
|
|
38431
|
-
},
|
|
38432
|
-
type: 'array',
|
|
38433
|
-
},
|
|
38434
|
-
space_ids: {
|
|
38435
|
-
description:
|
|
38436
|
-
'IDs of the spaces to which access is being given.',
|
|
38437
|
-
items: { format: 'uuid', type: 'string' },
|
|
38438
|
-
type: 'array',
|
|
38439
|
-
},
|
|
38440
|
-
user_identity_id: {
|
|
38441
|
-
description:
|
|
38442
|
-
'ID of user identity to which access is being granted.',
|
|
38443
|
-
format: 'uuid',
|
|
38444
|
-
type: 'string',
|
|
38445
|
-
},
|
|
38446
|
-
workspace_id: {
|
|
38447
|
-
description:
|
|
38448
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
38449
|
-
format: 'uuid',
|
|
38450
|
-
type: 'string',
|
|
38451
|
-
},
|
|
38452
|
-
},
|
|
38453
|
-
required: [
|
|
38454
|
-
'workspace_id',
|
|
38455
|
-
'access_grant_id',
|
|
38456
|
-
'user_identity_id',
|
|
38457
|
-
'location_ids',
|
|
38458
|
-
'space_ids',
|
|
38459
|
-
'requested_access_methods',
|
|
38460
|
-
'access_method_ids',
|
|
38461
|
-
'display_name',
|
|
38462
|
-
'created_at',
|
|
38463
|
-
],
|
|
38464
|
-
type: 'object',
|
|
38465
|
-
'x-draft': 'Early access.',
|
|
38466
|
-
'x-route-path': '/access_grants',
|
|
38467
|
-
},
|
|
37993
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
38468
37994
|
type: 'array',
|
|
38469
37995
|
},
|
|
38470
37996
|
ok: { type: 'boolean' },
|
|
@@ -38576,61 +38102,7 @@ export default {
|
|
|
38576
38102
|
schema: {
|
|
38577
38103
|
properties: {
|
|
38578
38104
|
access_method: {
|
|
38579
|
-
|
|
38580
|
-
access_method_id: {
|
|
38581
|
-
description: 'ID of the access method.',
|
|
38582
|
-
format: 'uuid',
|
|
38583
|
-
type: 'string',
|
|
38584
|
-
},
|
|
38585
|
-
created_at: {
|
|
38586
|
-
description:
|
|
38587
|
-
'Date and time at which the access method was created.',
|
|
38588
|
-
format: 'date-time',
|
|
38589
|
-
type: 'string',
|
|
38590
|
-
},
|
|
38591
|
-
display_name: {
|
|
38592
|
-
description: 'Display name of the access method.',
|
|
38593
|
-
type: 'string',
|
|
38594
|
-
},
|
|
38595
|
-
instant_key_url: {
|
|
38596
|
-
description:
|
|
38597
|
-
'URL of instant key for mobile key access methods.',
|
|
38598
|
-
type: 'string',
|
|
38599
|
-
},
|
|
38600
|
-
is_card_encoding_required: {
|
|
38601
|
-
description:
|
|
38602
|
-
'Whether card encoding is required for plastic card access methods.',
|
|
38603
|
-
type: 'boolean',
|
|
38604
|
-
},
|
|
38605
|
-
issued_at: {
|
|
38606
|
-
description:
|
|
38607
|
-
'Date and time at which the access method was issued.',
|
|
38608
|
-
format: 'date-time',
|
|
38609
|
-
type: 'string',
|
|
38610
|
-
},
|
|
38611
|
-
mode: {
|
|
38612
|
-
description:
|
|
38613
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
38614
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
38615
|
-
type: 'string',
|
|
38616
|
-
},
|
|
38617
|
-
workspace_id: {
|
|
38618
|
-
description:
|
|
38619
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
38620
|
-
format: 'uuid',
|
|
38621
|
-
type: 'string',
|
|
38622
|
-
},
|
|
38623
|
-
},
|
|
38624
|
-
required: [
|
|
38625
|
-
'workspace_id',
|
|
38626
|
-
'access_method_id',
|
|
38627
|
-
'display_name',
|
|
38628
|
-
'mode',
|
|
38629
|
-
'created_at',
|
|
38630
|
-
],
|
|
38631
|
-
type: 'object',
|
|
38632
|
-
'x-draft': 'Early access.',
|
|
38633
|
-
'x-route-path': '/access_methods',
|
|
38105
|
+
$ref: '#/components/schemas/access_method',
|
|
38634
38106
|
},
|
|
38635
38107
|
ok: { type: 'boolean' },
|
|
38636
38108
|
},
|
|
@@ -38689,63 +38161,7 @@ export default {
|
|
|
38689
38161
|
schema: {
|
|
38690
38162
|
properties: {
|
|
38691
38163
|
access_methods: {
|
|
38692
|
-
items: {
|
|
38693
|
-
properties: {
|
|
38694
|
-
access_method_id: {
|
|
38695
|
-
description: 'ID of the access method.',
|
|
38696
|
-
format: 'uuid',
|
|
38697
|
-
type: 'string',
|
|
38698
|
-
},
|
|
38699
|
-
created_at: {
|
|
38700
|
-
description:
|
|
38701
|
-
'Date and time at which the access method was created.',
|
|
38702
|
-
format: 'date-time',
|
|
38703
|
-
type: 'string',
|
|
38704
|
-
},
|
|
38705
|
-
display_name: {
|
|
38706
|
-
description: 'Display name of the access method.',
|
|
38707
|
-
type: 'string',
|
|
38708
|
-
},
|
|
38709
|
-
instant_key_url: {
|
|
38710
|
-
description:
|
|
38711
|
-
'URL of instant key for mobile key access methods.',
|
|
38712
|
-
type: 'string',
|
|
38713
|
-
},
|
|
38714
|
-
is_card_encoding_required: {
|
|
38715
|
-
description:
|
|
38716
|
-
'Whether card encoding is required for plastic card access methods.',
|
|
38717
|
-
type: 'boolean',
|
|
38718
|
-
},
|
|
38719
|
-
issued_at: {
|
|
38720
|
-
description:
|
|
38721
|
-
'Date and time at which the access method was issued.',
|
|
38722
|
-
format: 'date-time',
|
|
38723
|
-
type: 'string',
|
|
38724
|
-
},
|
|
38725
|
-
mode: {
|
|
38726
|
-
description:
|
|
38727
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
38728
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
38729
|
-
type: 'string',
|
|
38730
|
-
},
|
|
38731
|
-
workspace_id: {
|
|
38732
|
-
description:
|
|
38733
|
-
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
38734
|
-
format: 'uuid',
|
|
38735
|
-
type: 'string',
|
|
38736
|
-
},
|
|
38737
|
-
},
|
|
38738
|
-
required: [
|
|
38739
|
-
'workspace_id',
|
|
38740
|
-
'access_method_id',
|
|
38741
|
-
'display_name',
|
|
38742
|
-
'mode',
|
|
38743
|
-
'created_at',
|
|
38744
|
-
],
|
|
38745
|
-
type: 'object',
|
|
38746
|
-
'x-draft': 'Early access.',
|
|
38747
|
-
'x-route-path': '/access_methods',
|
|
38748
|
-
},
|
|
38164
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
38749
38165
|
type: 'array',
|
|
38750
38166
|
},
|
|
38751
38167
|
ok: { type: 'boolean' },
|