@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/package.json
CHANGED
|
@@ -609,6 +609,74 @@ export const device_metadata = z
|
|
|
609
609
|
product_type: z.string().describe(`Product type for a Sensi device.`),
|
|
610
610
|
})
|
|
611
611
|
.describe(`Metadata for a Sensi device.`),
|
|
612
|
+
|
|
613
|
+
keynest_metadata: z
|
|
614
|
+
.object({
|
|
615
|
+
key_id: z.string().describe(`Key ID for a KeyNest device.`),
|
|
616
|
+
device_name: z.string().describe(`Device name for a KeyNest device.`),
|
|
617
|
+
property_id: z
|
|
618
|
+
.string()
|
|
619
|
+
.nullable()
|
|
620
|
+
.describe(`Property ID for a KeyNest device.`),
|
|
621
|
+
property_postcode: z
|
|
622
|
+
.string()
|
|
623
|
+
.nullable()
|
|
624
|
+
.describe(`Property postcode for a KeyNest device.`),
|
|
625
|
+
key_notes: z
|
|
626
|
+
.string()
|
|
627
|
+
.nullable()
|
|
628
|
+
.describe(`Key notes for a KeyNest device.`),
|
|
629
|
+
subscription_plan: z
|
|
630
|
+
.string()
|
|
631
|
+
.describe(`Subscription plan for a KeyNest device.`),
|
|
632
|
+
status_type: z.string().describe(`Status type for a KeyNest device.`),
|
|
633
|
+
current_or_last_store_id: z
|
|
634
|
+
.number()
|
|
635
|
+
.describe(`Current or last store ID for a KeyNest device.`),
|
|
636
|
+
last_movement: z
|
|
637
|
+
.string()
|
|
638
|
+
.describe(`Last movement timestamp for a KeyNest device.`),
|
|
639
|
+
address: z
|
|
640
|
+
.string()
|
|
641
|
+
.nullable()
|
|
642
|
+
.describe(`Address for a KeyNest device.`),
|
|
643
|
+
current_status: z
|
|
644
|
+
.string()
|
|
645
|
+
.nullable()
|
|
646
|
+
.describe(`Current status for a KeyNest device.`),
|
|
647
|
+
current_user_name: z
|
|
648
|
+
.string()
|
|
649
|
+
.nullable()
|
|
650
|
+
.describe(`Current user name for a KeyNest device.`),
|
|
651
|
+
current_user_email: z
|
|
652
|
+
.string()
|
|
653
|
+
.nullable()
|
|
654
|
+
.describe(`Current user email for a KeyNest device.`),
|
|
655
|
+
current_user_phone_number: z
|
|
656
|
+
.string()
|
|
657
|
+
.nullable()
|
|
658
|
+
.describe(`Current user phone number for a KeyNest device.`),
|
|
659
|
+
current_user_company: z
|
|
660
|
+
.string()
|
|
661
|
+
.nullable()
|
|
662
|
+
.describe(`Current user company for a KeyNest device.`),
|
|
663
|
+
handover_method: z
|
|
664
|
+
.string()
|
|
665
|
+
.nullable()
|
|
666
|
+
.describe(`Handover method for a KeyNest device.`),
|
|
667
|
+
keynest_app_user: z
|
|
668
|
+
.string()
|
|
669
|
+
.nullable()
|
|
670
|
+
.describe(`KeyNest app user for a KeyNest device.`),
|
|
671
|
+
default_office_id: z
|
|
672
|
+
.number()
|
|
673
|
+
.describe(`Default office ID for a KeyNest device.`),
|
|
674
|
+
fob_id: z.number().describe(`Fob ID for a KeyNest device.`),
|
|
675
|
+
has_photo: z
|
|
676
|
+
.boolean()
|
|
677
|
+
.describe(`Whether the KeyNest device has a photo.`),
|
|
678
|
+
})
|
|
679
|
+
.describe(`Metadata for a KeyNest device.`),
|
|
612
680
|
})
|
|
613
681
|
.partial().describe(`
|
|
614
682
|
---
|
|
@@ -10648,6 +10648,140 @@ export default {
|
|
|
10648
10648
|
required: ['device_id', 'device_name'],
|
|
10649
10649
|
type: 'object',
|
|
10650
10650
|
},
|
|
10651
|
+
keynest_metadata: {
|
|
10652
|
+
description: 'Metadata for a KeyNest device.',
|
|
10653
|
+
properties: {
|
|
10654
|
+
address: {
|
|
10655
|
+
description: 'Address for a KeyNest device.',
|
|
10656
|
+
nullable: true,
|
|
10657
|
+
type: 'string',
|
|
10658
|
+
},
|
|
10659
|
+
current_or_last_store_id: {
|
|
10660
|
+
description:
|
|
10661
|
+
'Current or last store ID for a KeyNest device.',
|
|
10662
|
+
format: 'float',
|
|
10663
|
+
type: 'number',
|
|
10664
|
+
},
|
|
10665
|
+
current_status: {
|
|
10666
|
+
description: 'Current status for a KeyNest device.',
|
|
10667
|
+
nullable: true,
|
|
10668
|
+
type: 'string',
|
|
10669
|
+
},
|
|
10670
|
+
current_user_company: {
|
|
10671
|
+
description:
|
|
10672
|
+
'Current user company for a KeyNest device.',
|
|
10673
|
+
nullable: true,
|
|
10674
|
+
type: 'string',
|
|
10675
|
+
},
|
|
10676
|
+
current_user_email: {
|
|
10677
|
+
description:
|
|
10678
|
+
'Current user email for a KeyNest device.',
|
|
10679
|
+
nullable: true,
|
|
10680
|
+
type: 'string',
|
|
10681
|
+
},
|
|
10682
|
+
current_user_name: {
|
|
10683
|
+
description:
|
|
10684
|
+
'Current user name for a KeyNest device.',
|
|
10685
|
+
nullable: true,
|
|
10686
|
+
type: 'string',
|
|
10687
|
+
},
|
|
10688
|
+
current_user_phone_number: {
|
|
10689
|
+
description:
|
|
10690
|
+
'Current user phone number for a KeyNest device.',
|
|
10691
|
+
nullable: true,
|
|
10692
|
+
type: 'string',
|
|
10693
|
+
},
|
|
10694
|
+
default_office_id: {
|
|
10695
|
+
description:
|
|
10696
|
+
'Default office ID for a KeyNest device.',
|
|
10697
|
+
format: 'float',
|
|
10698
|
+
type: 'number',
|
|
10699
|
+
},
|
|
10700
|
+
device_name: {
|
|
10701
|
+
description: 'Device name for a KeyNest device.',
|
|
10702
|
+
type: 'string',
|
|
10703
|
+
},
|
|
10704
|
+
fob_id: {
|
|
10705
|
+
description: 'Fob ID for a KeyNest device.',
|
|
10706
|
+
format: 'float',
|
|
10707
|
+
type: 'number',
|
|
10708
|
+
},
|
|
10709
|
+
handover_method: {
|
|
10710
|
+
description:
|
|
10711
|
+
'Handover method for a KeyNest device.',
|
|
10712
|
+
nullable: true,
|
|
10713
|
+
type: 'string',
|
|
10714
|
+
},
|
|
10715
|
+
has_photo: {
|
|
10716
|
+
description:
|
|
10717
|
+
'Whether the KeyNest device has a photo.',
|
|
10718
|
+
type: 'boolean',
|
|
10719
|
+
},
|
|
10720
|
+
key_id: {
|
|
10721
|
+
description: 'Key ID for a KeyNest device.',
|
|
10722
|
+
type: 'string',
|
|
10723
|
+
},
|
|
10724
|
+
key_notes: {
|
|
10725
|
+
description: 'Key notes for a KeyNest device.',
|
|
10726
|
+
nullable: true,
|
|
10727
|
+
type: 'string',
|
|
10728
|
+
},
|
|
10729
|
+
keynest_app_user: {
|
|
10730
|
+
description:
|
|
10731
|
+
'KeyNest app user for a KeyNest device.',
|
|
10732
|
+
nullable: true,
|
|
10733
|
+
type: 'string',
|
|
10734
|
+
},
|
|
10735
|
+
last_movement: {
|
|
10736
|
+
description:
|
|
10737
|
+
'Last movement timestamp for a KeyNest device.',
|
|
10738
|
+
type: 'string',
|
|
10739
|
+
},
|
|
10740
|
+
property_id: {
|
|
10741
|
+
description: 'Property ID for a KeyNest device.',
|
|
10742
|
+
nullable: true,
|
|
10743
|
+
type: 'string',
|
|
10744
|
+
},
|
|
10745
|
+
property_postcode: {
|
|
10746
|
+
description:
|
|
10747
|
+
'Property postcode for a KeyNest device.',
|
|
10748
|
+
nullable: true,
|
|
10749
|
+
type: 'string',
|
|
10750
|
+
},
|
|
10751
|
+
status_type: {
|
|
10752
|
+
description: 'Status type for a KeyNest device.',
|
|
10753
|
+
type: 'string',
|
|
10754
|
+
},
|
|
10755
|
+
subscription_plan: {
|
|
10756
|
+
description:
|
|
10757
|
+
'Subscription plan for a KeyNest device.',
|
|
10758
|
+
type: 'string',
|
|
10759
|
+
},
|
|
10760
|
+
},
|
|
10761
|
+
required: [
|
|
10762
|
+
'key_id',
|
|
10763
|
+
'device_name',
|
|
10764
|
+
'property_id',
|
|
10765
|
+
'property_postcode',
|
|
10766
|
+
'key_notes',
|
|
10767
|
+
'subscription_plan',
|
|
10768
|
+
'status_type',
|
|
10769
|
+
'current_or_last_store_id',
|
|
10770
|
+
'last_movement',
|
|
10771
|
+
'address',
|
|
10772
|
+
'current_status',
|
|
10773
|
+
'current_user_name',
|
|
10774
|
+
'current_user_email',
|
|
10775
|
+
'current_user_phone_number',
|
|
10776
|
+
'current_user_company',
|
|
10777
|
+
'handover_method',
|
|
10778
|
+
'keynest_app_user',
|
|
10779
|
+
'default_office_id',
|
|
10780
|
+
'fob_id',
|
|
10781
|
+
'has_photo',
|
|
10782
|
+
],
|
|
10783
|
+
type: 'object',
|
|
10784
|
+
},
|
|
10651
10785
|
kwikset_metadata: {
|
|
10652
10786
|
description: 'Metadata for a Kwikset device.',
|
|
10653
10787
|
properties: {
|
|
@@ -12886,6 +13020,7 @@ export default {
|
|
|
12886
13020
|
'salto_space',
|
|
12887
13021
|
'sensi',
|
|
12888
13022
|
'kwikset2',
|
|
13023
|
+
'keynest',
|
|
12889
13024
|
],
|
|
12890
13025
|
type: 'string',
|
|
12891
13026
|
},
|
|
@@ -36541,6 +36676,7 @@ export default {
|
|
|
36541
36676
|
'salto_space',
|
|
36542
36677
|
'sensi',
|
|
36543
36678
|
'kwikset2',
|
|
36679
|
+
'keynest',
|
|
36544
36680
|
'yale_access',
|
|
36545
36681
|
'hid_cm',
|
|
36546
36682
|
'google_nest',
|
|
@@ -39494,6 +39630,7 @@ export default {
|
|
|
39494
39630
|
'tado',
|
|
39495
39631
|
'sensi',
|
|
39496
39632
|
'smartthings',
|
|
39633
|
+
'keynest',
|
|
39497
39634
|
],
|
|
39498
39635
|
type: 'string',
|
|
39499
39636
|
},
|
|
@@ -39968,6 +40105,7 @@ export default {
|
|
|
39968
40105
|
'tado',
|
|
39969
40106
|
'sensi',
|
|
39970
40107
|
'smartthings',
|
|
40108
|
+
'keynest',
|
|
39971
40109
|
],
|
|
39972
40110
|
type: 'string',
|
|
39973
40111
|
},
|
|
@@ -40771,6 +40909,7 @@ export default {
|
|
|
40771
40909
|
'tado',
|
|
40772
40910
|
'sensi',
|
|
40773
40911
|
'smartthings',
|
|
40912
|
+
'keynest',
|
|
40774
40913
|
],
|
|
40775
40914
|
type: 'string',
|
|
40776
40915
|
},
|
|
@@ -41242,6 +41381,7 @@ export default {
|
|
|
41242
41381
|
'tado',
|
|
41243
41382
|
'sensi',
|
|
41244
41383
|
'smartthings',
|
|
41384
|
+
'keynest',
|
|
41245
41385
|
],
|
|
41246
41386
|
type: 'string',
|
|
41247
41387
|
},
|