@seamapi/types 1.459.0 → 1.460.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 +158 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1329 -40
- package/dist/index.cjs +158 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +8 -8
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +2 -2
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +16 -16
- package/lib/seam/connect/models/batch.d.ts +980 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +108 -0
- package/lib/seam/connect/models/devices/device-metadata.js +67 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +152 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +108 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +101 -0
- package/lib/seam/connect/openapi.js +128 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +735 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +68 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +140 -0
- package/src/lib/seam/connect/route-types.ts +769 -0
package/dist/index.cjs
CHANGED
|
@@ -1011,7 +1011,29 @@ var device_metadata = zod.z.object({
|
|
|
1011
1011
|
device_id: zod.z.string().describe(`Device ID for a Sensi device.`),
|
|
1012
1012
|
device_name: zod.z.string().describe(`Device name for a Sensi device.`),
|
|
1013
1013
|
product_type: zod.z.string().describe(`Product type for a Sensi device.`)
|
|
1014
|
-
}).describe(`Metadata for a Sensi device.`)
|
|
1014
|
+
}).describe(`Metadata for a Sensi device.`),
|
|
1015
|
+
keynest_metadata: zod.z.object({
|
|
1016
|
+
key_id: zod.z.string().describe(`Key ID for a KeyNest device.`),
|
|
1017
|
+
device_name: zod.z.string().describe(`Device name for a KeyNest device.`),
|
|
1018
|
+
property_id: zod.z.string().nullable().describe(`Property ID for a KeyNest device.`),
|
|
1019
|
+
property_postcode: zod.z.string().nullable().describe(`Property postcode for a KeyNest device.`),
|
|
1020
|
+
key_notes: zod.z.string().nullable().describe(`Key notes for a KeyNest device.`),
|
|
1021
|
+
subscription_plan: zod.z.string().describe(`Subscription plan for a KeyNest device.`),
|
|
1022
|
+
status_type: zod.z.string().describe(`Status type for a KeyNest device.`),
|
|
1023
|
+
current_or_last_store_id: zod.z.number().describe(`Current or last store ID for a KeyNest device.`),
|
|
1024
|
+
last_movement: zod.z.string().describe(`Last movement timestamp for a KeyNest device.`),
|
|
1025
|
+
address: zod.z.string().nullable().describe(`Address for a KeyNest device.`),
|
|
1026
|
+
current_status: zod.z.string().nullable().describe(`Current status for a KeyNest device.`),
|
|
1027
|
+
current_user_name: zod.z.string().nullable().describe(`Current user name for a KeyNest device.`),
|
|
1028
|
+
current_user_email: zod.z.string().nullable().describe(`Current user email for a KeyNest device.`),
|
|
1029
|
+
current_user_phone_number: zod.z.string().nullable().describe(`Current user phone number for a KeyNest device.`),
|
|
1030
|
+
current_user_company: zod.z.string().nullable().describe(`Current user company for a KeyNest device.`),
|
|
1031
|
+
handover_method: zod.z.string().nullable().describe(`Handover method for a KeyNest device.`),
|
|
1032
|
+
keynest_app_user: zod.z.string().nullable().describe(`KeyNest app user for a KeyNest device.`),
|
|
1033
|
+
default_office_id: zod.z.number().describe(`Default office ID for a KeyNest device.`),
|
|
1034
|
+
fob_id: zod.z.number().describe(`Fob ID for a KeyNest device.`),
|
|
1035
|
+
has_photo: zod.z.boolean().describe(`Whether the KeyNest device has a photo.`)
|
|
1036
|
+
}).describe(`Metadata for a KeyNest device.`)
|
|
1015
1037
|
}).partial().describe(`
|
|
1016
1038
|
---
|
|
1017
1039
|
property_group_key: provider_metadata
|
|
@@ -1739,7 +1761,8 @@ var DEVICE_PROVIDERS = {
|
|
|
1739
1761
|
TADO: "tado",
|
|
1740
1762
|
SALTO_SPACE: "salto_space",
|
|
1741
1763
|
SENSI: "sensi",
|
|
1742
|
-
KWIKSET2: "kwikset2"
|
|
1764
|
+
KWIKSET2: "kwikset2",
|
|
1765
|
+
KEYNEST: "keynest"
|
|
1743
1766
|
};
|
|
1744
1767
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
1745
1768
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -14780,6 +14803,128 @@ var openapi_default = {
|
|
|
14780
14803
|
required: ["device_id", "device_name"],
|
|
14781
14804
|
type: "object"
|
|
14782
14805
|
},
|
|
14806
|
+
keynest_metadata: {
|
|
14807
|
+
description: "Metadata for a KeyNest device.",
|
|
14808
|
+
properties: {
|
|
14809
|
+
address: {
|
|
14810
|
+
description: "Address for a KeyNest device.",
|
|
14811
|
+
nullable: true,
|
|
14812
|
+
type: "string"
|
|
14813
|
+
},
|
|
14814
|
+
current_or_last_store_id: {
|
|
14815
|
+
description: "Current or last store ID for a KeyNest device.",
|
|
14816
|
+
format: "float",
|
|
14817
|
+
type: "number"
|
|
14818
|
+
},
|
|
14819
|
+
current_status: {
|
|
14820
|
+
description: "Current status for a KeyNest device.",
|
|
14821
|
+
nullable: true,
|
|
14822
|
+
type: "string"
|
|
14823
|
+
},
|
|
14824
|
+
current_user_company: {
|
|
14825
|
+
description: "Current user company for a KeyNest device.",
|
|
14826
|
+
nullable: true,
|
|
14827
|
+
type: "string"
|
|
14828
|
+
},
|
|
14829
|
+
current_user_email: {
|
|
14830
|
+
description: "Current user email for a KeyNest device.",
|
|
14831
|
+
nullable: true,
|
|
14832
|
+
type: "string"
|
|
14833
|
+
},
|
|
14834
|
+
current_user_name: {
|
|
14835
|
+
description: "Current user name for a KeyNest device.",
|
|
14836
|
+
nullable: true,
|
|
14837
|
+
type: "string"
|
|
14838
|
+
},
|
|
14839
|
+
current_user_phone_number: {
|
|
14840
|
+
description: "Current user phone number for a KeyNest device.",
|
|
14841
|
+
nullable: true,
|
|
14842
|
+
type: "string"
|
|
14843
|
+
},
|
|
14844
|
+
default_office_id: {
|
|
14845
|
+
description: "Default office ID for a KeyNest device.",
|
|
14846
|
+
format: "float",
|
|
14847
|
+
type: "number"
|
|
14848
|
+
},
|
|
14849
|
+
device_name: {
|
|
14850
|
+
description: "Device name for a KeyNest device.",
|
|
14851
|
+
type: "string"
|
|
14852
|
+
},
|
|
14853
|
+
fob_id: {
|
|
14854
|
+
description: "Fob ID for a KeyNest device.",
|
|
14855
|
+
format: "float",
|
|
14856
|
+
type: "number"
|
|
14857
|
+
},
|
|
14858
|
+
handover_method: {
|
|
14859
|
+
description: "Handover method for a KeyNest device.",
|
|
14860
|
+
nullable: true,
|
|
14861
|
+
type: "string"
|
|
14862
|
+
},
|
|
14863
|
+
has_photo: {
|
|
14864
|
+
description: "Whether the KeyNest device has a photo.",
|
|
14865
|
+
type: "boolean"
|
|
14866
|
+
},
|
|
14867
|
+
key_id: {
|
|
14868
|
+
description: "Key ID for a KeyNest device.",
|
|
14869
|
+
type: "string"
|
|
14870
|
+
},
|
|
14871
|
+
key_notes: {
|
|
14872
|
+
description: "Key notes for a KeyNest device.",
|
|
14873
|
+
nullable: true,
|
|
14874
|
+
type: "string"
|
|
14875
|
+
},
|
|
14876
|
+
keynest_app_user: {
|
|
14877
|
+
description: "KeyNest app user for a KeyNest device.",
|
|
14878
|
+
nullable: true,
|
|
14879
|
+
type: "string"
|
|
14880
|
+
},
|
|
14881
|
+
last_movement: {
|
|
14882
|
+
description: "Last movement timestamp for a KeyNest device.",
|
|
14883
|
+
type: "string"
|
|
14884
|
+
},
|
|
14885
|
+
property_id: {
|
|
14886
|
+
description: "Property ID for a KeyNest device.",
|
|
14887
|
+
nullable: true,
|
|
14888
|
+
type: "string"
|
|
14889
|
+
},
|
|
14890
|
+
property_postcode: {
|
|
14891
|
+
description: "Property postcode for a KeyNest device.",
|
|
14892
|
+
nullable: true,
|
|
14893
|
+
type: "string"
|
|
14894
|
+
},
|
|
14895
|
+
status_type: {
|
|
14896
|
+
description: "Status type for a KeyNest device.",
|
|
14897
|
+
type: "string"
|
|
14898
|
+
},
|
|
14899
|
+
subscription_plan: {
|
|
14900
|
+
description: "Subscription plan for a KeyNest device.",
|
|
14901
|
+
type: "string"
|
|
14902
|
+
}
|
|
14903
|
+
},
|
|
14904
|
+
required: [
|
|
14905
|
+
"key_id",
|
|
14906
|
+
"device_name",
|
|
14907
|
+
"property_id",
|
|
14908
|
+
"property_postcode",
|
|
14909
|
+
"key_notes",
|
|
14910
|
+
"subscription_plan",
|
|
14911
|
+
"status_type",
|
|
14912
|
+
"current_or_last_store_id",
|
|
14913
|
+
"last_movement",
|
|
14914
|
+
"address",
|
|
14915
|
+
"current_status",
|
|
14916
|
+
"current_user_name",
|
|
14917
|
+
"current_user_email",
|
|
14918
|
+
"current_user_phone_number",
|
|
14919
|
+
"current_user_company",
|
|
14920
|
+
"handover_method",
|
|
14921
|
+
"keynest_app_user",
|
|
14922
|
+
"default_office_id",
|
|
14923
|
+
"fob_id",
|
|
14924
|
+
"has_photo"
|
|
14925
|
+
],
|
|
14926
|
+
type: "object"
|
|
14927
|
+
},
|
|
14783
14928
|
kwikset_metadata: {
|
|
14784
14929
|
description: "Metadata for a Kwikset device.",
|
|
14785
14930
|
properties: {
|
|
@@ -16771,7 +16916,8 @@ var openapi_default = {
|
|
|
16771
16916
|
"tado",
|
|
16772
16917
|
"salto_space",
|
|
16773
16918
|
"sensi",
|
|
16774
|
-
"kwikset2"
|
|
16919
|
+
"kwikset2",
|
|
16920
|
+
"keynest"
|
|
16775
16921
|
],
|
|
16776
16922
|
type: "string"
|
|
16777
16923
|
},
|
|
@@ -38629,6 +38775,7 @@ var openapi_default = {
|
|
|
38629
38775
|
"salto_space",
|
|
38630
38776
|
"sensi",
|
|
38631
38777
|
"kwikset2",
|
|
38778
|
+
"keynest",
|
|
38632
38779
|
"yale_access",
|
|
38633
38780
|
"hid_cm",
|
|
38634
38781
|
"google_nest"
|
|
@@ -41332,7 +41479,8 @@ var openapi_default = {
|
|
|
41332
41479
|
"noiseaware",
|
|
41333
41480
|
"tado",
|
|
41334
41481
|
"sensi",
|
|
41335
|
-
"smartthings"
|
|
41482
|
+
"smartthings",
|
|
41483
|
+
"keynest"
|
|
41336
41484
|
],
|
|
41337
41485
|
type: "string"
|
|
41338
41486
|
}
|
|
@@ -41781,7 +41929,8 @@ var openapi_default = {
|
|
|
41781
41929
|
"noiseaware",
|
|
41782
41930
|
"tado",
|
|
41783
41931
|
"sensi",
|
|
41784
|
-
"smartthings"
|
|
41932
|
+
"smartthings",
|
|
41933
|
+
"keynest"
|
|
41785
41934
|
],
|
|
41786
41935
|
type: "string"
|
|
41787
41936
|
},
|
|
@@ -42558,7 +42707,8 @@ var openapi_default = {
|
|
|
42558
42707
|
"noiseaware",
|
|
42559
42708
|
"tado",
|
|
42560
42709
|
"sensi",
|
|
42561
|
-
"smartthings"
|
|
42710
|
+
"smartthings",
|
|
42711
|
+
"keynest"
|
|
42562
42712
|
],
|
|
42563
42713
|
type: "string"
|
|
42564
42714
|
}
|
|
@@ -43004,7 +43154,8 @@ var openapi_default = {
|
|
|
43004
43154
|
"noiseaware",
|
|
43005
43155
|
"tado",
|
|
43006
43156
|
"sensi",
|
|
43007
|
-
"smartthings"
|
|
43157
|
+
"smartthings",
|
|
43158
|
+
"keynest"
|
|
43008
43159
|
],
|
|
43009
43160
|
type: "string"
|
|
43010
43161
|
},
|