@seamapi/types 1.665.0 → 1.667.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 +59 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +348 -16
- package/dist/index.cjs +59 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +25 -6
- package/lib/seam/connect/models/events/devices.d.ts +30 -8
- package/lib/seam/connect/models/events/devices.js +25 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +15 -4
- package/lib/seam/connect/openapi.d.ts +204 -1
- package/lib/seam/connect/openapi.js +35 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +104 -5
- package/package.json +2 -2
- package/src/lib/seam/connect/models/events/devices.ts +25 -0
- package/src/lib/seam/connect/openapi.ts +39 -4
- package/src/lib/seam/connect/route-types.ts +104 -5
package/dist/index.cjs
CHANGED
|
@@ -5150,7 +5150,28 @@ var lock_unlocked_event = device_event.extend({
|
|
|
5150
5150
|
action_attempt_id: zod.z.string().uuid().optional().describe("ID of the action attempt associated with the unlock action."),
|
|
5151
5151
|
method: lock_method.describe(
|
|
5152
5152
|
"Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device."
|
|
5153
|
-
)
|
|
5153
|
+
),
|
|
5154
|
+
user_identity_id: zod.z.string().uuid().optional().describe(`
|
|
5155
|
+
undocumented: Unreleased.
|
|
5156
|
+
---
|
|
5157
|
+
ID of the user identity associated with the unlock event.
|
|
5158
|
+
`),
|
|
5159
|
+
acs_system_id: zod.z.string().uuid().optional().describe(`
|
|
5160
|
+
undocumented: Unreleased.
|
|
5161
|
+
---
|
|
5162
|
+
ID of the ACS system associated with the unlock event.
|
|
5163
|
+
`),
|
|
5164
|
+
acs_user_id: zod.z.string().uuid().optional().describe(`
|
|
5165
|
+
undocumented: Unreleased.
|
|
5166
|
+
---
|
|
5167
|
+
ID of the ACS user associated with the unlock event.
|
|
5168
|
+
`),
|
|
5169
|
+
acs_entrance_id: zod.z.string().uuid().optional().describe(`
|
|
5170
|
+
undocumented: Unreleased.
|
|
5171
|
+
---
|
|
5172
|
+
ID of the ACS entrance associated with the unlock event.
|
|
5173
|
+
`),
|
|
5174
|
+
device_id: zod.z.string().uuid().optional().describe("ID of the affected device.")
|
|
5154
5175
|
}).describe(`
|
|
5155
5176
|
---
|
|
5156
5177
|
route_path: /locks
|
|
@@ -22702,6 +22723,21 @@ var openapi_default = {
|
|
|
22702
22723
|
format: "uuid",
|
|
22703
22724
|
type: "string"
|
|
22704
22725
|
},
|
|
22726
|
+
acs_entrance_id: {
|
|
22727
|
+
description: "\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the unlock event.\n ",
|
|
22728
|
+
format: "uuid",
|
|
22729
|
+
type: "string"
|
|
22730
|
+
},
|
|
22731
|
+
acs_system_id: {
|
|
22732
|
+
description: "\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the unlock event.\n ",
|
|
22733
|
+
format: "uuid",
|
|
22734
|
+
type: "string"
|
|
22735
|
+
},
|
|
22736
|
+
acs_user_id: {
|
|
22737
|
+
description: "\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the unlock event.\n ",
|
|
22738
|
+
format: "uuid",
|
|
22739
|
+
type: "string"
|
|
22740
|
+
},
|
|
22705
22741
|
action_attempt_id: {
|
|
22706
22742
|
description: "ID of the action attempt associated with the unlock action.",
|
|
22707
22743
|
format: "uuid",
|
|
@@ -22752,6 +22788,11 @@ var openapi_default = {
|
|
|
22752
22788
|
format: "date-time",
|
|
22753
22789
|
type: "string"
|
|
22754
22790
|
},
|
|
22791
|
+
user_identity_id: {
|
|
22792
|
+
description: "\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the unlock event.\n ",
|
|
22793
|
+
format: "uuid",
|
|
22794
|
+
type: "string"
|
|
22795
|
+
},
|
|
22755
22796
|
workspace_id: {
|
|
22756
22797
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.",
|
|
22757
22798
|
format: "uuid",
|
|
@@ -22763,7 +22804,6 @@ var openapi_default = {
|
|
|
22763
22804
|
"workspace_id",
|
|
22764
22805
|
"created_at",
|
|
22765
22806
|
"occurred_at",
|
|
22766
|
-
"device_id",
|
|
22767
22807
|
"connected_account_id",
|
|
22768
22808
|
"event_type",
|
|
22769
22809
|
"method"
|
|
@@ -54482,7 +54522,7 @@ var openapi_default = {
|
|
|
54482
54522
|
parameters: [
|
|
54483
54523
|
{
|
|
54484
54524
|
in: "query",
|
|
54485
|
-
name: "
|
|
54525
|
+
name: "slug",
|
|
54486
54526
|
required: true,
|
|
54487
54527
|
schema: {
|
|
54488
54528
|
description: "Workspace slug",
|
|
@@ -54549,13 +54589,13 @@ var openapi_default = {
|
|
|
54549
54589
|
minLength: 1,
|
|
54550
54590
|
type: "string"
|
|
54551
54591
|
},
|
|
54552
|
-
|
|
54592
|
+
slug: {
|
|
54553
54593
|
description: "Workspace slug",
|
|
54554
54594
|
minLength: 1,
|
|
54555
54595
|
type: "string"
|
|
54556
54596
|
}
|
|
54557
54597
|
},
|
|
54558
|
-
required: ["
|
|
54598
|
+
required: ["slug"],
|
|
54559
54599
|
type: "object"
|
|
54560
54600
|
}
|
|
54561
54601
|
}
|
|
@@ -56961,7 +57001,8 @@ var openapi_default = {
|
|
|
56961
57001
|
],
|
|
56962
57002
|
type: "string"
|
|
56963
57003
|
},
|
|
56964
|
-
ok: { type: "boolean" }
|
|
57004
|
+
ok: { type: "boolean" },
|
|
57005
|
+
slug: { nullable: true, type: "string" }
|
|
56965
57006
|
},
|
|
56966
57007
|
required: ["ok"],
|
|
56967
57008
|
type: "object"
|
|
@@ -57003,7 +57044,8 @@ var openapi_default = {
|
|
|
57003
57044
|
],
|
|
57004
57045
|
type: "string"
|
|
57005
57046
|
},
|
|
57006
|
-
ok: { type: "boolean" }
|
|
57047
|
+
ok: { type: "boolean" },
|
|
57048
|
+
slug: { nullable: true, type: "string" }
|
|
57007
57049
|
},
|
|
57008
57050
|
required: ["ok"],
|
|
57009
57051
|
type: "object"
|
|
@@ -57045,6 +57087,11 @@ var openapi_default = {
|
|
|
57045
57087
|
"property_tours"
|
|
57046
57088
|
],
|
|
57047
57089
|
type: "string"
|
|
57090
|
+
},
|
|
57091
|
+
slug: {
|
|
57092
|
+
description: "Slug to set on the workspace.",
|
|
57093
|
+
nullable: true,
|
|
57094
|
+
type: "string"
|
|
57048
57095
|
}
|
|
57049
57096
|
},
|
|
57050
57097
|
type: "object"
|
|
@@ -57095,6 +57142,11 @@ var openapi_default = {
|
|
|
57095
57142
|
"property_tours"
|
|
57096
57143
|
],
|
|
57097
57144
|
type: "string"
|
|
57145
|
+
},
|
|
57146
|
+
slug: {
|
|
57147
|
+
description: "Slug to set on the workspace.",
|
|
57148
|
+
nullable: true,
|
|
57149
|
+
type: "string"
|
|
57098
57150
|
}
|
|
57099
57151
|
},
|
|
57100
57152
|
type: "object"
|