@seamapi/types 1.750.0 → 1.751.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 +73 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2286 -897
- package/dist/index.cjs +73 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +16 -0
- package/lib/seam/connect/openapi.d.ts +84 -0
- package/lib/seam/connect/openapi.js +70 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1297 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +74 -0
- package/src/lib/seam/connect/route-types.ts +1500 -0
package/dist/index.cjs
CHANGED
|
@@ -3469,6 +3469,9 @@ var acs_entrance_capability_flags = zod.z.object({
|
|
|
3469
3469
|
),
|
|
3470
3470
|
can_belong_to_reservation: zod.z.boolean().optional().describe(
|
|
3471
3471
|
"Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key."
|
|
3472
|
+
),
|
|
3473
|
+
can_unlock_with_cloud_key: zod.z.boolean().optional().describe(
|
|
3474
|
+
"Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential."
|
|
3472
3475
|
)
|
|
3473
3476
|
});
|
|
3474
3477
|
var acs_entrance = zod.z.object({
|
|
@@ -9960,6 +9963,10 @@ var openapi_default = {
|
|
|
9960
9963
|
description: "Indicates whether the ACS entrance can be unlocked with card credentials.",
|
|
9961
9964
|
type: "boolean"
|
|
9962
9965
|
},
|
|
9966
|
+
can_unlock_with_cloud_key: {
|
|
9967
|
+
description: "Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.",
|
|
9968
|
+
type: "boolean"
|
|
9969
|
+
},
|
|
9963
9970
|
can_unlock_with_code: {
|
|
9964
9971
|
description: "Indicates whether the ACS entrance can be unlocked with pin codes.",
|
|
9965
9972
|
type: "boolean"
|
|
@@ -28240,6 +28247,10 @@ var openapi_default = {
|
|
|
28240
28247
|
description: "Indicates whether the ACS entrance can be unlocked with card credentials.",
|
|
28241
28248
|
type: "boolean"
|
|
28242
28249
|
},
|
|
28250
|
+
can_unlock_with_cloud_key: {
|
|
28251
|
+
description: "Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.",
|
|
28252
|
+
type: "boolean"
|
|
28253
|
+
},
|
|
28243
28254
|
can_unlock_with_code: {
|
|
28244
28255
|
description: "Indicates whether the ACS entrance can be unlocked with pin codes.",
|
|
28245
28256
|
type: "boolean"
|
|
@@ -46553,6 +46564,68 @@ var openapi_default = {
|
|
|
46553
46564
|
"x-title": "List Credentials with Access to an Entrance"
|
|
46554
46565
|
}
|
|
46555
46566
|
},
|
|
46567
|
+
"/acs/entrances/unlock": {
|
|
46568
|
+
post: {
|
|
46569
|
+
description: "Remotely unlocks a specified [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) using a cloud_key credential. Returns an action attempt that tracks the progress of the unlock operation.",
|
|
46570
|
+
operationId: "acsEntrancesUnlockPost",
|
|
46571
|
+
requestBody: {
|
|
46572
|
+
content: {
|
|
46573
|
+
"application/json": {
|
|
46574
|
+
schema: {
|
|
46575
|
+
properties: {
|
|
46576
|
+
acs_credential_id: {
|
|
46577
|
+
description: "ID of the cloud_key credential to use for the unlock operation.",
|
|
46578
|
+
format: "uuid",
|
|
46579
|
+
type: "string"
|
|
46580
|
+
},
|
|
46581
|
+
acs_entrance_id: {
|
|
46582
|
+
description: "ID of the entrance to unlock.",
|
|
46583
|
+
format: "uuid",
|
|
46584
|
+
type: "string"
|
|
46585
|
+
}
|
|
46586
|
+
},
|
|
46587
|
+
required: ["acs_entrance_id", "acs_credential_id"],
|
|
46588
|
+
type: "object"
|
|
46589
|
+
}
|
|
46590
|
+
}
|
|
46591
|
+
}
|
|
46592
|
+
},
|
|
46593
|
+
responses: {
|
|
46594
|
+
200: {
|
|
46595
|
+
content: {
|
|
46596
|
+
"application/json": {
|
|
46597
|
+
schema: {
|
|
46598
|
+
properties: {
|
|
46599
|
+
action_attempt: {
|
|
46600
|
+
$ref: "#/components/schemas/action_attempt"
|
|
46601
|
+
},
|
|
46602
|
+
ok: { type: "boolean" }
|
|
46603
|
+
},
|
|
46604
|
+
required: ["action_attempt", "ok"],
|
|
46605
|
+
type: "object"
|
|
46606
|
+
}
|
|
46607
|
+
}
|
|
46608
|
+
},
|
|
46609
|
+
description: "OK"
|
|
46610
|
+
},
|
|
46611
|
+
400: { description: "Bad Request" },
|
|
46612
|
+
401: { description: "Unauthorized" }
|
|
46613
|
+
},
|
|
46614
|
+
security: [
|
|
46615
|
+
{ pat_with_workspace: [] },
|
|
46616
|
+
{ console_session_with_workspace: [] },
|
|
46617
|
+
{ api_key: [] }
|
|
46618
|
+
],
|
|
46619
|
+
summary: "/acs/entrances/unlock",
|
|
46620
|
+
tags: ["/acs"],
|
|
46621
|
+
"x-action-attempt-type": "UNLOCK_DOOR",
|
|
46622
|
+
"x-fern-sdk-group-name": ["acs", "entrances"],
|
|
46623
|
+
"x-fern-sdk-method-name": "unlock",
|
|
46624
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
46625
|
+
"x-response-key": "action_attempt",
|
|
46626
|
+
"x-title": "Unlock an Entrance"
|
|
46627
|
+
}
|
|
46628
|
+
},
|
|
46556
46629
|
"/acs/systems/get": {
|
|
46557
46630
|
get: {
|
|
46558
46631
|
description: "Returns a specified [access system](https://docs.seam.co/latest/capability-guides/access-systems).",
|