@seamapi/types 1.409.0 → 1.409.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +65 -41
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +54 -14
- package/lib/seam/connect/models/events/access-grants.js +5 -5
- package/lib/seam/connect/models/events/access-methods.js +4 -4
- package/lib/seam/connect/models/partner/resources.d.ts +1 -0
- package/lib/seam/connect/openapi.d.ts +45 -11
- package/lib/seam/connect/openapi.js +48 -24
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +9 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-grants.ts +5 -5
- package/src/lib/seam/connect/models/events/access-methods.ts +4 -4
- package/src/lib/seam/connect/models/partner/resources.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +49 -24
- package/src/lib/seam/connect/route-types.ts +17 -7
package/dist/connect.cjs
CHANGED
|
@@ -4163,7 +4163,7 @@ var access_grant_created_event = access_grant_event.extend({
|
|
|
4163
4163
|
event_type: zod.z.literal("access_grant.created")
|
|
4164
4164
|
}).describe(`
|
|
4165
4165
|
---
|
|
4166
|
-
route_path: /
|
|
4166
|
+
route_path: /access_grants
|
|
4167
4167
|
---
|
|
4168
4168
|
An access grant was created.
|
|
4169
4169
|
`);
|
|
@@ -4171,7 +4171,7 @@ var access_grant_deleted_event = access_grant_event.extend({
|
|
|
4171
4171
|
event_type: zod.z.literal("access_grant.deleted")
|
|
4172
4172
|
}).describe(`
|
|
4173
4173
|
---
|
|
4174
|
-
route_path: /
|
|
4174
|
+
route_path: /access_grants
|
|
4175
4175
|
---
|
|
4176
4176
|
An access grant was deleted.
|
|
4177
4177
|
`);
|
|
@@ -4179,7 +4179,7 @@ var access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
|
|
|
4179
4179
|
event_type: zod.z.literal("access_grant.access_granted_to_all_doors")
|
|
4180
4180
|
}).describe(`
|
|
4181
4181
|
---
|
|
4182
|
-
route_path: /
|
|
4182
|
+
route_path: /access_grants
|
|
4183
4183
|
---
|
|
4184
4184
|
All access requested for an access grant was successfully granted.
|
|
4185
4185
|
`);
|
|
@@ -4191,7 +4191,7 @@ var access_grant_access_granted_to_door_event = access_grant_event.extend({
|
|
|
4191
4191
|
acs_entrance_id
|
|
4192
4192
|
}).describe(`
|
|
4193
4193
|
---
|
|
4194
|
-
route_path: /
|
|
4194
|
+
route_path: /access_grants
|
|
4195
4195
|
---
|
|
4196
4196
|
Access requested as part of an access grant to a particular door was successfully granted.
|
|
4197
4197
|
`);
|
|
@@ -4202,7 +4202,7 @@ var access_grant_access_to_door_lost_event = access_grant_event.extend(
|
|
|
4202
4202
|
}
|
|
4203
4203
|
).describe(`
|
|
4204
4204
|
---
|
|
4205
|
-
route_path: /
|
|
4205
|
+
route_path: /access_grants
|
|
4206
4206
|
---
|
|
4207
4207
|
Access to a particular door that was requested as part of an access grant was lost.
|
|
4208
4208
|
`);
|
|
@@ -4220,7 +4220,7 @@ var access_method_issued_event = access_method_event.extend({
|
|
|
4220
4220
|
event_type: zod.z.literal("access_method.issued")
|
|
4221
4221
|
}).describe(`
|
|
4222
4222
|
---
|
|
4223
|
-
route_path: /
|
|
4223
|
+
route_path: /access_methods
|
|
4224
4224
|
---
|
|
4225
4225
|
An access method was issued.
|
|
4226
4226
|
`);
|
|
@@ -4228,7 +4228,7 @@ var access_method_card_encoding_required_event = access_method_event.extend({
|
|
|
4228
4228
|
event_type: zod.z.literal("access_method.card_encoding_required")
|
|
4229
4229
|
}).describe(`
|
|
4230
4230
|
---
|
|
4231
|
-
route_path: /
|
|
4231
|
+
route_path: /access_methods
|
|
4232
4232
|
---
|
|
4233
4233
|
An access method representing a physical card requires encoding.
|
|
4234
4234
|
`);
|
|
@@ -4236,7 +4236,7 @@ var access_method_revoked_event = access_method_event.extend({
|
|
|
4236
4236
|
event_type: zod.z.literal("access_method.revoked")
|
|
4237
4237
|
}).describe(`
|
|
4238
4238
|
---
|
|
4239
|
-
route_path: /
|
|
4239
|
+
route_path: /access_methods
|
|
4240
4240
|
---
|
|
4241
4241
|
An access method was revoked.
|
|
4242
4242
|
`);
|
|
@@ -4244,7 +4244,7 @@ var access_method_deleted_event = access_method_event.extend({
|
|
|
4244
4244
|
event_type: zod.z.literal("access_method.deleted")
|
|
4245
4245
|
}).describe(`
|
|
4246
4246
|
---
|
|
4247
|
-
route_path: /
|
|
4247
|
+
route_path: /access_methods
|
|
4248
4248
|
---
|
|
4249
4249
|
An access method was deleted.
|
|
4250
4250
|
`);
|
|
@@ -15998,7 +15998,7 @@ var openapi_default = {
|
|
|
15998
15998
|
"event_type"
|
|
15999
15999
|
],
|
|
16000
16000
|
type: "object",
|
|
16001
|
-
"x-route-path": "/
|
|
16001
|
+
"x-route-path": "/access_grants"
|
|
16002
16002
|
},
|
|
16003
16003
|
{
|
|
16004
16004
|
description: "An access grant was deleted.",
|
|
@@ -16039,7 +16039,7 @@ var openapi_default = {
|
|
|
16039
16039
|
"event_type"
|
|
16040
16040
|
],
|
|
16041
16041
|
type: "object",
|
|
16042
|
-
"x-route-path": "/
|
|
16042
|
+
"x-route-path": "/access_grants"
|
|
16043
16043
|
},
|
|
16044
16044
|
{
|
|
16045
16045
|
description: "All access requested for an access grant was successfully granted.",
|
|
@@ -16083,7 +16083,7 @@ var openapi_default = {
|
|
|
16083
16083
|
"event_type"
|
|
16084
16084
|
],
|
|
16085
16085
|
type: "object",
|
|
16086
|
-
"x-route-path": "/
|
|
16086
|
+
"x-route-path": "/access_grants"
|
|
16087
16087
|
},
|
|
16088
16088
|
{
|
|
16089
16089
|
description: "Access requested as part of an access grant to a particular door was successfully granted.",
|
|
@@ -16133,7 +16133,7 @@ var openapi_default = {
|
|
|
16133
16133
|
"acs_entrance_id"
|
|
16134
16134
|
],
|
|
16135
16135
|
type: "object",
|
|
16136
|
-
"x-route-path": "/
|
|
16136
|
+
"x-route-path": "/access_grants"
|
|
16137
16137
|
},
|
|
16138
16138
|
{
|
|
16139
16139
|
description: "Access to a particular door that was requested as part of an access grant was lost.",
|
|
@@ -16183,7 +16183,7 @@ var openapi_default = {
|
|
|
16183
16183
|
"acs_entrance_id"
|
|
16184
16184
|
],
|
|
16185
16185
|
type: "object",
|
|
16186
|
-
"x-route-path": "/
|
|
16186
|
+
"x-route-path": "/access_grants"
|
|
16187
16187
|
},
|
|
16188
16188
|
{
|
|
16189
16189
|
description: "An access method was issued.",
|
|
@@ -16224,7 +16224,7 @@ var openapi_default = {
|
|
|
16224
16224
|
"event_type"
|
|
16225
16225
|
],
|
|
16226
16226
|
type: "object",
|
|
16227
|
-
"x-route-path": "/
|
|
16227
|
+
"x-route-path": "/access_methods"
|
|
16228
16228
|
},
|
|
16229
16229
|
{
|
|
16230
16230
|
description: "An access method was revoked.",
|
|
@@ -16265,7 +16265,7 @@ var openapi_default = {
|
|
|
16265
16265
|
"event_type"
|
|
16266
16266
|
],
|
|
16267
16267
|
type: "object",
|
|
16268
|
-
"x-route-path": "/
|
|
16268
|
+
"x-route-path": "/access_methods"
|
|
16269
16269
|
},
|
|
16270
16270
|
{
|
|
16271
16271
|
description: "An access method representing a physical card requires encoding.",
|
|
@@ -16309,7 +16309,7 @@ var openapi_default = {
|
|
|
16309
16309
|
"event_type"
|
|
16310
16310
|
],
|
|
16311
16311
|
type: "object",
|
|
16312
|
-
"x-route-path": "/
|
|
16312
|
+
"x-route-path": "/access_methods"
|
|
16313
16313
|
},
|
|
16314
16314
|
{
|
|
16315
16315
|
description: "An access method was deleted.",
|
|
@@ -16350,7 +16350,7 @@ var openapi_default = {
|
|
|
16350
16350
|
"event_type"
|
|
16351
16351
|
],
|
|
16352
16352
|
type: "object",
|
|
16353
|
-
"x-route-path": "/
|
|
16353
|
+
"x-route-path": "/access_methods"
|
|
16354
16354
|
},
|
|
16355
16355
|
{
|
|
16356
16356
|
description: "An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.",
|
|
@@ -26074,12 +26074,12 @@ var openapi_default = {
|
|
|
26074
26074
|
],
|
|
26075
26075
|
summary: "/access_grants/create",
|
|
26076
26076
|
tags: [],
|
|
26077
|
+
"x-draft": "Early access.",
|
|
26077
26078
|
"x-fern-sdk-group-name": ["access_grants"],
|
|
26078
26079
|
"x-fern-sdk-method-name": "create",
|
|
26079
26080
|
"x-fern-sdk-return-value": "access_grant",
|
|
26080
26081
|
"x-response-key": "access_grant",
|
|
26081
|
-
"x-title": "Create an Access Grant"
|
|
26082
|
-
"x-undocumented": "Unreleased."
|
|
26082
|
+
"x-title": "Create an Access Grant"
|
|
26083
26083
|
}
|
|
26084
26084
|
},
|
|
26085
26085
|
"/access_grants/delete": {
|
|
@@ -26127,11 +26127,11 @@ var openapi_default = {
|
|
|
26127
26127
|
],
|
|
26128
26128
|
summary: "/access_grants/delete",
|
|
26129
26129
|
tags: [],
|
|
26130
|
+
"x-draft": "Early access.",
|
|
26130
26131
|
"x-fern-sdk-group-name": ["access_grants"],
|
|
26131
26132
|
"x-fern-sdk-method-name": "delete",
|
|
26132
26133
|
"x-response-key": null,
|
|
26133
|
-
"x-title": "Delete an Access Grant"
|
|
26134
|
-
"x-undocumented": "Unreleased."
|
|
26134
|
+
"x-title": "Delete an Access Grant"
|
|
26135
26135
|
}
|
|
26136
26136
|
},
|
|
26137
26137
|
"/access_grants/get": {
|
|
@@ -26273,12 +26273,12 @@ var openapi_default = {
|
|
|
26273
26273
|
],
|
|
26274
26274
|
summary: "/access_grants/get",
|
|
26275
26275
|
tags: [],
|
|
26276
|
+
"x-draft": "Early access.",
|
|
26276
26277
|
"x-fern-sdk-group-name": ["access_grants"],
|
|
26277
26278
|
"x-fern-sdk-method-name": "get",
|
|
26278
26279
|
"x-fern-sdk-return-value": "access_grant",
|
|
26279
26280
|
"x-response-key": "access_grant",
|
|
26280
|
-
"x-title": "Get an Access Grant"
|
|
26281
|
-
"x-undocumented": "Unreleased."
|
|
26281
|
+
"x-title": "Get an Access Grant"
|
|
26282
26282
|
}
|
|
26283
26283
|
},
|
|
26284
26284
|
"/access_grants/list": {
|
|
@@ -26443,12 +26443,12 @@ var openapi_default = {
|
|
|
26443
26443
|
],
|
|
26444
26444
|
summary: "/access_grants/list",
|
|
26445
26445
|
tags: [],
|
|
26446
|
+
"x-draft": "Early access.",
|
|
26446
26447
|
"x-fern-sdk-group-name": ["access_grants"],
|
|
26447
26448
|
"x-fern-sdk-method-name": "list",
|
|
26448
26449
|
"x-fern-sdk-return-value": "access_grants",
|
|
26449
26450
|
"x-response-key": "access_grants",
|
|
26450
|
-
"x-title": "List Access Grants"
|
|
26451
|
-
"x-undocumented": "Unreleased."
|
|
26451
|
+
"x-title": "List Access Grants"
|
|
26452
26452
|
}
|
|
26453
26453
|
},
|
|
26454
26454
|
"/access_methods/delete": {
|
|
@@ -26495,11 +26495,11 @@ var openapi_default = {
|
|
|
26495
26495
|
],
|
|
26496
26496
|
summary: "/access_methods/delete",
|
|
26497
26497
|
tags: [],
|
|
26498
|
+
"x-draft": "Early access.",
|
|
26498
26499
|
"x-fern-sdk-group-name": ["access_methods"],
|
|
26499
26500
|
"x-fern-sdk-method-name": "delete",
|
|
26500
26501
|
"x-response-key": null,
|
|
26501
|
-
"x-title": "Delete an Access Method"
|
|
26502
|
-
"x-undocumented": "Unreleased."
|
|
26502
|
+
"x-title": "Delete an Access Method"
|
|
26503
26503
|
}
|
|
26504
26504
|
},
|
|
26505
26505
|
"/access_methods/get": {
|
|
@@ -26599,12 +26599,12 @@ var openapi_default = {
|
|
|
26599
26599
|
],
|
|
26600
26600
|
summary: "/access_methods/get",
|
|
26601
26601
|
tags: [],
|
|
26602
|
+
"x-draft": "Early access.",
|
|
26602
26603
|
"x-fern-sdk-group-name": ["access_methods"],
|
|
26603
26604
|
"x-fern-sdk-method-name": "get",
|
|
26604
26605
|
"x-fern-sdk-return-value": "access_method",
|
|
26605
26606
|
"x-response-key": "access_method",
|
|
26606
|
-
"x-title": "Get an Access Method"
|
|
26607
|
-
"x-undocumented": "Unreleased."
|
|
26607
|
+
"x-title": "Get an Access Method"
|
|
26608
26608
|
}
|
|
26609
26609
|
},
|
|
26610
26610
|
"/access_methods/list": {
|
|
@@ -26707,12 +26707,12 @@ var openapi_default = {
|
|
|
26707
26707
|
],
|
|
26708
26708
|
summary: "/access_methods/list",
|
|
26709
26709
|
tags: [],
|
|
26710
|
+
"x-draft": "Early access.",
|
|
26710
26711
|
"x-fern-sdk-group-name": ["access_methods"],
|
|
26711
26712
|
"x-fern-sdk-method-name": "list",
|
|
26712
26713
|
"x-fern-sdk-return-value": "access_methods",
|
|
26713
26714
|
"x-response-key": "access_methods",
|
|
26714
|
-
"x-title": "List Access Methods"
|
|
26715
|
-
"x-undocumented": "Unreleased."
|
|
26715
|
+
"x-title": "List Access Methods"
|
|
26716
26716
|
}
|
|
26717
26717
|
},
|
|
26718
26718
|
"/acs/access_groups/add_user": {
|
|
@@ -36957,6 +36957,7 @@ var openapi_default = {
|
|
|
36957
36957
|
],
|
|
36958
36958
|
summary: "/spaces/add_acs_entrances",
|
|
36959
36959
|
tags: [],
|
|
36960
|
+
"x-draft": "Early access.",
|
|
36960
36961
|
"x-fern-sdk-group-name": ["spaces"],
|
|
36961
36962
|
"x-fern-sdk-method-name": "add_acs_entrances",
|
|
36962
36963
|
"x-response-key": null,
|
|
@@ -37006,6 +37007,7 @@ var openapi_default = {
|
|
|
37006
37007
|
],
|
|
37007
37008
|
summary: "/spaces/add_acs_entrances",
|
|
37008
37009
|
tags: [],
|
|
37010
|
+
"x-draft": "Early access.",
|
|
37009
37011
|
"x-fern-ignore": true,
|
|
37010
37012
|
"x-response-key": null,
|
|
37011
37013
|
"x-title": "Add ACS Entrances"
|
|
@@ -37056,6 +37058,7 @@ var openapi_default = {
|
|
|
37056
37058
|
],
|
|
37057
37059
|
summary: "/spaces/add_devices",
|
|
37058
37060
|
tags: [],
|
|
37061
|
+
"x-draft": "Early access.",
|
|
37059
37062
|
"x-fern-sdk-group-name": ["spaces"],
|
|
37060
37063
|
"x-fern-sdk-method-name": "add_devices",
|
|
37061
37064
|
"x-response-key": null,
|
|
@@ -37105,6 +37108,7 @@ var openapi_default = {
|
|
|
37105
37108
|
],
|
|
37106
37109
|
summary: "/spaces/add_devices",
|
|
37107
37110
|
tags: [],
|
|
37111
|
+
"x-draft": "Early access.",
|
|
37108
37112
|
"x-fern-ignore": true,
|
|
37109
37113
|
"x-response-key": null,
|
|
37110
37114
|
"x-title": "Add Space Devices"
|
|
@@ -37161,6 +37165,7 @@ var openapi_default = {
|
|
|
37161
37165
|
],
|
|
37162
37166
|
summary: "/spaces/create",
|
|
37163
37167
|
tags: [],
|
|
37168
|
+
"x-draft": "Early access.",
|
|
37164
37169
|
"x-fern-sdk-group-name": ["spaces"],
|
|
37165
37170
|
"x-fern-sdk-method-name": "create",
|
|
37166
37171
|
"x-fern-sdk-return-value": "space",
|
|
@@ -37293,6 +37298,7 @@ var openapi_default = {
|
|
|
37293
37298
|
],
|
|
37294
37299
|
summary: "/spaces/list",
|
|
37295
37300
|
tags: [],
|
|
37301
|
+
"x-draft": "Early access.",
|
|
37296
37302
|
"x-fern-ignore": true,
|
|
37297
37303
|
"x-response-key": "spaces",
|
|
37298
37304
|
"x-title": "List Spaces"
|
|
@@ -37329,6 +37335,7 @@ var openapi_default = {
|
|
|
37329
37335
|
],
|
|
37330
37336
|
summary: "/spaces/list",
|
|
37331
37337
|
tags: [],
|
|
37338
|
+
"x-draft": "Early access.",
|
|
37332
37339
|
"x-fern-sdk-group-name": ["spaces"],
|
|
37333
37340
|
"x-fern-sdk-method-name": "list",
|
|
37334
37341
|
"x-fern-sdk-return-value": "spaces",
|
|
@@ -37380,6 +37387,7 @@ var openapi_default = {
|
|
|
37380
37387
|
],
|
|
37381
37388
|
summary: "/spaces/remove_acs_entrances",
|
|
37382
37389
|
tags: [],
|
|
37390
|
+
"x-draft": "Early access.",
|
|
37383
37391
|
"x-fern-sdk-group-name": ["spaces"],
|
|
37384
37392
|
"x-fern-sdk-method-name": "remove_acs_entrances",
|
|
37385
37393
|
"x-response-key": null,
|
|
@@ -37430,6 +37438,7 @@ var openapi_default = {
|
|
|
37430
37438
|
],
|
|
37431
37439
|
summary: "/spaces/remove_devices",
|
|
37432
37440
|
tags: [],
|
|
37441
|
+
"x-draft": "Early access.",
|
|
37433
37442
|
"x-fern-sdk-group-name": ["spaces"],
|
|
37434
37443
|
"x-fern-sdk-method-name": "remove_devices",
|
|
37435
37444
|
"x-response-key": null,
|
|
@@ -37480,6 +37489,7 @@ var openapi_default = {
|
|
|
37480
37489
|
],
|
|
37481
37490
|
summary: "/spaces/update",
|
|
37482
37491
|
tags: [],
|
|
37492
|
+
"x-draft": "Early access.",
|
|
37483
37493
|
"x-fern-ignore": true,
|
|
37484
37494
|
"x-response-key": "space",
|
|
37485
37495
|
"x-title": "Update Space"
|
|
@@ -37527,6 +37537,7 @@ var openapi_default = {
|
|
|
37527
37537
|
],
|
|
37528
37538
|
summary: "/spaces/update",
|
|
37529
37539
|
tags: [],
|
|
37540
|
+
"x-draft": "Early access.",
|
|
37530
37541
|
"x-fern-sdk-group-name": ["spaces"],
|
|
37531
37542
|
"x-fern-sdk-method-name": "update",
|
|
37532
37543
|
"x-fern-sdk-return-value": "space",
|
|
@@ -41915,14 +41926,28 @@ var openapi_default = {
|
|
|
41915
41926
|
enum: ["organize_spaces"],
|
|
41916
41927
|
type: "string"
|
|
41917
41928
|
},
|
|
41918
|
-
|
|
41919
|
-
|
|
41929
|
+
customer_key: { type: "string" },
|
|
41930
|
+
partner_resources: {
|
|
41931
|
+
description: "Optional list of partner resources to include in the magic link.",
|
|
41932
|
+
items: {
|
|
41933
|
+
properties: {
|
|
41934
|
+
custom_metadata: {
|
|
41935
|
+
additionalProperties: { type: "string" },
|
|
41936
|
+
type: "object"
|
|
41937
|
+
},
|
|
41938
|
+
description: { type: "string" },
|
|
41939
|
+
name: { type: "string" },
|
|
41940
|
+
partner_resource_key: { type: "string" }
|
|
41941
|
+
},
|
|
41942
|
+
required: ["partner_resource_key", "name"],
|
|
41943
|
+
type: "object",
|
|
41944
|
+
"x-route-path": "/unstable_partner/resources",
|
|
41945
|
+
"x-undocumented": "Unreleased."
|
|
41946
|
+
},
|
|
41947
|
+
type: "array"
|
|
41948
|
+
}
|
|
41920
41949
|
},
|
|
41921
|
-
required: [
|
|
41922
|
-
"building_block_type",
|
|
41923
|
-
"customer_key",
|
|
41924
|
-
"collection_key"
|
|
41925
|
-
],
|
|
41950
|
+
required: ["building_block_type", "customer_key"],
|
|
41926
41951
|
type: "object"
|
|
41927
41952
|
}
|
|
41928
41953
|
]
|
|
@@ -42039,11 +42064,10 @@ var openapi_default = {
|
|
|
42039
42064
|
"x-route-path": "/unstable_partner/resources",
|
|
42040
42065
|
"x-undocumented": "Unreleased."
|
|
42041
42066
|
},
|
|
42042
|
-
minItems: 1,
|
|
42043
42067
|
type: "array"
|
|
42044
42068
|
}
|
|
42045
42069
|
},
|
|
42046
|
-
required: ["customer_key"
|
|
42070
|
+
required: ["customer_key"],
|
|
42047
42071
|
type: "object"
|
|
42048
42072
|
}
|
|
42049
42073
|
}
|