@seamapi/types 1.501.0 → 1.502.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 +2 -133
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +127 -1358
- package/dist/index.cjs +2 -133
- 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 +151 -1196
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -100
- package/lib/seam/connect/models/devices/device-metadata.js +1 -62
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -140
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -100
- package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +0 -91
- package/lib/seam/connect/openapi.js +0 -112
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -663
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -62
- package/src/lib/seam/connect/openapi.ts +0 -124
- package/src/lib/seam/connect/route-types.ts +17 -663
package/package.json
CHANGED
|
@@ -612,70 +612,9 @@ export const device_metadata = z
|
|
|
612
612
|
|
|
613
613
|
keynest_metadata: z
|
|
614
614
|
.object({
|
|
615
|
-
key_id: z.string().describe(`Key ID for a KeyNest device.`),
|
|
616
615
|
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
616
|
})
|
|
617
|
+
.partial()
|
|
679
618
|
.describe(`Metadata for a KeyNest device.`),
|
|
680
619
|
})
|
|
681
620
|
.partial().describe(`
|
|
@@ -10697,135 +10697,11 @@ export default {
|
|
|
10697
10697
|
keynest_metadata: {
|
|
10698
10698
|
description: 'Metadata for a KeyNest device.',
|
|
10699
10699
|
properties: {
|
|
10700
|
-
address: {
|
|
10701
|
-
description: 'Address for a KeyNest device.',
|
|
10702
|
-
nullable: true,
|
|
10703
|
-
type: 'string',
|
|
10704
|
-
},
|
|
10705
|
-
current_or_last_store_id: {
|
|
10706
|
-
description:
|
|
10707
|
-
'Current or last store ID for a KeyNest device.',
|
|
10708
|
-
format: 'float',
|
|
10709
|
-
type: 'number',
|
|
10710
|
-
},
|
|
10711
|
-
current_status: {
|
|
10712
|
-
description: 'Current status for a KeyNest device.',
|
|
10713
|
-
nullable: true,
|
|
10714
|
-
type: 'string',
|
|
10715
|
-
},
|
|
10716
|
-
current_user_company: {
|
|
10717
|
-
description:
|
|
10718
|
-
'Current user company for a KeyNest device.',
|
|
10719
|
-
nullable: true,
|
|
10720
|
-
type: 'string',
|
|
10721
|
-
},
|
|
10722
|
-
current_user_email: {
|
|
10723
|
-
description:
|
|
10724
|
-
'Current user email for a KeyNest device.',
|
|
10725
|
-
nullable: true,
|
|
10726
|
-
type: 'string',
|
|
10727
|
-
},
|
|
10728
|
-
current_user_name: {
|
|
10729
|
-
description:
|
|
10730
|
-
'Current user name for a KeyNest device.',
|
|
10731
|
-
nullable: true,
|
|
10732
|
-
type: 'string',
|
|
10733
|
-
},
|
|
10734
|
-
current_user_phone_number: {
|
|
10735
|
-
description:
|
|
10736
|
-
'Current user phone number for a KeyNest device.',
|
|
10737
|
-
nullable: true,
|
|
10738
|
-
type: 'string',
|
|
10739
|
-
},
|
|
10740
|
-
default_office_id: {
|
|
10741
|
-
description:
|
|
10742
|
-
'Default office ID for a KeyNest device.',
|
|
10743
|
-
format: 'float',
|
|
10744
|
-
type: 'number',
|
|
10745
|
-
},
|
|
10746
10700
|
device_name: {
|
|
10747
10701
|
description: 'Device name for a KeyNest device.',
|
|
10748
10702
|
type: 'string',
|
|
10749
10703
|
},
|
|
10750
|
-
fob_id: {
|
|
10751
|
-
description: 'Fob ID for a KeyNest device.',
|
|
10752
|
-
format: 'float',
|
|
10753
|
-
type: 'number',
|
|
10754
|
-
},
|
|
10755
|
-
handover_method: {
|
|
10756
|
-
description:
|
|
10757
|
-
'Handover method for a KeyNest device.',
|
|
10758
|
-
nullable: true,
|
|
10759
|
-
type: 'string',
|
|
10760
|
-
},
|
|
10761
|
-
has_photo: {
|
|
10762
|
-
description:
|
|
10763
|
-
'Whether the KeyNest device has a photo.',
|
|
10764
|
-
type: 'boolean',
|
|
10765
|
-
},
|
|
10766
|
-
key_id: {
|
|
10767
|
-
description: 'Key ID for a KeyNest device.',
|
|
10768
|
-
type: 'string',
|
|
10769
|
-
},
|
|
10770
|
-
key_notes: {
|
|
10771
|
-
description: 'Key notes for a KeyNest device.',
|
|
10772
|
-
nullable: true,
|
|
10773
|
-
type: 'string',
|
|
10774
|
-
},
|
|
10775
|
-
keynest_app_user: {
|
|
10776
|
-
description:
|
|
10777
|
-
'KeyNest app user for a KeyNest device.',
|
|
10778
|
-
nullable: true,
|
|
10779
|
-
type: 'string',
|
|
10780
|
-
},
|
|
10781
|
-
last_movement: {
|
|
10782
|
-
description:
|
|
10783
|
-
'Last movement timestamp for a KeyNest device.',
|
|
10784
|
-
type: 'string',
|
|
10785
|
-
},
|
|
10786
|
-
property_id: {
|
|
10787
|
-
description: 'Property ID for a KeyNest device.',
|
|
10788
|
-
nullable: true,
|
|
10789
|
-
type: 'string',
|
|
10790
|
-
},
|
|
10791
|
-
property_postcode: {
|
|
10792
|
-
description:
|
|
10793
|
-
'Property postcode for a KeyNest device.',
|
|
10794
|
-
nullable: true,
|
|
10795
|
-
type: 'string',
|
|
10796
|
-
},
|
|
10797
|
-
status_type: {
|
|
10798
|
-
description: 'Status type for a KeyNest device.',
|
|
10799
|
-
type: 'string',
|
|
10800
|
-
},
|
|
10801
|
-
subscription_plan: {
|
|
10802
|
-
description:
|
|
10803
|
-
'Subscription plan for a KeyNest device.',
|
|
10804
|
-
type: 'string',
|
|
10805
|
-
},
|
|
10806
10704
|
},
|
|
10807
|
-
required: [
|
|
10808
|
-
'key_id',
|
|
10809
|
-
'device_name',
|
|
10810
|
-
'property_id',
|
|
10811
|
-
'property_postcode',
|
|
10812
|
-
'key_notes',
|
|
10813
|
-
'subscription_plan',
|
|
10814
|
-
'status_type',
|
|
10815
|
-
'current_or_last_store_id',
|
|
10816
|
-
'last_movement',
|
|
10817
|
-
'address',
|
|
10818
|
-
'current_status',
|
|
10819
|
-
'current_user_name',
|
|
10820
|
-
'current_user_email',
|
|
10821
|
-
'current_user_phone_number',
|
|
10822
|
-
'current_user_company',
|
|
10823
|
-
'handover_method',
|
|
10824
|
-
'keynest_app_user',
|
|
10825
|
-
'default_office_id',
|
|
10826
|
-
'fob_id',
|
|
10827
|
-
'has_photo',
|
|
10828
|
-
],
|
|
10829
10705
|
type: 'object',
|
|
10830
10706
|
},
|
|
10831
10707
|
kwikset_metadata: {
|