@seamapi/types 1.500.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 +46 -151
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +226 -1371
- package/dist/index.cjs +46 -151
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/model-types.d.ts +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 +249 -1208
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/{customization_profiles/customization_profile.js → customization-profiles/customization-profile.js} +1 -1
- package/lib/seam/connect/models/{customization_profiles/customization_profile.js.map → customization-profiles/customization-profile.js.map} +1 -1
- package/lib/seam/connect/models/customization-profiles/index.d.ts +1 -0
- package/lib/seam/connect/models/customization-profiles/index.js +2 -0
- package/lib/seam/connect/models/customization-profiles/index.js.map +1 -0
- 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/index.d.ts +1 -1
- package/lib/seam/connect/models/index.js +1 -1
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
- package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +24 -91
- package/lib/seam/connect/openapi.js +24 -112
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +35 -663
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/models/customization-profiles/index.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -62
- package/src/lib/seam/connect/models/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +24 -124
- package/src/lib/seam/connect/route-types.ts +39 -663
- package/lib/seam/connect/models/{customization_profiles/customization_profile.d.ts → customization-profiles/customization-profile.d.ts} +2 -2
- /package/src/lib/seam/connect/models/{customization_profiles/customization_profile.ts → customization-profiles/customization-profile.ts} +0 -0
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ import { action_attempt } from './action-attempts/action-attempt.js'
|
|
|
18
18
|
import { client_session } from './client-sessions/client-session.js'
|
|
19
19
|
import { connect_webview } from './connect-webviews/connect-webview.js'
|
|
20
20
|
import { connected_account } from './connected-accounts/index.js'
|
|
21
|
+
import { customization_profile } from './customization-profiles/index.js'
|
|
21
22
|
import { device } from './devices/index.js'
|
|
22
23
|
import { unmanaged_device } from './devices/unmanaged-device.js'
|
|
23
24
|
import { seam_event } from './events/seam-event.js'
|
|
@@ -90,6 +91,7 @@ export const workspaces_batch = z
|
|
|
90
91
|
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
91
92
|
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
92
93
|
noise_thresholds: noise_threshold.array().optional(),
|
|
94
|
+
customization_profiles: customization_profile.array().optional(),
|
|
93
95
|
})
|
|
94
96
|
.describe('A batch of workspace resources.')
|
|
95
97
|
|
|
@@ -127,6 +129,7 @@ export const batch = z
|
|
|
127
129
|
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
128
130
|
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
129
131
|
noise_thresholds: noise_threshold.array().optional(),
|
|
132
|
+
customization_profiles: customization_profile.array().optional(),
|
|
130
133
|
})
|
|
131
134
|
.describe('A batch of workspace resources.')
|
|
132
135
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './customization-profile.js'
|
|
@@ -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(`
|
|
@@ -13,7 +13,7 @@ export * from './customer/access-grant-resources.js'
|
|
|
13
13
|
export * from './customer/index.js'
|
|
14
14
|
export * from './customer/location-resources.js'
|
|
15
15
|
export * from './customer/user-identity-resources.js'
|
|
16
|
-
export * from './
|
|
16
|
+
export * from './customization-profiles/index.js'
|
|
17
17
|
export * from './devices/index.js'
|
|
18
18
|
export * from './events/index.js'
|
|
19
19
|
export * from './instant-keys/index.js'
|
|
@@ -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: {
|
|
@@ -29291,6 +29167,12 @@ export default {
|
|
|
29291
29167
|
},
|
|
29292
29168
|
type: 'array',
|
|
29293
29169
|
},
|
|
29170
|
+
customization_profiles: {
|
|
29171
|
+
items: {
|
|
29172
|
+
$ref: '#/components/schemas/customization_profile',
|
|
29173
|
+
},
|
|
29174
|
+
type: 'array',
|
|
29175
|
+
},
|
|
29294
29176
|
devices: {
|
|
29295
29177
|
items: { $ref: '#/components/schemas/device' },
|
|
29296
29178
|
type: 'array',
|
|
@@ -29506,6 +29388,12 @@ export default {
|
|
|
29506
29388
|
},
|
|
29507
29389
|
type: 'array',
|
|
29508
29390
|
},
|
|
29391
|
+
customization_profiles: {
|
|
29392
|
+
items: {
|
|
29393
|
+
$ref: '#/components/schemas/customization_profile',
|
|
29394
|
+
},
|
|
29395
|
+
type: 'array',
|
|
29396
|
+
},
|
|
29509
29397
|
devices: {
|
|
29510
29398
|
items: { $ref: '#/components/schemas/device' },
|
|
29511
29399
|
type: 'array',
|
|
@@ -56806,6 +56694,12 @@ export default {
|
|
|
56806
56694
|
},
|
|
56807
56695
|
type: 'array',
|
|
56808
56696
|
},
|
|
56697
|
+
customization_profiles: {
|
|
56698
|
+
items: {
|
|
56699
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56700
|
+
},
|
|
56701
|
+
type: 'array',
|
|
56702
|
+
},
|
|
56809
56703
|
devices: {
|
|
56810
56704
|
items: { $ref: '#/components/schemas/device' },
|
|
56811
56705
|
type: 'array',
|
|
@@ -56999,6 +56893,12 @@ export default {
|
|
|
56999
56893
|
},
|
|
57000
56894
|
type: 'array',
|
|
57001
56895
|
},
|
|
56896
|
+
customization_profiles: {
|
|
56897
|
+
items: {
|
|
56898
|
+
$ref: '#/components/schemas/customization_profile',
|
|
56899
|
+
},
|
|
56900
|
+
type: 'array',
|
|
56901
|
+
},
|
|
57002
56902
|
devices: {
|
|
57003
56903
|
items: { $ref: '#/components/schemas/device' },
|
|
57004
56904
|
type: 'array',
|