@seamapi/types 1.515.0 → 1.517.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 +17 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +70 -184
- package/dist/index.cjs +17 -60
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +5 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js +7 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/openapi.d.ts +46 -179
- package/lib/seam/connect/openapi.js +14 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +16 -60
- package/src/lib/seam/connect/route-types.ts +12 -5
package/dist/connect.cjs
CHANGED
|
@@ -2262,6 +2262,9 @@ var requested_access_method = zod.z.object({
|
|
|
2262
2262
|
mode: zod.z.enum(["code", "card", "mobile_key"]).describe(
|
|
2263
2263
|
"Access method mode. Supported values: `code`, `card`, `mobile_key`."
|
|
2264
2264
|
),
|
|
2265
|
+
code: zod.z.string().min(4).max(9).regex(/^\d+$/, "Must only contain digits").optional().describe(
|
|
2266
|
+
"Specific PIN code to use for this access method. Only applicable when mode is 'code'."
|
|
2267
|
+
),
|
|
2265
2268
|
created_at: zod.z.string().datetime().describe(
|
|
2266
2269
|
"Date and time at which the requested access method was added to the Access Grant."
|
|
2267
2270
|
),
|
|
@@ -7177,6 +7180,13 @@ var openapi_default = {
|
|
|
7177
7180
|
description: "Access methods that the user requested for the Access Grant.",
|
|
7178
7181
|
items: {
|
|
7179
7182
|
properties: {
|
|
7183
|
+
code: {
|
|
7184
|
+
description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
7185
|
+
maxLength: 9,
|
|
7186
|
+
minLength: 4,
|
|
7187
|
+
pattern: "^\\d+$",
|
|
7188
|
+
type: "string"
|
|
7189
|
+
},
|
|
7180
7190
|
created_access_method_ids: {
|
|
7181
7191
|
description: "IDs of the access methods created for the requested access method.",
|
|
7182
7192
|
items: { format: "uuid", type: "string" },
|
|
@@ -30661,6 +30671,13 @@ var openapi_default = {
|
|
|
30661
30671
|
requested_access_methods: {
|
|
30662
30672
|
items: {
|
|
30663
30673
|
properties: {
|
|
30674
|
+
code: {
|
|
30675
|
+
description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
30676
|
+
maxLength: 9,
|
|
30677
|
+
minLength: 4,
|
|
30678
|
+
pattern: "^\\d+$",
|
|
30679
|
+
type: "string"
|
|
30680
|
+
},
|
|
30664
30681
|
mode: {
|
|
30665
30682
|
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
30666
30683
|
enum: ["code", "card", "mobile_key"],
|
|
@@ -42231,14 +42248,6 @@ var openapi_default = {
|
|
|
42231
42248
|
description: "Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices).",
|
|
42232
42249
|
operationId: "devicesListGet",
|
|
42233
42250
|
parameters: [
|
|
42234
|
-
{
|
|
42235
|
-
in: "query",
|
|
42236
|
-
name: "customer_ids",
|
|
42237
|
-
schema: {
|
|
42238
|
-
items: { format: "uuid", type: "string" },
|
|
42239
|
-
type: "array"
|
|
42240
|
-
}
|
|
42241
|
-
},
|
|
42242
42251
|
{
|
|
42243
42252
|
in: "query",
|
|
42244
42253
|
name: "customer_key",
|
|
@@ -42684,10 +42693,6 @@ var openapi_default = {
|
|
|
42684
42693
|
description: "Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.",
|
|
42685
42694
|
type: "object"
|
|
42686
42695
|
},
|
|
42687
|
-
customer_ids: {
|
|
42688
|
-
items: { format: "uuid", type: "string" },
|
|
42689
|
-
type: "array"
|
|
42690
|
-
},
|
|
42691
42696
|
customer_key: {
|
|
42692
42697
|
description: "Customer key for which you want to list devices.",
|
|
42693
42698
|
type: "string"
|
|
@@ -43483,14 +43488,6 @@ var openapi_default = {
|
|
|
43483
43488
|
description: "Returns a list of all [unmanaged devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).\n\nAn unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).",
|
|
43484
43489
|
operationId: "devicesUnmanagedListGet",
|
|
43485
43490
|
parameters: [
|
|
43486
|
-
{
|
|
43487
|
-
in: "query",
|
|
43488
|
-
name: "customer_ids",
|
|
43489
|
-
schema: {
|
|
43490
|
-
items: { format: "uuid", type: "string" },
|
|
43491
|
-
type: "array"
|
|
43492
|
-
}
|
|
43493
|
-
},
|
|
43494
43491
|
{
|
|
43495
43492
|
in: "query",
|
|
43496
43493
|
name: "customer_key",
|
|
@@ -43933,10 +43930,6 @@ var openapi_default = {
|
|
|
43933
43930
|
description: "Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.",
|
|
43934
43931
|
type: "object"
|
|
43935
43932
|
},
|
|
43936
|
-
customer_ids: {
|
|
43937
|
-
items: { format: "uuid", type: "string" },
|
|
43938
|
-
type: "array"
|
|
43939
|
-
},
|
|
43940
43933
|
customer_key: {
|
|
43941
43934
|
description: "Customer key for which you want to list devices.",
|
|
43942
43935
|
type: "string"
|
|
@@ -45776,14 +45769,6 @@ var openapi_default = {
|
|
|
45776
45769
|
description: "Returns a list of all [locks](https://docs.seam.co/latest/capability-guides/smart-locks).",
|
|
45777
45770
|
operationId: "locksListGet",
|
|
45778
45771
|
parameters: [
|
|
45779
|
-
{
|
|
45780
|
-
in: "query",
|
|
45781
|
-
name: "customer_ids",
|
|
45782
|
-
schema: {
|
|
45783
|
-
items: { format: "uuid", type: "string" },
|
|
45784
|
-
type: "array"
|
|
45785
|
-
}
|
|
45786
|
-
},
|
|
45787
45772
|
{
|
|
45788
45773
|
in: "query",
|
|
45789
45774
|
name: "customer_key",
|
|
@@ -46166,10 +46151,6 @@ var openapi_default = {
|
|
|
46166
46151
|
description: "Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.",
|
|
46167
46152
|
type: "object"
|
|
46168
46153
|
},
|
|
46169
|
-
customer_ids: {
|
|
46170
|
-
items: { format: "uuid", type: "string" },
|
|
46171
|
-
type: "array"
|
|
46172
|
-
},
|
|
46173
46154
|
customer_key: {
|
|
46174
46155
|
description: "Customer key for which you want to list devices.",
|
|
46175
46156
|
type: "string"
|
|
@@ -46661,14 +46642,6 @@ var openapi_default = {
|
|
|
46661
46642
|
description: "Returns a list of all [noise sensors](https://docs.seam.co/latest/capability-guides/noise-sensors).",
|
|
46662
46643
|
operationId: "noiseSensorsListGet",
|
|
46663
46644
|
parameters: [
|
|
46664
|
-
{
|
|
46665
|
-
in: "query",
|
|
46666
|
-
name: "customer_ids",
|
|
46667
|
-
schema: {
|
|
46668
|
-
items: { format: "uuid", type: "string" },
|
|
46669
|
-
type: "array"
|
|
46670
|
-
}
|
|
46671
|
-
},
|
|
46672
46645
|
{
|
|
46673
46646
|
in: "query",
|
|
46674
46647
|
name: "customer_key",
|
|
@@ -46966,10 +46939,6 @@ var openapi_default = {
|
|
|
46966
46939
|
description: "Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.",
|
|
46967
46940
|
type: "object"
|
|
46968
46941
|
},
|
|
46969
|
-
customer_ids: {
|
|
46970
|
-
items: { format: "uuid", type: "string" },
|
|
46971
|
-
type: "array"
|
|
46972
|
-
},
|
|
46973
46942
|
customer_key: {
|
|
46974
46943
|
description: "Customer key for which you want to list devices.",
|
|
46975
46944
|
type: "string"
|
|
@@ -53660,14 +53629,6 @@ var openapi_default = {
|
|
|
53660
53629
|
description: "Returns a list of all [thermostats](https://docs.seam.co/latest/capability-guides/thermostats).",
|
|
53661
53630
|
operationId: "thermostatsListGet",
|
|
53662
53631
|
parameters: [
|
|
53663
|
-
{
|
|
53664
|
-
in: "query",
|
|
53665
|
-
name: "customer_ids",
|
|
53666
|
-
schema: {
|
|
53667
|
-
items: { format: "uuid", type: "string" },
|
|
53668
|
-
type: "array"
|
|
53669
|
-
}
|
|
53670
|
-
},
|
|
53671
53632
|
{
|
|
53672
53633
|
in: "query",
|
|
53673
53634
|
name: "customer_key",
|
|
@@ -53986,10 +53947,6 @@ var openapi_default = {
|
|
|
53986
53947
|
description: "Set of key:value [custom metadata](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.",
|
|
53987
53948
|
type: "object"
|
|
53988
53949
|
},
|
|
53989
|
-
customer_ids: {
|
|
53990
|
-
items: { format: "uuid", type: "string" },
|
|
53991
|
-
type: "array"
|
|
53992
|
-
},
|
|
53993
53950
|
customer_key: {
|
|
53994
53951
|
description: "Customer key for which you want to list devices.",
|
|
53995
53952
|
type: "string"
|