@seamapi/types 1.445.0 → 1.446.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 +148 -103
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +230 -135
- package/dist/index.cjs +148 -103
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +16 -12
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- 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/batches/batch.d.ts +5 -0
- package/lib/seam/connect/models/batches/spaces.d.ts +5 -0
- 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/models/spaces/space.d.ts +3 -0
- package/lib/seam/connect/models/spaces/space.js +4 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +86 -38
- package/lib/seam/connect/openapi.js +140 -96
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +133 -97
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +16 -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/models/spaces/space.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +147 -96
- package/src/lib/seam/connect/route-types.ts +144 -104
package/dist/connect.cjs
CHANGED
|
@@ -3966,6 +3966,7 @@ var space = zod.z.object({
|
|
|
3966
3966
|
workspace_id: zod.z.string().uuid().describe(
|
|
3967
3967
|
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space."
|
|
3968
3968
|
),
|
|
3969
|
+
space_key: zod.z.string().optional().describe("Unique key for the space within the workspace."),
|
|
3969
3970
|
name: zod.z.string().describe("Name of the space."),
|
|
3970
3971
|
display_name: zod.z.string().describe("Display name for the space."),
|
|
3971
3972
|
created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
|
|
@@ -4391,7 +4392,7 @@ var access_code_events = [
|
|
|
4391
4392
|
unmanaged_access_code_removed_event
|
|
4392
4393
|
];
|
|
4393
4394
|
var access_grant_event = common_event.extend({
|
|
4394
|
-
access_grant_id: zod.z.string().uuid().describe("ID of the affected
|
|
4395
|
+
access_grant_id: zod.z.string().uuid().describe("ID of the affected Access Grant.")
|
|
4395
4396
|
});
|
|
4396
4397
|
var access_grant_created_event = access_grant_event.extend({
|
|
4397
4398
|
event_type: zod.z.literal("access_grant.created")
|
|
@@ -4399,7 +4400,7 @@ var access_grant_created_event = access_grant_event.extend({
|
|
|
4399
4400
|
---
|
|
4400
4401
|
route_path: /access_grants
|
|
4401
4402
|
---
|
|
4402
|
-
An
|
|
4403
|
+
An Access Grant was created.
|
|
4403
4404
|
`);
|
|
4404
4405
|
var access_grant_deleted_event = access_grant_event.extend({
|
|
4405
4406
|
event_type: zod.z.literal("access_grant.deleted")
|
|
@@ -4407,7 +4408,7 @@ var access_grant_deleted_event = access_grant_event.extend({
|
|
|
4407
4408
|
---
|
|
4408
4409
|
route_path: /access_grants
|
|
4409
4410
|
---
|
|
4410
|
-
An
|
|
4411
|
+
An Access Grant was deleted.
|
|
4411
4412
|
`);
|
|
4412
4413
|
var access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
|
|
4413
4414
|
event_type: zod.z.literal("access_grant.access_granted_to_all_doors")
|
|
@@ -4415,7 +4416,7 @@ var access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
|
|
|
4415
4416
|
---
|
|
4416
4417
|
route_path: /access_grants
|
|
4417
4418
|
---
|
|
4418
|
-
All access requested for an
|
|
4419
|
+
All access requested for an Access Grant was successfully granted.
|
|
4419
4420
|
`);
|
|
4420
4421
|
var acs_entrance_id = zod.z.string().uuid().describe(
|
|
4421
4422
|
"ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details)."
|
|
@@ -4427,7 +4428,7 @@ var access_grant_access_granted_to_door_event = access_grant_event.extend({
|
|
|
4427
4428
|
---
|
|
4428
4429
|
route_path: /access_grants
|
|
4429
4430
|
---
|
|
4430
|
-
Access requested as part of an
|
|
4431
|
+
Access requested as part of an Access Grant to a particular door was successfully granted.
|
|
4431
4432
|
`);
|
|
4432
4433
|
var access_grant_access_to_door_lost_event = access_grant_event.extend(
|
|
4433
4434
|
{
|
|
@@ -4438,7 +4439,7 @@ var access_grant_access_to_door_lost_event = access_grant_event.extend(
|
|
|
4438
4439
|
---
|
|
4439
4440
|
route_path: /access_grants
|
|
4440
4441
|
---
|
|
4441
|
-
Access to a particular door that was requested as part of an
|
|
4442
|
+
Access to a particular door that was requested as part of an Access Grant was lost.
|
|
4442
4443
|
`);
|
|
4443
4444
|
var access_grant_events = [
|
|
4444
4445
|
access_grant_created_event,
|
|
@@ -4488,7 +4489,7 @@ var access_method_reissued_event = access_method_event.extend({
|
|
|
4488
4489
|
---
|
|
4489
4490
|
route_path: /access_methods
|
|
4490
4491
|
---
|
|
4491
|
-
An access method was reissued due to an
|
|
4492
|
+
An access method was reissued due to an Access Grant update.
|
|
4492
4493
|
`);
|
|
4493
4494
|
var access_method_events = [
|
|
4494
4495
|
access_method_issued_event,
|
|
@@ -7094,34 +7095,38 @@ var openapi_default = {
|
|
|
7094
7095
|
"x-route-path": "/access_codes"
|
|
7095
7096
|
},
|
|
7096
7097
|
access_grant: {
|
|
7097
|
-
description: "Represents an
|
|
7098
|
+
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.",
|
|
7098
7099
|
properties: {
|
|
7099
7100
|
access_grant_id: {
|
|
7100
|
-
description: "ID of the
|
|
7101
|
+
description: "ID of the Access Grant.",
|
|
7101
7102
|
format: "uuid",
|
|
7102
7103
|
type: "string"
|
|
7103
7104
|
},
|
|
7105
|
+
access_grant_key: {
|
|
7106
|
+
description: "Unique key for the access grant within the workspace.",
|
|
7107
|
+
type: "string"
|
|
7108
|
+
},
|
|
7104
7109
|
access_method_ids: {
|
|
7105
|
-
description: "IDs of the access methods created for the
|
|
7110
|
+
description: "IDs of the access methods created for the Access Grant.",
|
|
7106
7111
|
items: { format: "uuid", type: "string" },
|
|
7107
7112
|
type: "array"
|
|
7108
7113
|
},
|
|
7109
7114
|
created_at: {
|
|
7110
|
-
description: "Date and time at which the
|
|
7115
|
+
description: "Date and time at which the Access Grant was created.",
|
|
7111
7116
|
format: "date-time",
|
|
7112
7117
|
type: "string"
|
|
7113
7118
|
},
|
|
7114
7119
|
display_name: {
|
|
7115
|
-
description: "Display name of the
|
|
7120
|
+
description: "Display name of the Access Grant.",
|
|
7116
7121
|
type: "string"
|
|
7117
7122
|
},
|
|
7118
7123
|
ends_at: {
|
|
7119
|
-
description: "Date and time at which the
|
|
7124
|
+
description: "Date and time at which the Access Grant ends.",
|
|
7120
7125
|
format: "date-time",
|
|
7121
7126
|
type: "string"
|
|
7122
7127
|
},
|
|
7123
7128
|
instant_key_url: {
|
|
7124
|
-
description: "Instant Key URL. Only returned if the
|
|
7129
|
+
description: "Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ",
|
|
7125
7130
|
format: "uri",
|
|
7126
7131
|
type: "string"
|
|
7127
7132
|
},
|
|
@@ -7132,7 +7137,7 @@ var openapi_default = {
|
|
|
7132
7137
|
"x-deprecated": "Use `space_ids`."
|
|
7133
7138
|
},
|
|
7134
7139
|
requested_access_methods: {
|
|
7135
|
-
description: "Access methods that the user requested for the
|
|
7140
|
+
description: "Access methods that the user requested for the Access Grant.",
|
|
7136
7141
|
items: {
|
|
7137
7142
|
properties: {
|
|
7138
7143
|
created_access_method_ids: {
|
|
@@ -7141,7 +7146,7 @@ var openapi_default = {
|
|
|
7141
7146
|
type: "array"
|
|
7142
7147
|
},
|
|
7143
7148
|
created_at: {
|
|
7144
|
-
description: "Date and time at which the requested access method was added to the
|
|
7149
|
+
description: "Date and time at which the requested access method was added to the Access Grant.",
|
|
7145
7150
|
format: "date-time",
|
|
7146
7151
|
type: "string"
|
|
7147
7152
|
},
|
|
@@ -7166,22 +7171,22 @@ var openapi_default = {
|
|
|
7166
7171
|
type: "array"
|
|
7167
7172
|
},
|
|
7168
7173
|
space_ids: {
|
|
7169
|
-
description: "IDs of the spaces to which the
|
|
7174
|
+
description: "IDs of the spaces to which the Access Grant gives access.",
|
|
7170
7175
|
items: { format: "uuid", type: "string" },
|
|
7171
7176
|
type: "array"
|
|
7172
7177
|
},
|
|
7173
7178
|
starts_at: {
|
|
7174
|
-
description: "Date and time at which the
|
|
7179
|
+
description: "Date and time at which the Access Grant starts.",
|
|
7175
7180
|
format: "date-time",
|
|
7176
7181
|
type: "string"
|
|
7177
7182
|
},
|
|
7178
7183
|
user_identity_id: {
|
|
7179
|
-
description: "ID of user identity to which the
|
|
7184
|
+
description: "ID of user identity to which the Access Grant gives access.",
|
|
7180
7185
|
format: "uuid",
|
|
7181
7186
|
type: "string"
|
|
7182
7187
|
},
|
|
7183
7188
|
workspace_id: {
|
|
7184
|
-
description: "ID of the Seam workspace associated with the
|
|
7189
|
+
description: "ID of the Seam workspace associated with the Access Grant.",
|
|
7185
7190
|
format: "uuid",
|
|
7186
7191
|
type: "string"
|
|
7187
7192
|
}
|
|
@@ -7202,7 +7207,7 @@ var openapi_default = {
|
|
|
7202
7207
|
"x-route-path": "/access_grants"
|
|
7203
7208
|
},
|
|
7204
7209
|
access_method: {
|
|
7205
|
-
description: "Represents an access method for an
|
|
7210
|
+
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.",
|
|
7206
7211
|
properties: {
|
|
7207
7212
|
access_method_id: {
|
|
7208
7213
|
description: "ID of the access method.",
|
|
@@ -18173,10 +18178,10 @@ var openapi_default = {
|
|
|
18173
18178
|
"x-route-path": "/access_codes/unmanaged"
|
|
18174
18179
|
},
|
|
18175
18180
|
{
|
|
18176
|
-
description: "An
|
|
18181
|
+
description: "An Access Grant was created.",
|
|
18177
18182
|
properties: {
|
|
18178
18183
|
access_grant_id: {
|
|
18179
|
-
description: "ID of the affected
|
|
18184
|
+
description: "ID of the affected Access Grant.",
|
|
18180
18185
|
format: "uuid",
|
|
18181
18186
|
type: "string"
|
|
18182
18187
|
},
|
|
@@ -18214,10 +18219,10 @@ var openapi_default = {
|
|
|
18214
18219
|
"x-route-path": "/access_grants"
|
|
18215
18220
|
},
|
|
18216
18221
|
{
|
|
18217
|
-
description: "An
|
|
18222
|
+
description: "An Access Grant was deleted.",
|
|
18218
18223
|
properties: {
|
|
18219
18224
|
access_grant_id: {
|
|
18220
|
-
description: "ID of the affected
|
|
18225
|
+
description: "ID of the affected Access Grant.",
|
|
18221
18226
|
format: "uuid",
|
|
18222
18227
|
type: "string"
|
|
18223
18228
|
},
|
|
@@ -18255,10 +18260,10 @@ var openapi_default = {
|
|
|
18255
18260
|
"x-route-path": "/access_grants"
|
|
18256
18261
|
},
|
|
18257
18262
|
{
|
|
18258
|
-
description: "All access requested for an
|
|
18263
|
+
description: "All access requested for an Access Grant was successfully granted.",
|
|
18259
18264
|
properties: {
|
|
18260
18265
|
access_grant_id: {
|
|
18261
|
-
description: "ID of the affected
|
|
18266
|
+
description: "ID of the affected Access Grant.",
|
|
18262
18267
|
format: "uuid",
|
|
18263
18268
|
type: "string"
|
|
18264
18269
|
},
|
|
@@ -18299,10 +18304,10 @@ var openapi_default = {
|
|
|
18299
18304
|
"x-route-path": "/access_grants"
|
|
18300
18305
|
},
|
|
18301
18306
|
{
|
|
18302
|
-
description: "Access requested as part of an
|
|
18307
|
+
description: "Access requested as part of an Access Grant to a particular door was successfully granted.",
|
|
18303
18308
|
properties: {
|
|
18304
18309
|
access_grant_id: {
|
|
18305
|
-
description: "ID of the affected
|
|
18310
|
+
description: "ID of the affected Access Grant.",
|
|
18306
18311
|
format: "uuid",
|
|
18307
18312
|
type: "string"
|
|
18308
18313
|
},
|
|
@@ -18349,10 +18354,10 @@ var openapi_default = {
|
|
|
18349
18354
|
"x-route-path": "/access_grants"
|
|
18350
18355
|
},
|
|
18351
18356
|
{
|
|
18352
|
-
description: "Access to a particular door that was requested as part of an
|
|
18357
|
+
description: "Access to a particular door that was requested as part of an Access Grant was lost.",
|
|
18353
18358
|
properties: {
|
|
18354
18359
|
access_grant_id: {
|
|
18355
|
-
description: "ID of the affected
|
|
18360
|
+
description: "ID of the affected Access Grant.",
|
|
18356
18361
|
format: "uuid",
|
|
18357
18362
|
type: "string"
|
|
18358
18363
|
},
|
|
@@ -18566,7 +18571,7 @@ var openapi_default = {
|
|
|
18566
18571
|
"x-route-path": "/access_methods"
|
|
18567
18572
|
},
|
|
18568
18573
|
{
|
|
18569
|
-
description: "An access method was reissued due to an
|
|
18574
|
+
description: "An access method was reissued due to an Access Grant update.",
|
|
18570
18575
|
properties: {
|
|
18571
18576
|
access_method_id: {
|
|
18572
18577
|
description: "ID of the affected access method.",
|
|
@@ -23567,6 +23572,10 @@ var openapi_default = {
|
|
|
23567
23572
|
format: "uuid",
|
|
23568
23573
|
type: "string"
|
|
23569
23574
|
},
|
|
23575
|
+
space_key: {
|
|
23576
|
+
description: "Unique key for the space within the workspace.",
|
|
23577
|
+
type: "string"
|
|
23578
|
+
},
|
|
23570
23579
|
workspace_id: {
|
|
23571
23580
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.",
|
|
23572
23581
|
format: "uuid",
|
|
@@ -30219,7 +30228,7 @@ var openapi_default = {
|
|
|
30219
30228
|
},
|
|
30220
30229
|
"/access_grants/create": {
|
|
30221
30230
|
post: {
|
|
30222
|
-
description: "Creates a new
|
|
30231
|
+
description: "Creates a new Access Grant.",
|
|
30223
30232
|
operationId: "accessGrantsCreatePost",
|
|
30224
30233
|
requestBody: {
|
|
30225
30234
|
content: {
|
|
@@ -30271,6 +30280,10 @@ var openapi_default = {
|
|
|
30271
30280
|
},
|
|
30272
30281
|
{
|
|
30273
30282
|
properties: {
|
|
30283
|
+
access_grant_key: {
|
|
30284
|
+
description: "Unique key for the access grant within the workspace.",
|
|
30285
|
+
type: "string"
|
|
30286
|
+
},
|
|
30274
30287
|
acs_entrance_ids: {
|
|
30275
30288
|
default: [],
|
|
30276
30289
|
description: "Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to which access is being granted.",
|
|
@@ -30386,7 +30399,7 @@ var openapi_default = {
|
|
|
30386
30399
|
},
|
|
30387
30400
|
"/access_grants/delete": {
|
|
30388
30401
|
delete: {
|
|
30389
|
-
description: "Delete an
|
|
30402
|
+
description: "Delete an Access Grant.",
|
|
30390
30403
|
operationId: "accessGrantsDeleteDelete",
|
|
30391
30404
|
parameters: [
|
|
30392
30405
|
{
|
|
@@ -30394,7 +30407,7 @@ var openapi_default = {
|
|
|
30394
30407
|
name: "access_grant_id",
|
|
30395
30408
|
required: true,
|
|
30396
30409
|
schema: {
|
|
30397
|
-
description: "ID of
|
|
30410
|
+
description: "ID of Access Grant to delete.",
|
|
30398
30411
|
format: "uuid",
|
|
30399
30412
|
type: "string"
|
|
30400
30413
|
}
|
|
@@ -30431,7 +30444,7 @@ var openapi_default = {
|
|
|
30431
30444
|
"x-title": "Delete an Access Grant"
|
|
30432
30445
|
},
|
|
30433
30446
|
post: {
|
|
30434
|
-
description: "Delete an
|
|
30447
|
+
description: "Delete an Access Grant.",
|
|
30435
30448
|
operationId: "accessGrantsDeletePost",
|
|
30436
30449
|
requestBody: {
|
|
30437
30450
|
content: {
|
|
@@ -30439,7 +30452,7 @@ var openapi_default = {
|
|
|
30439
30452
|
schema: {
|
|
30440
30453
|
properties: {
|
|
30441
30454
|
access_grant_id: {
|
|
30442
|
-
description: "ID of
|
|
30455
|
+
description: "ID of Access Grant to delete.",
|
|
30443
30456
|
format: "uuid",
|
|
30444
30457
|
type: "string"
|
|
30445
30458
|
}
|
|
@@ -30483,20 +30496,8 @@ var openapi_default = {
|
|
|
30483
30496
|
},
|
|
30484
30497
|
"/access_grants/get": {
|
|
30485
30498
|
get: {
|
|
30486
|
-
description: "Get an
|
|
30499
|
+
description: "Get an Access Grant.",
|
|
30487
30500
|
operationId: "accessGrantsGetGet",
|
|
30488
|
-
parameters: [
|
|
30489
|
-
{
|
|
30490
|
-
in: "query",
|
|
30491
|
-
name: "access_grant_id",
|
|
30492
|
-
required: true,
|
|
30493
|
-
schema: {
|
|
30494
|
-
description: "ID of access grant to get.",
|
|
30495
|
-
format: "uuid",
|
|
30496
|
-
type: "string"
|
|
30497
|
-
}
|
|
30498
|
-
}
|
|
30499
|
-
],
|
|
30500
30501
|
responses: {
|
|
30501
30502
|
200: {
|
|
30502
30503
|
content: {
|
|
@@ -30532,21 +30533,35 @@ var openapi_default = {
|
|
|
30532
30533
|
"x-title": "Get an Access Grant"
|
|
30533
30534
|
},
|
|
30534
30535
|
post: {
|
|
30535
|
-
description: "Get an
|
|
30536
|
+
description: "Get an Access Grant.",
|
|
30536
30537
|
operationId: "accessGrantsGetPost",
|
|
30537
30538
|
requestBody: {
|
|
30538
30539
|
content: {
|
|
30539
30540
|
"application/json": {
|
|
30540
30541
|
schema: {
|
|
30541
|
-
|
|
30542
|
-
|
|
30543
|
-
|
|
30544
|
-
|
|
30545
|
-
|
|
30542
|
+
oneOf: [
|
|
30543
|
+
{
|
|
30544
|
+
properties: {
|
|
30545
|
+
access_grant_id: {
|
|
30546
|
+
description: "ID of Access Grant to get.",
|
|
30547
|
+
format: "uuid",
|
|
30548
|
+
type: "string"
|
|
30549
|
+
}
|
|
30550
|
+
},
|
|
30551
|
+
required: ["access_grant_id"],
|
|
30552
|
+
type: "object"
|
|
30553
|
+
},
|
|
30554
|
+
{
|
|
30555
|
+
properties: {
|
|
30556
|
+
access_grant_key: {
|
|
30557
|
+
description: "Unique key of Access Grant to get.",
|
|
30558
|
+
type: "string"
|
|
30559
|
+
}
|
|
30560
|
+
},
|
|
30561
|
+
required: ["access_grant_key"],
|
|
30562
|
+
type: "object"
|
|
30546
30563
|
}
|
|
30547
|
-
|
|
30548
|
-
required: ["access_grant_id"],
|
|
30549
|
-
type: "object"
|
|
30564
|
+
]
|
|
30550
30565
|
}
|
|
30551
30566
|
}
|
|
30552
30567
|
}
|
|
@@ -30588,14 +30603,14 @@ var openapi_default = {
|
|
|
30588
30603
|
},
|
|
30589
30604
|
"/access_grants/list": {
|
|
30590
30605
|
get: {
|
|
30591
|
-
description: "
|
|
30606
|
+
description: "Gets an Access Grant.",
|
|
30592
30607
|
operationId: "accessGrantsListGet",
|
|
30593
30608
|
parameters: [
|
|
30594
30609
|
{
|
|
30595
30610
|
in: "query",
|
|
30596
30611
|
name: "user_identity_id",
|
|
30597
30612
|
schema: {
|
|
30598
|
-
description: "ID of user identity to filter list of
|
|
30613
|
+
description: "ID of user identity by which you want to filter the list of Access Grants.",
|
|
30599
30614
|
format: "uuid",
|
|
30600
30615
|
type: "string"
|
|
30601
30616
|
}
|
|
@@ -30604,7 +30619,7 @@ var openapi_default = {
|
|
|
30604
30619
|
in: "query",
|
|
30605
30620
|
name: "acs_system_id",
|
|
30606
30621
|
schema: {
|
|
30607
|
-
description: "ID of system to filter list of
|
|
30622
|
+
description: "ID of the access system by which you want to filter the list of Access Grants.",
|
|
30608
30623
|
format: "uuid",
|
|
30609
30624
|
type: "string"
|
|
30610
30625
|
}
|
|
@@ -30613,7 +30628,7 @@ var openapi_default = {
|
|
|
30613
30628
|
in: "query",
|
|
30614
30629
|
name: "acs_entrance_id",
|
|
30615
30630
|
schema: {
|
|
30616
|
-
description: "ID of entrance to filter list of
|
|
30631
|
+
description: "ID of the entrance by which you want to filter the list of Access Grants.",
|
|
30617
30632
|
format: "uuid",
|
|
30618
30633
|
type: "string"
|
|
30619
30634
|
}
|
|
@@ -30632,10 +30647,18 @@ var openapi_default = {
|
|
|
30632
30647
|
in: "query",
|
|
30633
30648
|
name: "space_id",
|
|
30634
30649
|
schema: {
|
|
30635
|
-
description: "ID of space to filter list of
|
|
30650
|
+
description: "ID of the space by which you want to filter the list of Access Grants.",
|
|
30636
30651
|
format: "uuid",
|
|
30637
30652
|
type: "string"
|
|
30638
30653
|
}
|
|
30654
|
+
},
|
|
30655
|
+
{
|
|
30656
|
+
in: "query",
|
|
30657
|
+
name: "access_grant_key",
|
|
30658
|
+
schema: {
|
|
30659
|
+
description: "Filter Access Grants by access_grant_key.",
|
|
30660
|
+
type: "string"
|
|
30661
|
+
}
|
|
30639
30662
|
}
|
|
30640
30663
|
],
|
|
30641
30664
|
responses: {
|
|
@@ -30676,20 +30699,24 @@ var openapi_default = {
|
|
|
30676
30699
|
"x-title": "List Access Grants"
|
|
30677
30700
|
},
|
|
30678
30701
|
post: {
|
|
30679
|
-
description: "
|
|
30702
|
+
description: "Gets an Access Grant.",
|
|
30680
30703
|
operationId: "accessGrantsListPost",
|
|
30681
30704
|
requestBody: {
|
|
30682
30705
|
content: {
|
|
30683
30706
|
"application/json": {
|
|
30684
30707
|
schema: {
|
|
30685
30708
|
properties: {
|
|
30709
|
+
access_grant_key: {
|
|
30710
|
+
description: "Filter Access Grants by access_grant_key.",
|
|
30711
|
+
type: "string"
|
|
30712
|
+
},
|
|
30686
30713
|
acs_entrance_id: {
|
|
30687
|
-
description: "ID of entrance to filter list of
|
|
30714
|
+
description: "ID of the entrance by which you want to filter the list of Access Grants.",
|
|
30688
30715
|
format: "uuid",
|
|
30689
30716
|
type: "string"
|
|
30690
30717
|
},
|
|
30691
30718
|
acs_system_id: {
|
|
30692
|
-
description: "ID of system to filter list of
|
|
30719
|
+
description: "ID of the access system by which you want to filter the list of Access Grants.",
|
|
30693
30720
|
format: "uuid",
|
|
30694
30721
|
type: "string"
|
|
30695
30722
|
},
|
|
@@ -30700,12 +30727,12 @@ var openapi_default = {
|
|
|
30700
30727
|
"x-deprecated": "Use `space_id`."
|
|
30701
30728
|
},
|
|
30702
30729
|
space_id: {
|
|
30703
|
-
description: "ID of space to filter list of
|
|
30730
|
+
description: "ID of the space by which you want to filter the list of Access Grants.",
|
|
30704
30731
|
format: "uuid",
|
|
30705
30732
|
type: "string"
|
|
30706
30733
|
},
|
|
30707
30734
|
user_identity_id: {
|
|
30708
|
-
description: "ID of user identity to filter list of
|
|
30735
|
+
description: "ID of user identity by which you want to filter the list of Access Grants.",
|
|
30709
30736
|
format: "uuid",
|
|
30710
30737
|
type: "string"
|
|
30711
30738
|
}
|
|
@@ -30755,7 +30782,7 @@ var openapi_default = {
|
|
|
30755
30782
|
},
|
|
30756
30783
|
"/access_grants/update": {
|
|
30757
30784
|
patch: {
|
|
30758
|
-
description: "Updates an existing
|
|
30785
|
+
description: "Updates an existing Access Grant's time window.",
|
|
30759
30786
|
operationId: "accessGrantsUpdatePatch",
|
|
30760
30787
|
requestBody: {
|
|
30761
30788
|
content: {
|
|
@@ -30763,7 +30790,7 @@ var openapi_default = {
|
|
|
30763
30790
|
schema: {
|
|
30764
30791
|
properties: {
|
|
30765
30792
|
access_grant_id: {
|
|
30766
|
-
description: "ID of the
|
|
30793
|
+
description: "ID of the Access Grant to update.",
|
|
30767
30794
|
format: "uuid",
|
|
30768
30795
|
type: "string"
|
|
30769
30796
|
},
|
|
@@ -30817,7 +30844,7 @@ var openapi_default = {
|
|
|
30817
30844
|
"x-title": "Update an Access Grant"
|
|
30818
30845
|
},
|
|
30819
30846
|
post: {
|
|
30820
|
-
description: "Updates an existing
|
|
30847
|
+
description: "Updates an existing Access Grant's time window.",
|
|
30821
30848
|
operationId: "accessGrantsUpdatePost",
|
|
30822
30849
|
requestBody: {
|
|
30823
30850
|
content: {
|
|
@@ -30825,7 +30852,7 @@ var openapi_default = {
|
|
|
30825
30852
|
schema: {
|
|
30826
30853
|
properties: {
|
|
30827
30854
|
access_grant_id: {
|
|
30828
|
-
description: "ID of the
|
|
30855
|
+
description: "ID of the Access Grant to update.",
|
|
30829
30856
|
format: "uuid",
|
|
30830
30857
|
type: "string"
|
|
30831
30858
|
},
|
|
@@ -30881,7 +30908,7 @@ var openapi_default = {
|
|
|
30881
30908
|
},
|
|
30882
30909
|
"/access_methods/delete": {
|
|
30883
30910
|
delete: {
|
|
30884
|
-
description: "
|
|
30911
|
+
description: "Deletes an access method.",
|
|
30885
30912
|
operationId: "accessMethodsDeleteDelete",
|
|
30886
30913
|
parameters: [
|
|
30887
30914
|
{
|
|
@@ -30925,7 +30952,7 @@ var openapi_default = {
|
|
|
30925
30952
|
"x-title": "Delete an Access Method"
|
|
30926
30953
|
},
|
|
30927
30954
|
post: {
|
|
30928
|
-
description: "
|
|
30955
|
+
description: "Deletes an access method.",
|
|
30929
30956
|
operationId: "accessMethodsDeletePost",
|
|
30930
30957
|
requestBody: {
|
|
30931
30958
|
content: {
|
|
@@ -30976,7 +31003,7 @@ var openapi_default = {
|
|
|
30976
31003
|
},
|
|
30977
31004
|
"/access_methods/encode": {
|
|
30978
31005
|
post: {
|
|
30979
|
-
description: "Encodes an existing
|
|
31006
|
+
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).",
|
|
30980
31007
|
operationId: "accessMethodsEncodePost",
|
|
30981
31008
|
requestBody: {
|
|
30982
31009
|
content: {
|
|
@@ -30989,7 +31016,7 @@ var openapi_default = {
|
|
|
30989
31016
|
type: "string"
|
|
30990
31017
|
},
|
|
30991
31018
|
acs_encoder_id: {
|
|
30992
|
-
description: "ID of the `acs_encoder` to use to encode the `
|
|
31019
|
+
description: "ID of the `acs_encoder` to use to encode the `access_method`.",
|
|
30993
31020
|
format: "uuid",
|
|
30994
31021
|
type: "string"
|
|
30995
31022
|
}
|
|
@@ -31038,7 +31065,7 @@ var openapi_default = {
|
|
|
31038
31065
|
},
|
|
31039
31066
|
"/access_methods/get": {
|
|
31040
31067
|
get: {
|
|
31041
|
-
description: "
|
|
31068
|
+
description: "Gets an access method.",
|
|
31042
31069
|
operationId: "accessMethodsGetGet",
|
|
31043
31070
|
parameters: [
|
|
31044
31071
|
{
|
|
@@ -31088,7 +31115,7 @@ var openapi_default = {
|
|
|
31088
31115
|
"x-title": "Get an Access Method"
|
|
31089
31116
|
},
|
|
31090
31117
|
post: {
|
|
31091
|
-
description: "
|
|
31118
|
+
description: "Gets an access method.",
|
|
31092
31119
|
operationId: "accessMethodsGetPost",
|
|
31093
31120
|
requestBody: {
|
|
31094
31121
|
content: {
|
|
@@ -31145,7 +31172,7 @@ var openapi_default = {
|
|
|
31145
31172
|
},
|
|
31146
31173
|
"/access_methods/list": {
|
|
31147
31174
|
get: {
|
|
31148
|
-
description: "
|
|
31175
|
+
description: "Lists all access methods, usually filtered by Access Grant.",
|
|
31149
31176
|
operationId: "accessMethodsListGet",
|
|
31150
31177
|
parameters: [
|
|
31151
31178
|
{
|
|
@@ -31153,7 +31180,7 @@ var openapi_default = {
|
|
|
31153
31180
|
name: "access_grant_id",
|
|
31154
31181
|
required: true,
|
|
31155
31182
|
schema: {
|
|
31156
|
-
description: "ID of
|
|
31183
|
+
description: "ID of Access Grant to list access methods for.",
|
|
31157
31184
|
format: "uuid",
|
|
31158
31185
|
type: "string"
|
|
31159
31186
|
}
|
|
@@ -31226,7 +31253,7 @@ var openapi_default = {
|
|
|
31226
31253
|
"x-title": "List Access Methods"
|
|
31227
31254
|
},
|
|
31228
31255
|
post: {
|
|
31229
|
-
description: "
|
|
31256
|
+
description: "Lists all access methods, usually filtered by Access Grant.",
|
|
31230
31257
|
operationId: "accessMethodsListPost",
|
|
31231
31258
|
requestBody: {
|
|
31232
31259
|
content: {
|
|
@@ -31234,7 +31261,7 @@ var openapi_default = {
|
|
|
31234
31261
|
schema: {
|
|
31235
31262
|
properties: {
|
|
31236
31263
|
access_grant_id: {
|
|
31237
|
-
description: "ID of
|
|
31264
|
+
description: "ID of Access Grant to list access methods for.",
|
|
31238
31265
|
format: "uuid",
|
|
31239
31266
|
type: "string"
|
|
31240
31267
|
},
|
|
@@ -48722,6 +48749,10 @@ var openapi_default = {
|
|
|
48722
48749
|
name: {
|
|
48723
48750
|
description: "Name of the space that you want to create.",
|
|
48724
48751
|
type: "string"
|
|
48752
|
+
},
|
|
48753
|
+
space_key: {
|
|
48754
|
+
description: "Unique key for the space within the workspace.",
|
|
48755
|
+
type: "string"
|
|
48725
48756
|
}
|
|
48726
48757
|
},
|
|
48727
48758
|
required: ["name"],
|
|
@@ -48868,18 +48899,6 @@ var openapi_default = {
|
|
|
48868
48899
|
get: {
|
|
48869
48900
|
description: "Gets a space.",
|
|
48870
48901
|
operationId: "spacesGetGet",
|
|
48871
|
-
parameters: [
|
|
48872
|
-
{
|
|
48873
|
-
in: "query",
|
|
48874
|
-
name: "space_id",
|
|
48875
|
-
required: true,
|
|
48876
|
-
schema: {
|
|
48877
|
-
description: "ID of the space that you want to get.",
|
|
48878
|
-
format: "uuid",
|
|
48879
|
-
type: "string"
|
|
48880
|
-
}
|
|
48881
|
-
}
|
|
48882
|
-
],
|
|
48883
48902
|
responses: {
|
|
48884
48903
|
200: {
|
|
48885
48904
|
content: {
|
|
@@ -48920,15 +48939,29 @@ var openapi_default = {
|
|
|
48920
48939
|
content: {
|
|
48921
48940
|
"application/json": {
|
|
48922
48941
|
schema: {
|
|
48923
|
-
|
|
48924
|
-
|
|
48925
|
-
|
|
48926
|
-
|
|
48927
|
-
|
|
48942
|
+
oneOf: [
|
|
48943
|
+
{
|
|
48944
|
+
properties: {
|
|
48945
|
+
space_id: {
|
|
48946
|
+
description: "ID of the space that you want to get.",
|
|
48947
|
+
format: "uuid",
|
|
48948
|
+
type: "string"
|
|
48949
|
+
}
|
|
48950
|
+
},
|
|
48951
|
+
required: ["space_id"],
|
|
48952
|
+
type: "object"
|
|
48953
|
+
},
|
|
48954
|
+
{
|
|
48955
|
+
properties: {
|
|
48956
|
+
space_key: {
|
|
48957
|
+
description: "Unique key of the space that you want to get.",
|
|
48958
|
+
type: "string"
|
|
48959
|
+
}
|
|
48960
|
+
},
|
|
48961
|
+
required: ["space_key"],
|
|
48962
|
+
type: "object"
|
|
48928
48963
|
}
|
|
48929
|
-
|
|
48930
|
-
required: ["space_id"],
|
|
48931
|
-
type: "object"
|
|
48964
|
+
]
|
|
48932
48965
|
}
|
|
48933
48966
|
}
|
|
48934
48967
|
}
|
|
@@ -49163,6 +49196,14 @@ var openapi_default = {
|
|
|
49163
49196
|
minLength: 1,
|
|
49164
49197
|
type: "string"
|
|
49165
49198
|
}
|
|
49199
|
+
},
|
|
49200
|
+
{
|
|
49201
|
+
in: "query",
|
|
49202
|
+
name: "space_key",
|
|
49203
|
+
schema: {
|
|
49204
|
+
description: "Filter spaces by space_key.",
|
|
49205
|
+
type: "string"
|
|
49206
|
+
}
|
|
49166
49207
|
}
|
|
49167
49208
|
],
|
|
49168
49209
|
responses: {
|
|
@@ -49213,6 +49254,10 @@ var openapi_default = {
|
|
|
49213
49254
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
49214
49255
|
minLength: 1,
|
|
49215
49256
|
type: "string"
|
|
49257
|
+
},
|
|
49258
|
+
space_key: {
|
|
49259
|
+
description: "Filter spaces by space_key.",
|
|
49260
|
+
type: "string"
|
|
49216
49261
|
}
|
|
49217
49262
|
},
|
|
49218
49263
|
type: "object"
|