@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
package/dist/connect.cjs
CHANGED
|
@@ -1451,6 +1451,9 @@ var auxiliary_heat_running = common_device_error.extend({
|
|
|
1451
1451
|
var subscription_required = common_device_error.extend({
|
|
1452
1452
|
error_code: zod.z.literal("subscription_required").describe(error_code_description2)
|
|
1453
1453
|
}).describe("Subscription required to connect.");
|
|
1454
|
+
var lockly_missing_wifi_bridge = common_device_error.extend({
|
|
1455
|
+
error_code: zod.z.literal("lockly_missing_wifi_bridge").describe(error_code_description2)
|
|
1456
|
+
}).describe("Lockly lock is not connected to a Wi-Fi bridge.");
|
|
1454
1457
|
var device_error = zod.z.discriminatedUnion("error_code", [
|
|
1455
1458
|
account_disconnected2,
|
|
1456
1459
|
salto_ks_subscription_limit_exceeded2,
|
|
@@ -1464,7 +1467,8 @@ var device_error = zod.z.discriminatedUnion("error_code", [
|
|
|
1464
1467
|
ttlock_lock_not_paired_to_gateway,
|
|
1465
1468
|
missing_device_credentials,
|
|
1466
1469
|
auxiliary_heat_running,
|
|
1467
|
-
subscription_required
|
|
1470
|
+
subscription_required,
|
|
1471
|
+
lockly_missing_wifi_bridge
|
|
1468
1472
|
]).describe("Error associated with the `device`.");
|
|
1469
1473
|
zod.z.object({
|
|
1470
1474
|
device_offline: device_offline.optional().nullable(),
|
|
@@ -1479,7 +1483,8 @@ zod.z.object({
|
|
|
1479
1483
|
ttlock_lock_not_paired_to_gateway: ttlock_lock_not_paired_to_gateway.optional().nullable(),
|
|
1480
1484
|
missing_device_credentials: missing_device_credentials.optional().nullable(),
|
|
1481
1485
|
auxiliary_heat_running: auxiliary_heat_running.optional().nullable(),
|
|
1482
|
-
subscription_required: subscription_required.optional().nullable()
|
|
1486
|
+
subscription_required: subscription_required.optional().nullable(),
|
|
1487
|
+
lockly_missing_wifi_bridge: lockly_missing_wifi_bridge.optional().nullable()
|
|
1483
1488
|
});
|
|
1484
1489
|
var warning_code_description2 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
1485
1490
|
var common_device_warning = zod.z.object({
|
|
@@ -6134,6 +6139,26 @@ var openapi_default = {
|
|
|
6134
6139
|
],
|
|
6135
6140
|
type: "object"
|
|
6136
6141
|
},
|
|
6142
|
+
{
|
|
6143
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
6144
|
+
properties: {
|
|
6145
|
+
created_at: { format: "date-time", type: "string" },
|
|
6146
|
+
error_code: {
|
|
6147
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6148
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
6149
|
+
type: "string"
|
|
6150
|
+
},
|
|
6151
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
6152
|
+
message: { type: "string" }
|
|
6153
|
+
},
|
|
6154
|
+
required: [
|
|
6155
|
+
"message",
|
|
6156
|
+
"is_device_error",
|
|
6157
|
+
"created_at",
|
|
6158
|
+
"error_code"
|
|
6159
|
+
],
|
|
6160
|
+
type: "object"
|
|
6161
|
+
},
|
|
6137
6162
|
{
|
|
6138
6163
|
description: "Credentials provided were invalid.",
|
|
6139
6164
|
properties: {
|
|
@@ -6539,6 +6564,149 @@ var openapi_default = {
|
|
|
6539
6564
|
type: "object",
|
|
6540
6565
|
"x-route-path": "/access_codes"
|
|
6541
6566
|
},
|
|
6567
|
+
access_grant: {
|
|
6568
|
+
properties: {
|
|
6569
|
+
access_grant_id: {
|
|
6570
|
+
description: "ID of the access grant.",
|
|
6571
|
+
format: "uuid",
|
|
6572
|
+
type: "string"
|
|
6573
|
+
},
|
|
6574
|
+
access_method_ids: {
|
|
6575
|
+
description: "IDs of the access methods that were created for this access grant.",
|
|
6576
|
+
items: { format: "uuid", type: "string" },
|
|
6577
|
+
type: "array"
|
|
6578
|
+
},
|
|
6579
|
+
created_at: {
|
|
6580
|
+
description: "Date and time at which the access grant was created.",
|
|
6581
|
+
format: "date-time",
|
|
6582
|
+
type: "string"
|
|
6583
|
+
},
|
|
6584
|
+
display_name: {
|
|
6585
|
+
description: "Display name of the access grant.",
|
|
6586
|
+
type: "string"
|
|
6587
|
+
},
|
|
6588
|
+
location_ids: {
|
|
6589
|
+
deprecated: true,
|
|
6590
|
+
items: { format: "uuid", type: "string" },
|
|
6591
|
+
type: "array",
|
|
6592
|
+
"x-deprecated": "Use `space_ids`."
|
|
6593
|
+
},
|
|
6594
|
+
requested_access_methods: {
|
|
6595
|
+
description: "Access methods that the user requested for this access grant.",
|
|
6596
|
+
items: {
|
|
6597
|
+
properties: {
|
|
6598
|
+
created_access_method_ids: {
|
|
6599
|
+
description: "IDs of the access methods that were created for this requested access method.",
|
|
6600
|
+
items: { format: "uuid", type: "string" },
|
|
6601
|
+
type: "array"
|
|
6602
|
+
},
|
|
6603
|
+
created_at: {
|
|
6604
|
+
description: "Date and time at which the requested access method was added to this access grant.",
|
|
6605
|
+
format: "date-time",
|
|
6606
|
+
type: "string"
|
|
6607
|
+
},
|
|
6608
|
+
display_name: {
|
|
6609
|
+
description: "Display name of the access method.",
|
|
6610
|
+
type: "string"
|
|
6611
|
+
},
|
|
6612
|
+
mode: {
|
|
6613
|
+
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
6614
|
+
enum: ["code", "card", "mobile_key"],
|
|
6615
|
+
type: "string"
|
|
6616
|
+
}
|
|
6617
|
+
},
|
|
6618
|
+
required: [
|
|
6619
|
+
"display_name",
|
|
6620
|
+
"mode",
|
|
6621
|
+
"created_at",
|
|
6622
|
+
"created_access_method_ids"
|
|
6623
|
+
],
|
|
6624
|
+
type: "object"
|
|
6625
|
+
},
|
|
6626
|
+
type: "array"
|
|
6627
|
+
},
|
|
6628
|
+
space_ids: {
|
|
6629
|
+
description: "IDs of the spaces to which access is being given.",
|
|
6630
|
+
items: { format: "uuid", type: "string" },
|
|
6631
|
+
type: "array"
|
|
6632
|
+
},
|
|
6633
|
+
user_identity_id: {
|
|
6634
|
+
description: "ID of user identity to which access is being granted.",
|
|
6635
|
+
format: "uuid",
|
|
6636
|
+
type: "string"
|
|
6637
|
+
},
|
|
6638
|
+
workspace_id: {
|
|
6639
|
+
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
6640
|
+
format: "uuid",
|
|
6641
|
+
type: "string"
|
|
6642
|
+
}
|
|
6643
|
+
},
|
|
6644
|
+
required: [
|
|
6645
|
+
"workspace_id",
|
|
6646
|
+
"access_grant_id",
|
|
6647
|
+
"user_identity_id",
|
|
6648
|
+
"location_ids",
|
|
6649
|
+
"space_ids",
|
|
6650
|
+
"requested_access_methods",
|
|
6651
|
+
"access_method_ids",
|
|
6652
|
+
"display_name",
|
|
6653
|
+
"created_at"
|
|
6654
|
+
],
|
|
6655
|
+
type: "object",
|
|
6656
|
+
"x-draft": "Early access.",
|
|
6657
|
+
"x-route-path": "/access_grants"
|
|
6658
|
+
},
|
|
6659
|
+
access_method: {
|
|
6660
|
+
properties: {
|
|
6661
|
+
access_method_id: {
|
|
6662
|
+
description: "ID of the access method.",
|
|
6663
|
+
format: "uuid",
|
|
6664
|
+
type: "string"
|
|
6665
|
+
},
|
|
6666
|
+
created_at: {
|
|
6667
|
+
description: "Date and time at which the access method was created.",
|
|
6668
|
+
format: "date-time",
|
|
6669
|
+
type: "string"
|
|
6670
|
+
},
|
|
6671
|
+
display_name: {
|
|
6672
|
+
description: "Display name of the access method.",
|
|
6673
|
+
type: "string"
|
|
6674
|
+
},
|
|
6675
|
+
instant_key_url: {
|
|
6676
|
+
description: "URL of instant key for mobile key access methods.",
|
|
6677
|
+
type: "string"
|
|
6678
|
+
},
|
|
6679
|
+
is_card_encoding_required: {
|
|
6680
|
+
description: "Whether card encoding is required for plastic card access methods.",
|
|
6681
|
+
type: "boolean"
|
|
6682
|
+
},
|
|
6683
|
+
issued_at: {
|
|
6684
|
+
description: "Date and time at which the access method was issued.",
|
|
6685
|
+
format: "date-time",
|
|
6686
|
+
type: "string"
|
|
6687
|
+
},
|
|
6688
|
+
mode: {
|
|
6689
|
+
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
6690
|
+
enum: ["code", "card", "mobile_key"],
|
|
6691
|
+
type: "string"
|
|
6692
|
+
},
|
|
6693
|
+
workspace_id: {
|
|
6694
|
+
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
6695
|
+
format: "uuid",
|
|
6696
|
+
type: "string"
|
|
6697
|
+
}
|
|
6698
|
+
},
|
|
6699
|
+
required: [
|
|
6700
|
+
"workspace_id",
|
|
6701
|
+
"access_method_id",
|
|
6702
|
+
"display_name",
|
|
6703
|
+
"mode",
|
|
6704
|
+
"created_at"
|
|
6705
|
+
],
|
|
6706
|
+
type: "object",
|
|
6707
|
+
"x-draft": "Early access.",
|
|
6708
|
+
"x-route-path": "/access_methods"
|
|
6709
|
+
},
|
|
6542
6710
|
acs_access_group: {
|
|
6543
6711
|
description: "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).",
|
|
6544
6712
|
properties: {
|
|
@@ -12512,6 +12680,26 @@ var openapi_default = {
|
|
|
12512
12680
|
],
|
|
12513
12681
|
type: "object"
|
|
12514
12682
|
},
|
|
12683
|
+
{
|
|
12684
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
12685
|
+
properties: {
|
|
12686
|
+
created_at: { format: "date-time", type: "string" },
|
|
12687
|
+
error_code: {
|
|
12688
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
12689
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
12690
|
+
type: "string"
|
|
12691
|
+
},
|
|
12692
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
12693
|
+
message: { type: "string" }
|
|
12694
|
+
},
|
|
12695
|
+
required: [
|
|
12696
|
+
"message",
|
|
12697
|
+
"is_device_error",
|
|
12698
|
+
"created_at",
|
|
12699
|
+
"error_code"
|
|
12700
|
+
],
|
|
12701
|
+
type: "object"
|
|
12702
|
+
},
|
|
12515
12703
|
{
|
|
12516
12704
|
description: "Credentials provided were invalid.",
|
|
12517
12705
|
properties: {
|
|
@@ -21615,6 +21803,26 @@ var openapi_default = {
|
|
|
21615
21803
|
],
|
|
21616
21804
|
type: "object"
|
|
21617
21805
|
},
|
|
21806
|
+
{
|
|
21807
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
21808
|
+
properties: {
|
|
21809
|
+
created_at: { format: "date-time", type: "string" },
|
|
21810
|
+
error_code: {
|
|
21811
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
21812
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
21813
|
+
type: "string"
|
|
21814
|
+
},
|
|
21815
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
21816
|
+
message: { type: "string" }
|
|
21817
|
+
},
|
|
21818
|
+
required: [
|
|
21819
|
+
"message",
|
|
21820
|
+
"is_device_error",
|
|
21821
|
+
"created_at",
|
|
21822
|
+
"error_code"
|
|
21823
|
+
],
|
|
21824
|
+
type: "object"
|
|
21825
|
+
},
|
|
21618
21826
|
{
|
|
21619
21827
|
description: "Credentials provided were invalid.",
|
|
21620
21828
|
properties: {
|
|
@@ -23371,6 +23579,26 @@ var openapi_default = {
|
|
|
23371
23579
|
],
|
|
23372
23580
|
type: "object"
|
|
23373
23581
|
},
|
|
23582
|
+
{
|
|
23583
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
23584
|
+
properties: {
|
|
23585
|
+
created_at: { format: "date-time", type: "string" },
|
|
23586
|
+
error_code: {
|
|
23587
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
23588
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
23589
|
+
type: "string"
|
|
23590
|
+
},
|
|
23591
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
23592
|
+
message: { type: "string" }
|
|
23593
|
+
},
|
|
23594
|
+
required: [
|
|
23595
|
+
"message",
|
|
23596
|
+
"is_device_error",
|
|
23597
|
+
"created_at",
|
|
23598
|
+
"error_code"
|
|
23599
|
+
],
|
|
23600
|
+
type: "object"
|
|
23601
|
+
},
|
|
23374
23602
|
{
|
|
23375
23603
|
description: "Credentials provided were invalid.",
|
|
23376
23604
|
properties: {
|
|
@@ -25993,98 +26221,7 @@ var openapi_default = {
|
|
|
25993
26221
|
"application/json": {
|
|
25994
26222
|
schema: {
|
|
25995
26223
|
properties: {
|
|
25996
|
-
access_grant: {
|
|
25997
|
-
properties: {
|
|
25998
|
-
access_grant_id: {
|
|
25999
|
-
description: "ID of the access grant.",
|
|
26000
|
-
format: "uuid",
|
|
26001
|
-
type: "string"
|
|
26002
|
-
},
|
|
26003
|
-
access_method_ids: {
|
|
26004
|
-
description: "IDs of the access methods that were created for this access grant.",
|
|
26005
|
-
items: { format: "uuid", type: "string" },
|
|
26006
|
-
type: "array"
|
|
26007
|
-
},
|
|
26008
|
-
created_at: {
|
|
26009
|
-
description: "Date and time at which the access grant was created.",
|
|
26010
|
-
format: "date-time",
|
|
26011
|
-
type: "string"
|
|
26012
|
-
},
|
|
26013
|
-
display_name: {
|
|
26014
|
-
description: "Display name of the access grant.",
|
|
26015
|
-
type: "string"
|
|
26016
|
-
},
|
|
26017
|
-
location_ids: {
|
|
26018
|
-
deprecated: true,
|
|
26019
|
-
items: { format: "uuid", type: "string" },
|
|
26020
|
-
type: "array",
|
|
26021
|
-
"x-deprecated": "Use `space_ids`."
|
|
26022
|
-
},
|
|
26023
|
-
requested_access_methods: {
|
|
26024
|
-
description: "Access methods that the user requested for this access grant.",
|
|
26025
|
-
items: {
|
|
26026
|
-
properties: {
|
|
26027
|
-
created_access_method_ids: {
|
|
26028
|
-
description: "IDs of the access methods that were created for this requested access method.",
|
|
26029
|
-
items: { format: "uuid", type: "string" },
|
|
26030
|
-
type: "array"
|
|
26031
|
-
},
|
|
26032
|
-
created_at: {
|
|
26033
|
-
description: "Date and time at which the requested access method was added to this access grant.",
|
|
26034
|
-
format: "date-time",
|
|
26035
|
-
type: "string"
|
|
26036
|
-
},
|
|
26037
|
-
display_name: {
|
|
26038
|
-
description: "Display name of the access method.",
|
|
26039
|
-
type: "string"
|
|
26040
|
-
},
|
|
26041
|
-
mode: {
|
|
26042
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
26043
|
-
enum: ["code", "card", "mobile_key"],
|
|
26044
|
-
type: "string"
|
|
26045
|
-
}
|
|
26046
|
-
},
|
|
26047
|
-
required: [
|
|
26048
|
-
"display_name",
|
|
26049
|
-
"mode",
|
|
26050
|
-
"created_at",
|
|
26051
|
-
"created_access_method_ids"
|
|
26052
|
-
],
|
|
26053
|
-
type: "object"
|
|
26054
|
-
},
|
|
26055
|
-
type: "array"
|
|
26056
|
-
},
|
|
26057
|
-
space_ids: {
|
|
26058
|
-
description: "IDs of the spaces to which access is being given.",
|
|
26059
|
-
items: { format: "uuid", type: "string" },
|
|
26060
|
-
type: "array"
|
|
26061
|
-
},
|
|
26062
|
-
user_identity_id: {
|
|
26063
|
-
description: "ID of user identity to which access is being granted.",
|
|
26064
|
-
format: "uuid",
|
|
26065
|
-
type: "string"
|
|
26066
|
-
},
|
|
26067
|
-
workspace_id: {
|
|
26068
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
26069
|
-
format: "uuid",
|
|
26070
|
-
type: "string"
|
|
26071
|
-
}
|
|
26072
|
-
},
|
|
26073
|
-
required: [
|
|
26074
|
-
"workspace_id",
|
|
26075
|
-
"access_grant_id",
|
|
26076
|
-
"user_identity_id",
|
|
26077
|
-
"location_ids",
|
|
26078
|
-
"space_ids",
|
|
26079
|
-
"requested_access_methods",
|
|
26080
|
-
"access_method_ids",
|
|
26081
|
-
"display_name",
|
|
26082
|
-
"created_at"
|
|
26083
|
-
],
|
|
26084
|
-
type: "object",
|
|
26085
|
-
"x-draft": "Early access.",
|
|
26086
|
-
"x-route-path": "/access_grants"
|
|
26087
|
-
},
|
|
26224
|
+
access_grant: { $ref: "#/components/schemas/access_grant" },
|
|
26088
26225
|
ok: { type: "boolean" }
|
|
26089
26226
|
},
|
|
26090
26227
|
required: ["access_grant", "ok"],
|
|
@@ -26192,98 +26329,7 @@ var openapi_default = {
|
|
|
26192
26329
|
"application/json": {
|
|
26193
26330
|
schema: {
|
|
26194
26331
|
properties: {
|
|
26195
|
-
access_grant: {
|
|
26196
|
-
properties: {
|
|
26197
|
-
access_grant_id: {
|
|
26198
|
-
description: "ID of the access grant.",
|
|
26199
|
-
format: "uuid",
|
|
26200
|
-
type: "string"
|
|
26201
|
-
},
|
|
26202
|
-
access_method_ids: {
|
|
26203
|
-
description: "IDs of the access methods that were created for this access grant.",
|
|
26204
|
-
items: { format: "uuid", type: "string" },
|
|
26205
|
-
type: "array"
|
|
26206
|
-
},
|
|
26207
|
-
created_at: {
|
|
26208
|
-
description: "Date and time at which the access grant was created.",
|
|
26209
|
-
format: "date-time",
|
|
26210
|
-
type: "string"
|
|
26211
|
-
},
|
|
26212
|
-
display_name: {
|
|
26213
|
-
description: "Display name of the access grant.",
|
|
26214
|
-
type: "string"
|
|
26215
|
-
},
|
|
26216
|
-
location_ids: {
|
|
26217
|
-
deprecated: true,
|
|
26218
|
-
items: { format: "uuid", type: "string" },
|
|
26219
|
-
type: "array",
|
|
26220
|
-
"x-deprecated": "Use `space_ids`."
|
|
26221
|
-
},
|
|
26222
|
-
requested_access_methods: {
|
|
26223
|
-
description: "Access methods that the user requested for this access grant.",
|
|
26224
|
-
items: {
|
|
26225
|
-
properties: {
|
|
26226
|
-
created_access_method_ids: {
|
|
26227
|
-
description: "IDs of the access methods that were created for this requested access method.",
|
|
26228
|
-
items: { format: "uuid", type: "string" },
|
|
26229
|
-
type: "array"
|
|
26230
|
-
},
|
|
26231
|
-
created_at: {
|
|
26232
|
-
description: "Date and time at which the requested access method was added to this access grant.",
|
|
26233
|
-
format: "date-time",
|
|
26234
|
-
type: "string"
|
|
26235
|
-
},
|
|
26236
|
-
display_name: {
|
|
26237
|
-
description: "Display name of the access method.",
|
|
26238
|
-
type: "string"
|
|
26239
|
-
},
|
|
26240
|
-
mode: {
|
|
26241
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
26242
|
-
enum: ["code", "card", "mobile_key"],
|
|
26243
|
-
type: "string"
|
|
26244
|
-
}
|
|
26245
|
-
},
|
|
26246
|
-
required: [
|
|
26247
|
-
"display_name",
|
|
26248
|
-
"mode",
|
|
26249
|
-
"created_at",
|
|
26250
|
-
"created_access_method_ids"
|
|
26251
|
-
],
|
|
26252
|
-
type: "object"
|
|
26253
|
-
},
|
|
26254
|
-
type: "array"
|
|
26255
|
-
},
|
|
26256
|
-
space_ids: {
|
|
26257
|
-
description: "IDs of the spaces to which access is being given.",
|
|
26258
|
-
items: { format: "uuid", type: "string" },
|
|
26259
|
-
type: "array"
|
|
26260
|
-
},
|
|
26261
|
-
user_identity_id: {
|
|
26262
|
-
description: "ID of user identity to which access is being granted.",
|
|
26263
|
-
format: "uuid",
|
|
26264
|
-
type: "string"
|
|
26265
|
-
},
|
|
26266
|
-
workspace_id: {
|
|
26267
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
26268
|
-
format: "uuid",
|
|
26269
|
-
type: "string"
|
|
26270
|
-
}
|
|
26271
|
-
},
|
|
26272
|
-
required: [
|
|
26273
|
-
"workspace_id",
|
|
26274
|
-
"access_grant_id",
|
|
26275
|
-
"user_identity_id",
|
|
26276
|
-
"location_ids",
|
|
26277
|
-
"space_ids",
|
|
26278
|
-
"requested_access_methods",
|
|
26279
|
-
"access_method_ids",
|
|
26280
|
-
"display_name",
|
|
26281
|
-
"created_at"
|
|
26282
|
-
],
|
|
26283
|
-
type: "object",
|
|
26284
|
-
"x-draft": "Early access.",
|
|
26285
|
-
"x-route-path": "/access_grants"
|
|
26286
|
-
},
|
|
26332
|
+
access_grant: { $ref: "#/components/schemas/access_grant" },
|
|
26287
26333
|
ok: { type: "boolean" }
|
|
26288
26334
|
},
|
|
26289
26335
|
required: ["access_grant", "ok"],
|
|
@@ -26360,98 +26406,7 @@ var openapi_default = {
|
|
|
26360
26406
|
schema: {
|
|
26361
26407
|
properties: {
|
|
26362
26408
|
access_grants: {
|
|
26363
|
-
items: {
|
|
26364
|
-
properties: {
|
|
26365
|
-
access_grant_id: {
|
|
26366
|
-
description: "ID of the access grant.",
|
|
26367
|
-
format: "uuid",
|
|
26368
|
-
type: "string"
|
|
26369
|
-
},
|
|
26370
|
-
access_method_ids: {
|
|
26371
|
-
description: "IDs of the access methods that were created for this access grant.",
|
|
26372
|
-
items: { format: "uuid", type: "string" },
|
|
26373
|
-
type: "array"
|
|
26374
|
-
},
|
|
26375
|
-
created_at: {
|
|
26376
|
-
description: "Date and time at which the access grant was created.",
|
|
26377
|
-
format: "date-time",
|
|
26378
|
-
type: "string"
|
|
26379
|
-
},
|
|
26380
|
-
display_name: {
|
|
26381
|
-
description: "Display name of the access grant.",
|
|
26382
|
-
type: "string"
|
|
26383
|
-
},
|
|
26384
|
-
location_ids: {
|
|
26385
|
-
deprecated: true,
|
|
26386
|
-
items: { format: "uuid", type: "string" },
|
|
26387
|
-
type: "array",
|
|
26388
|
-
"x-deprecated": "Use `space_ids`."
|
|
26389
|
-
},
|
|
26390
|
-
requested_access_methods: {
|
|
26391
|
-
description: "Access methods that the user requested for this access grant.",
|
|
26392
|
-
items: {
|
|
26393
|
-
properties: {
|
|
26394
|
-
created_access_method_ids: {
|
|
26395
|
-
description: "IDs of the access methods that were created for this requested access method.",
|
|
26396
|
-
items: { format: "uuid", type: "string" },
|
|
26397
|
-
type: "array"
|
|
26398
|
-
},
|
|
26399
|
-
created_at: {
|
|
26400
|
-
description: "Date and time at which the requested access method was added to this access grant.",
|
|
26401
|
-
format: "date-time",
|
|
26402
|
-
type: "string"
|
|
26403
|
-
},
|
|
26404
|
-
display_name: {
|
|
26405
|
-
description: "Display name of the access method.",
|
|
26406
|
-
type: "string"
|
|
26407
|
-
},
|
|
26408
|
-
mode: {
|
|
26409
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
26410
|
-
enum: ["code", "card", "mobile_key"],
|
|
26411
|
-
type: "string"
|
|
26412
|
-
}
|
|
26413
|
-
},
|
|
26414
|
-
required: [
|
|
26415
|
-
"display_name",
|
|
26416
|
-
"mode",
|
|
26417
|
-
"created_at",
|
|
26418
|
-
"created_access_method_ids"
|
|
26419
|
-
],
|
|
26420
|
-
type: "object"
|
|
26421
|
-
},
|
|
26422
|
-
type: "array"
|
|
26423
|
-
},
|
|
26424
|
-
space_ids: {
|
|
26425
|
-
description: "IDs of the spaces to which access is being given.",
|
|
26426
|
-
items: { format: "uuid", type: "string" },
|
|
26427
|
-
type: "array"
|
|
26428
|
-
},
|
|
26429
|
-
user_identity_id: {
|
|
26430
|
-
description: "ID of user identity to which access is being granted.",
|
|
26431
|
-
format: "uuid",
|
|
26432
|
-
type: "string"
|
|
26433
|
-
},
|
|
26434
|
-
workspace_id: {
|
|
26435
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
26436
|
-
format: "uuid",
|
|
26437
|
-
type: "string"
|
|
26438
|
-
}
|
|
26439
|
-
},
|
|
26440
|
-
required: [
|
|
26441
|
-
"workspace_id",
|
|
26442
|
-
"access_grant_id",
|
|
26443
|
-
"user_identity_id",
|
|
26444
|
-
"location_ids",
|
|
26445
|
-
"space_ids",
|
|
26446
|
-
"requested_access_methods",
|
|
26447
|
-
"access_method_ids",
|
|
26448
|
-
"display_name",
|
|
26449
|
-
"created_at"
|
|
26450
|
-
],
|
|
26451
|
-
type: "object",
|
|
26452
|
-
"x-draft": "Early access.",
|
|
26453
|
-
"x-route-path": "/access_grants"
|
|
26454
|
-
},
|
|
26409
|
+
items: { $ref: "#/components/schemas/access_grant" },
|
|
26455
26410
|
type: "array"
|
|
26456
26411
|
},
|
|
26457
26412
|
ok: { type: "boolean" }
|
|
@@ -26561,55 +26516,7 @@ var openapi_default = {
|
|
|
26561
26516
|
schema: {
|
|
26562
26517
|
properties: {
|
|
26563
26518
|
access_method: {
|
|
26564
|
-
|
|
26565
|
-
access_method_id: {
|
|
26566
|
-
description: "ID of the access method.",
|
|
26567
|
-
format: "uuid",
|
|
26568
|
-
type: "string"
|
|
26569
|
-
},
|
|
26570
|
-
created_at: {
|
|
26571
|
-
description: "Date and time at which the access method was created.",
|
|
26572
|
-
format: "date-time",
|
|
26573
|
-
type: "string"
|
|
26574
|
-
},
|
|
26575
|
-
display_name: {
|
|
26576
|
-
description: "Display name of the access method.",
|
|
26577
|
-
type: "string"
|
|
26578
|
-
},
|
|
26579
|
-
instant_key_url: {
|
|
26580
|
-
description: "URL of instant key for mobile key access methods.",
|
|
26581
|
-
type: "string"
|
|
26582
|
-
},
|
|
26583
|
-
is_card_encoding_required: {
|
|
26584
|
-
description: "Whether card encoding is required for plastic card access methods.",
|
|
26585
|
-
type: "boolean"
|
|
26586
|
-
},
|
|
26587
|
-
issued_at: {
|
|
26588
|
-
description: "Date and time at which the access method was issued.",
|
|
26589
|
-
format: "date-time",
|
|
26590
|
-
type: "string"
|
|
26591
|
-
},
|
|
26592
|
-
mode: {
|
|
26593
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
26594
|
-
enum: ["code", "card", "mobile_key"],
|
|
26595
|
-
type: "string"
|
|
26596
|
-
},
|
|
26597
|
-
workspace_id: {
|
|
26598
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
26599
|
-
format: "uuid",
|
|
26600
|
-
type: "string"
|
|
26601
|
-
}
|
|
26602
|
-
},
|
|
26603
|
-
required: [
|
|
26604
|
-
"workspace_id",
|
|
26605
|
-
"access_method_id",
|
|
26606
|
-
"display_name",
|
|
26607
|
-
"mode",
|
|
26608
|
-
"created_at"
|
|
26609
|
-
],
|
|
26610
|
-
type: "object",
|
|
26611
|
-
"x-draft": "Early access.",
|
|
26612
|
-
"x-route-path": "/access_methods"
|
|
26519
|
+
$ref: "#/components/schemas/access_method"
|
|
26613
26520
|
},
|
|
26614
26521
|
ok: { type: "boolean" }
|
|
26615
26522
|
},
|
|
@@ -26666,57 +26573,7 @@ var openapi_default = {
|
|
|
26666
26573
|
schema: {
|
|
26667
26574
|
properties: {
|
|
26668
26575
|
access_methods: {
|
|
26669
|
-
items: {
|
|
26670
|
-
properties: {
|
|
26671
|
-
access_method_id: {
|
|
26672
|
-
description: "ID of the access method.",
|
|
26673
|
-
format: "uuid",
|
|
26674
|
-
type: "string"
|
|
26675
|
-
},
|
|
26676
|
-
created_at: {
|
|
26677
|
-
description: "Date and time at which the access method was created.",
|
|
26678
|
-
format: "date-time",
|
|
26679
|
-
type: "string"
|
|
26680
|
-
},
|
|
26681
|
-
display_name: {
|
|
26682
|
-
description: "Display name of the access method.",
|
|
26683
|
-
type: "string"
|
|
26684
|
-
},
|
|
26685
|
-
instant_key_url: {
|
|
26686
|
-
description: "URL of instant key for mobile key access methods.",
|
|
26687
|
-
type: "string"
|
|
26688
|
-
},
|
|
26689
|
-
is_card_encoding_required: {
|
|
26690
|
-
description: "Whether card encoding is required for plastic card access methods.",
|
|
26691
|
-
type: "boolean"
|
|
26692
|
-
},
|
|
26693
|
-
issued_at: {
|
|
26694
|
-
description: "Date and time at which the access method was issued.",
|
|
26695
|
-
format: "date-time",
|
|
26696
|
-
type: "string"
|
|
26697
|
-
},
|
|
26698
|
-
mode: {
|
|
26699
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
26700
|
-
enum: ["code", "card", "mobile_key"],
|
|
26701
|
-
type: "string"
|
|
26702
|
-
},
|
|
26703
|
-
workspace_id: {
|
|
26704
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
26705
|
-
format: "uuid",
|
|
26706
|
-
type: "string"
|
|
26707
|
-
}
|
|
26708
|
-
},
|
|
26709
|
-
required: [
|
|
26710
|
-
"workspace_id",
|
|
26711
|
-
"access_method_id",
|
|
26712
|
-
"display_name",
|
|
26713
|
-
"mode",
|
|
26714
|
-
"created_at"
|
|
26715
|
-
],
|
|
26716
|
-
type: "object",
|
|
26717
|
-
"x-draft": "Early access.",
|
|
26718
|
-
"x-route-path": "/access_methods"
|
|
26719
|
-
},
|
|
26576
|
+
items: { $ref: "#/components/schemas/access_method" },
|
|
26720
26577
|
type: "array"
|
|
26721
26578
|
},
|
|
26722
26579
|
ok: { type: "boolean" }
|
|
@@ -40274,98 +40131,7 @@ var openapi_default = {
|
|
|
40274
40131
|
"application/json": {
|
|
40275
40132
|
schema: {
|
|
40276
40133
|
properties: {
|
|
40277
|
-
access_grant: {
|
|
40278
|
-
properties: {
|
|
40279
|
-
access_grant_id: {
|
|
40280
|
-
description: "ID of the access grant.",
|
|
40281
|
-
format: "uuid",
|
|
40282
|
-
type: "string"
|
|
40283
|
-
},
|
|
40284
|
-
access_method_ids: {
|
|
40285
|
-
description: "IDs of the access methods that were created for this access grant.",
|
|
40286
|
-
items: { format: "uuid", type: "string" },
|
|
40287
|
-
type: "array"
|
|
40288
|
-
},
|
|
40289
|
-
created_at: {
|
|
40290
|
-
description: "Date and time at which the access grant was created.",
|
|
40291
|
-
format: "date-time",
|
|
40292
|
-
type: "string"
|
|
40293
|
-
},
|
|
40294
|
-
display_name: {
|
|
40295
|
-
description: "Display name of the access grant.",
|
|
40296
|
-
type: "string"
|
|
40297
|
-
},
|
|
40298
|
-
location_ids: {
|
|
40299
|
-
deprecated: true,
|
|
40300
|
-
items: { format: "uuid", type: "string" },
|
|
40301
|
-
type: "array",
|
|
40302
|
-
"x-deprecated": "Use `space_ids`."
|
|
40303
|
-
},
|
|
40304
|
-
requested_access_methods: {
|
|
40305
|
-
description: "Access methods that the user requested for this access grant.",
|
|
40306
|
-
items: {
|
|
40307
|
-
properties: {
|
|
40308
|
-
created_access_method_ids: {
|
|
40309
|
-
description: "IDs of the access methods that were created for this requested access method.",
|
|
40310
|
-
items: { format: "uuid", type: "string" },
|
|
40311
|
-
type: "array"
|
|
40312
|
-
},
|
|
40313
|
-
created_at: {
|
|
40314
|
-
description: "Date and time at which the requested access method was added to this access grant.",
|
|
40315
|
-
format: "date-time",
|
|
40316
|
-
type: "string"
|
|
40317
|
-
},
|
|
40318
|
-
display_name: {
|
|
40319
|
-
description: "Display name of the access method.",
|
|
40320
|
-
type: "string"
|
|
40321
|
-
},
|
|
40322
|
-
mode: {
|
|
40323
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
40324
|
-
enum: ["code", "card", "mobile_key"],
|
|
40325
|
-
type: "string"
|
|
40326
|
-
}
|
|
40327
|
-
},
|
|
40328
|
-
required: [
|
|
40329
|
-
"display_name",
|
|
40330
|
-
"mode",
|
|
40331
|
-
"created_at",
|
|
40332
|
-
"created_access_method_ids"
|
|
40333
|
-
],
|
|
40334
|
-
type: "object"
|
|
40335
|
-
},
|
|
40336
|
-
type: "array"
|
|
40337
|
-
},
|
|
40338
|
-
space_ids: {
|
|
40339
|
-
description: "IDs of the spaces to which access is being given.",
|
|
40340
|
-
items: { format: "uuid", type: "string" },
|
|
40341
|
-
type: "array"
|
|
40342
|
-
},
|
|
40343
|
-
user_identity_id: {
|
|
40344
|
-
description: "ID of user identity to which access is being granted.",
|
|
40345
|
-
format: "uuid",
|
|
40346
|
-
type: "string"
|
|
40347
|
-
},
|
|
40348
|
-
workspace_id: {
|
|
40349
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
40350
|
-
format: "uuid",
|
|
40351
|
-
type: "string"
|
|
40352
|
-
}
|
|
40353
|
-
},
|
|
40354
|
-
required: [
|
|
40355
|
-
"workspace_id",
|
|
40356
|
-
"access_grant_id",
|
|
40357
|
-
"user_identity_id",
|
|
40358
|
-
"location_ids",
|
|
40359
|
-
"space_ids",
|
|
40360
|
-
"requested_access_methods",
|
|
40361
|
-
"access_method_ids",
|
|
40362
|
-
"display_name",
|
|
40363
|
-
"created_at"
|
|
40364
|
-
],
|
|
40365
|
-
type: "object",
|
|
40366
|
-
"x-draft": "Early access.",
|
|
40367
|
-
"x-route-path": "/access_grants"
|
|
40368
|
-
},
|
|
40134
|
+
access_grant: { $ref: "#/components/schemas/access_grant" },
|
|
40369
40135
|
ok: { type: "boolean" }
|
|
40370
40136
|
},
|
|
40371
40137
|
required: ["access_grant", "ok"],
|
|
@@ -40473,98 +40239,7 @@ var openapi_default = {
|
|
|
40473
40239
|
"application/json": {
|
|
40474
40240
|
schema: {
|
|
40475
40241
|
properties: {
|
|
40476
|
-
access_grant: {
|
|
40477
|
-
properties: {
|
|
40478
|
-
access_grant_id: {
|
|
40479
|
-
description: "ID of the access grant.",
|
|
40480
|
-
format: "uuid",
|
|
40481
|
-
type: "string"
|
|
40482
|
-
},
|
|
40483
|
-
access_method_ids: {
|
|
40484
|
-
description: "IDs of the access methods that were created for this access grant.",
|
|
40485
|
-
items: { format: "uuid", type: "string" },
|
|
40486
|
-
type: "array"
|
|
40487
|
-
},
|
|
40488
|
-
created_at: {
|
|
40489
|
-
description: "Date and time at which the access grant was created.",
|
|
40490
|
-
format: "date-time",
|
|
40491
|
-
type: "string"
|
|
40492
|
-
},
|
|
40493
|
-
display_name: {
|
|
40494
|
-
description: "Display name of the access grant.",
|
|
40495
|
-
type: "string"
|
|
40496
|
-
},
|
|
40497
|
-
location_ids: {
|
|
40498
|
-
deprecated: true,
|
|
40499
|
-
items: { format: "uuid", type: "string" },
|
|
40500
|
-
type: "array",
|
|
40501
|
-
"x-deprecated": "Use `space_ids`."
|
|
40502
|
-
},
|
|
40503
|
-
requested_access_methods: {
|
|
40504
|
-
description: "Access methods that the user requested for this access grant.",
|
|
40505
|
-
items: {
|
|
40506
|
-
properties: {
|
|
40507
|
-
created_access_method_ids: {
|
|
40508
|
-
description: "IDs of the access methods that were created for this requested access method.",
|
|
40509
|
-
items: { format: "uuid", type: "string" },
|
|
40510
|
-
type: "array"
|
|
40511
|
-
},
|
|
40512
|
-
created_at: {
|
|
40513
|
-
description: "Date and time at which the requested access method was added to this access grant.",
|
|
40514
|
-
format: "date-time",
|
|
40515
|
-
type: "string"
|
|
40516
|
-
},
|
|
40517
|
-
display_name: {
|
|
40518
|
-
description: "Display name of the access method.",
|
|
40519
|
-
type: "string"
|
|
40520
|
-
},
|
|
40521
|
-
mode: {
|
|
40522
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
40523
|
-
enum: ["code", "card", "mobile_key"],
|
|
40524
|
-
type: "string"
|
|
40525
|
-
}
|
|
40526
|
-
},
|
|
40527
|
-
required: [
|
|
40528
|
-
"display_name",
|
|
40529
|
-
"mode",
|
|
40530
|
-
"created_at",
|
|
40531
|
-
"created_access_method_ids"
|
|
40532
|
-
],
|
|
40533
|
-
type: "object"
|
|
40534
|
-
},
|
|
40535
|
-
type: "array"
|
|
40536
|
-
},
|
|
40537
|
-
space_ids: {
|
|
40538
|
-
description: "IDs of the spaces to which access is being given.",
|
|
40539
|
-
items: { format: "uuid", type: "string" },
|
|
40540
|
-
type: "array"
|
|
40541
|
-
},
|
|
40542
|
-
user_identity_id: {
|
|
40543
|
-
description: "ID of user identity to which access is being granted.",
|
|
40544
|
-
format: "uuid",
|
|
40545
|
-
type: "string"
|
|
40546
|
-
},
|
|
40547
|
-
workspace_id: {
|
|
40548
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
40549
|
-
format: "uuid",
|
|
40550
|
-
type: "string"
|
|
40551
|
-
}
|
|
40552
|
-
},
|
|
40553
|
-
required: [
|
|
40554
|
-
"workspace_id",
|
|
40555
|
-
"access_grant_id",
|
|
40556
|
-
"user_identity_id",
|
|
40557
|
-
"location_ids",
|
|
40558
|
-
"space_ids",
|
|
40559
|
-
"requested_access_methods",
|
|
40560
|
-
"access_method_ids",
|
|
40561
|
-
"display_name",
|
|
40562
|
-
"created_at"
|
|
40563
|
-
],
|
|
40564
|
-
type: "object",
|
|
40565
|
-
"x-draft": "Early access.",
|
|
40566
|
-
"x-route-path": "/access_grants"
|
|
40567
|
-
},
|
|
40242
|
+
access_grant: { $ref: "#/components/schemas/access_grant" },
|
|
40568
40243
|
ok: { type: "boolean" }
|
|
40569
40244
|
},
|
|
40570
40245
|
required: ["access_grant", "ok"],
|
|
@@ -40641,98 +40316,7 @@ var openapi_default = {
|
|
|
40641
40316
|
schema: {
|
|
40642
40317
|
properties: {
|
|
40643
40318
|
access_grants: {
|
|
40644
|
-
items: {
|
|
40645
|
-
properties: {
|
|
40646
|
-
access_grant_id: {
|
|
40647
|
-
description: "ID of the access grant.",
|
|
40648
|
-
format: "uuid",
|
|
40649
|
-
type: "string"
|
|
40650
|
-
},
|
|
40651
|
-
access_method_ids: {
|
|
40652
|
-
description: "IDs of the access methods that were created for this access grant.",
|
|
40653
|
-
items: { format: "uuid", type: "string" },
|
|
40654
|
-
type: "array"
|
|
40655
|
-
},
|
|
40656
|
-
created_at: {
|
|
40657
|
-
description: "Date and time at which the access grant was created.",
|
|
40658
|
-
format: "date-time",
|
|
40659
|
-
type: "string"
|
|
40660
|
-
},
|
|
40661
|
-
display_name: {
|
|
40662
|
-
description: "Display name of the access grant.",
|
|
40663
|
-
type: "string"
|
|
40664
|
-
},
|
|
40665
|
-
location_ids: {
|
|
40666
|
-
deprecated: true,
|
|
40667
|
-
items: { format: "uuid", type: "string" },
|
|
40668
|
-
type: "array",
|
|
40669
|
-
"x-deprecated": "Use `space_ids`."
|
|
40670
|
-
},
|
|
40671
|
-
requested_access_methods: {
|
|
40672
|
-
description: "Access methods that the user requested for this access grant.",
|
|
40673
|
-
items: {
|
|
40674
|
-
properties: {
|
|
40675
|
-
created_access_method_ids: {
|
|
40676
|
-
description: "IDs of the access methods that were created for this requested access method.",
|
|
40677
|
-
items: { format: "uuid", type: "string" },
|
|
40678
|
-
type: "array"
|
|
40679
|
-
},
|
|
40680
|
-
created_at: {
|
|
40681
|
-
description: "Date and time at which the requested access method was added to this access grant.",
|
|
40682
|
-
format: "date-time",
|
|
40683
|
-
type: "string"
|
|
40684
|
-
},
|
|
40685
|
-
display_name: {
|
|
40686
|
-
description: "Display name of the access method.",
|
|
40687
|
-
type: "string"
|
|
40688
|
-
},
|
|
40689
|
-
mode: {
|
|
40690
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
40691
|
-
enum: ["code", "card", "mobile_key"],
|
|
40692
|
-
type: "string"
|
|
40693
|
-
}
|
|
40694
|
-
},
|
|
40695
|
-
required: [
|
|
40696
|
-
"display_name",
|
|
40697
|
-
"mode",
|
|
40698
|
-
"created_at",
|
|
40699
|
-
"created_access_method_ids"
|
|
40700
|
-
],
|
|
40701
|
-
type: "object"
|
|
40702
|
-
},
|
|
40703
|
-
type: "array"
|
|
40704
|
-
},
|
|
40705
|
-
space_ids: {
|
|
40706
|
-
description: "IDs of the spaces to which access is being given.",
|
|
40707
|
-
items: { format: "uuid", type: "string" },
|
|
40708
|
-
type: "array"
|
|
40709
|
-
},
|
|
40710
|
-
user_identity_id: {
|
|
40711
|
-
description: "ID of user identity to which access is being granted.",
|
|
40712
|
-
format: "uuid",
|
|
40713
|
-
type: "string"
|
|
40714
|
-
},
|
|
40715
|
-
workspace_id: {
|
|
40716
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
40717
|
-
format: "uuid",
|
|
40718
|
-
type: "string"
|
|
40719
|
-
}
|
|
40720
|
-
},
|
|
40721
|
-
required: [
|
|
40722
|
-
"workspace_id",
|
|
40723
|
-
"access_grant_id",
|
|
40724
|
-
"user_identity_id",
|
|
40725
|
-
"location_ids",
|
|
40726
|
-
"space_ids",
|
|
40727
|
-
"requested_access_methods",
|
|
40728
|
-
"access_method_ids",
|
|
40729
|
-
"display_name",
|
|
40730
|
-
"created_at"
|
|
40731
|
-
],
|
|
40732
|
-
type: "object",
|
|
40733
|
-
"x-draft": "Early access.",
|
|
40734
|
-
"x-route-path": "/access_grants"
|
|
40735
|
-
},
|
|
40319
|
+
items: { $ref: "#/components/schemas/access_grant" },
|
|
40736
40320
|
type: "array"
|
|
40737
40321
|
},
|
|
40738
40322
|
ok: { type: "boolean" }
|
|
@@ -40842,55 +40426,7 @@ var openapi_default = {
|
|
|
40842
40426
|
schema: {
|
|
40843
40427
|
properties: {
|
|
40844
40428
|
access_method: {
|
|
40845
|
-
|
|
40846
|
-
access_method_id: {
|
|
40847
|
-
description: "ID of the access method.",
|
|
40848
|
-
format: "uuid",
|
|
40849
|
-
type: "string"
|
|
40850
|
-
},
|
|
40851
|
-
created_at: {
|
|
40852
|
-
description: "Date and time at which the access method was created.",
|
|
40853
|
-
format: "date-time",
|
|
40854
|
-
type: "string"
|
|
40855
|
-
},
|
|
40856
|
-
display_name: {
|
|
40857
|
-
description: "Display name of the access method.",
|
|
40858
|
-
type: "string"
|
|
40859
|
-
},
|
|
40860
|
-
instant_key_url: {
|
|
40861
|
-
description: "URL of instant key for mobile key access methods.",
|
|
40862
|
-
type: "string"
|
|
40863
|
-
},
|
|
40864
|
-
is_card_encoding_required: {
|
|
40865
|
-
description: "Whether card encoding is required for plastic card access methods.",
|
|
40866
|
-
type: "boolean"
|
|
40867
|
-
},
|
|
40868
|
-
issued_at: {
|
|
40869
|
-
description: "Date and time at which the access method was issued.",
|
|
40870
|
-
format: "date-time",
|
|
40871
|
-
type: "string"
|
|
40872
|
-
},
|
|
40873
|
-
mode: {
|
|
40874
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
40875
|
-
enum: ["code", "card", "mobile_key"],
|
|
40876
|
-
type: "string"
|
|
40877
|
-
},
|
|
40878
|
-
workspace_id: {
|
|
40879
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
40880
|
-
format: "uuid",
|
|
40881
|
-
type: "string"
|
|
40882
|
-
}
|
|
40883
|
-
},
|
|
40884
|
-
required: [
|
|
40885
|
-
"workspace_id",
|
|
40886
|
-
"access_method_id",
|
|
40887
|
-
"display_name",
|
|
40888
|
-
"mode",
|
|
40889
|
-
"created_at"
|
|
40890
|
-
],
|
|
40891
|
-
type: "object",
|
|
40892
|
-
"x-draft": "Early access.",
|
|
40893
|
-
"x-route-path": "/access_methods"
|
|
40429
|
+
$ref: "#/components/schemas/access_method"
|
|
40894
40430
|
},
|
|
40895
40431
|
ok: { type: "boolean" }
|
|
40896
40432
|
},
|
|
@@ -40947,57 +40483,7 @@ var openapi_default = {
|
|
|
40947
40483
|
schema: {
|
|
40948
40484
|
properties: {
|
|
40949
40485
|
access_methods: {
|
|
40950
|
-
items: {
|
|
40951
|
-
properties: {
|
|
40952
|
-
access_method_id: {
|
|
40953
|
-
description: "ID of the access method.",
|
|
40954
|
-
format: "uuid",
|
|
40955
|
-
type: "string"
|
|
40956
|
-
},
|
|
40957
|
-
created_at: {
|
|
40958
|
-
description: "Date and time at which the access method was created.",
|
|
40959
|
-
format: "date-time",
|
|
40960
|
-
type: "string"
|
|
40961
|
-
},
|
|
40962
|
-
display_name: {
|
|
40963
|
-
description: "Display name of the access method.",
|
|
40964
|
-
type: "string"
|
|
40965
|
-
},
|
|
40966
|
-
instant_key_url: {
|
|
40967
|
-
description: "URL of instant key for mobile key access methods.",
|
|
40968
|
-
type: "string"
|
|
40969
|
-
},
|
|
40970
|
-
is_card_encoding_required: {
|
|
40971
|
-
description: "Whether card encoding is required for plastic card access methods.",
|
|
40972
|
-
type: "boolean"
|
|
40973
|
-
},
|
|
40974
|
-
issued_at: {
|
|
40975
|
-
description: "Date and time at which the access method was issued.",
|
|
40976
|
-
format: "date-time",
|
|
40977
|
-
type: "string"
|
|
40978
|
-
},
|
|
40979
|
-
mode: {
|
|
40980
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
40981
|
-
enum: ["code", "card", "mobile_key"],
|
|
40982
|
-
type: "string"
|
|
40983
|
-
},
|
|
40984
|
-
workspace_id: {
|
|
40985
|
-
description: "Unique identifier for the Seam workspace associated with the access grant.",
|
|
40986
|
-
format: "uuid",
|
|
40987
|
-
type: "string"
|
|
40988
|
-
}
|
|
40989
|
-
},
|
|
40990
|
-
required: [
|
|
40991
|
-
"workspace_id",
|
|
40992
|
-
"access_method_id",
|
|
40993
|
-
"display_name",
|
|
40994
|
-
"mode",
|
|
40995
|
-
"created_at"
|
|
40996
|
-
],
|
|
40997
|
-
type: "object",
|
|
40998
|
-
"x-draft": "Early access.",
|
|
40999
|
-
"x-route-path": "/access_methods"
|
|
41000
|
-
},
|
|
40486
|
+
items: { $ref: "#/components/schemas/access_method" },
|
|
41001
40487
|
type: "array"
|
|
41002
40488
|
},
|
|
41003
40489
|
ok: { type: "boolean" }
|