@seamapi/types 1.942.0 → 1.944.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 +118 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +438 -2
- package/dist/index.cjs +118 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +123 -0
- package/lib/seam/connect/models/devices/device.js +24 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +47 -0
- package/lib/seam/connect/openapi.js +95 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +316 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +7 -0
- package/src/lib/seam/connect/models/devices/device.ts +26 -0
- package/src/lib/seam/connect/openapi.ts +112 -0
- package/src/lib/seam/connect/route-types.ts +356 -0
|
@@ -567,6 +567,28 @@ const ultraloq_time_zone_unknown = common_device_warning.extend({
|
|
|
567
567
|
Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.
|
|
568
568
|
`)
|
|
569
569
|
|
|
570
|
+
const time_zone_unknown = common_device_warning.extend({
|
|
571
|
+
warning_code: z
|
|
572
|
+
.literal('time_zone_unknown')
|
|
573
|
+
.describe(warning_code_description),
|
|
574
|
+
}).describe(`
|
|
575
|
+
---
|
|
576
|
+
variant_group_key: locks
|
|
577
|
+
---
|
|
578
|
+
Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.
|
|
579
|
+
`)
|
|
580
|
+
|
|
581
|
+
const time_zone_mismatch = common_device_warning.extend({
|
|
582
|
+
warning_code: z
|
|
583
|
+
.literal('time_zone_mismatch')
|
|
584
|
+
.describe(warning_code_description),
|
|
585
|
+
}).describe(`
|
|
586
|
+
---
|
|
587
|
+
variant_group_key: locks
|
|
588
|
+
---
|
|
589
|
+
Indicates that the device's configured time zone does not match its hardware UTC offset. Time-bound access codes may activate at the wrong local time.
|
|
590
|
+
`)
|
|
591
|
+
|
|
570
592
|
const two_n_device_missing_timezone = common_device_warning.extend({
|
|
571
593
|
warning_code: z
|
|
572
594
|
.literal('two_n_device_missing_timezone')
|
|
@@ -693,6 +715,8 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
693
715
|
unknown_issue_with_phone,
|
|
694
716
|
lockly_time_zone_not_configured,
|
|
695
717
|
ultraloq_time_zone_unknown,
|
|
718
|
+
time_zone_unknown,
|
|
719
|
+
time_zone_mismatch,
|
|
696
720
|
two_n_device_missing_timezone,
|
|
697
721
|
hub_required_for_additional_capabilities,
|
|
698
722
|
provider_issue,
|
|
@@ -747,6 +771,8 @@ export const device_warning_map = z.object({
|
|
|
747
771
|
.optional()
|
|
748
772
|
.nullable(),
|
|
749
773
|
ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
|
|
774
|
+
time_zone_unknown: time_zone_unknown.optional().nullable(),
|
|
775
|
+
time_zone_mismatch: time_zone_mismatch.optional().nullable(),
|
|
750
776
|
two_n_device_missing_timezone: two_n_device_missing_timezone
|
|
751
777
|
.optional()
|
|
752
778
|
.nullable(),
|
|
@@ -14889,6 +14889,12 @@ const openapi: OpenAPISpec = {
|
|
|
14889
14889
|
description: 'Lock name for an Omnitec device.',
|
|
14890
14890
|
type: 'string',
|
|
14891
14891
|
},
|
|
14892
|
+
time_zone: {
|
|
14893
|
+
description:
|
|
14894
|
+
'IANA time zone for the Omnitec device, used to schedule time-bound access codes at the correct local time (accounting for DST).',
|
|
14895
|
+
nullable: true,
|
|
14896
|
+
type: 'string',
|
|
14897
|
+
},
|
|
14892
14898
|
timezone_raw_offset_ms: {
|
|
14893
14899
|
description:
|
|
14894
14900
|
'Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.',
|
|
@@ -17086,6 +17092,58 @@ const openapi: OpenAPISpec = {
|
|
|
17086
17092
|
type: 'object',
|
|
17087
17093
|
'x-variant-group-key': 'locks',
|
|
17088
17094
|
},
|
|
17095
|
+
{
|
|
17096
|
+
description:
|
|
17097
|
+
"Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.",
|
|
17098
|
+
properties: {
|
|
17099
|
+
created_at: {
|
|
17100
|
+
description:
|
|
17101
|
+
'Date and time at which Seam created the warning.',
|
|
17102
|
+
format: 'date-time',
|
|
17103
|
+
type: 'string',
|
|
17104
|
+
},
|
|
17105
|
+
message: {
|
|
17106
|
+
description:
|
|
17107
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
17108
|
+
type: 'string',
|
|
17109
|
+
},
|
|
17110
|
+
warning_code: {
|
|
17111
|
+
description:
|
|
17112
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
17113
|
+
enum: ['time_zone_unknown'],
|
|
17114
|
+
type: 'string',
|
|
17115
|
+
},
|
|
17116
|
+
},
|
|
17117
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
17118
|
+
type: 'object',
|
|
17119
|
+
'x-variant-group-key': 'locks',
|
|
17120
|
+
},
|
|
17121
|
+
{
|
|
17122
|
+
description:
|
|
17123
|
+
"Indicates that the device's configured time zone does not match its hardware UTC offset. Time-bound access codes may activate at the wrong local time.",
|
|
17124
|
+
properties: {
|
|
17125
|
+
created_at: {
|
|
17126
|
+
description:
|
|
17127
|
+
'Date and time at which Seam created the warning.',
|
|
17128
|
+
format: 'date-time',
|
|
17129
|
+
type: 'string',
|
|
17130
|
+
},
|
|
17131
|
+
message: {
|
|
17132
|
+
description:
|
|
17133
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
17134
|
+
type: 'string',
|
|
17135
|
+
},
|
|
17136
|
+
warning_code: {
|
|
17137
|
+
description:
|
|
17138
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
17139
|
+
enum: ['time_zone_mismatch'],
|
|
17140
|
+
type: 'string',
|
|
17141
|
+
},
|
|
17142
|
+
},
|
|
17143
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
17144
|
+
type: 'object',
|
|
17145
|
+
'x-variant-group-key': 'locks',
|
|
17146
|
+
},
|
|
17089
17147
|
{
|
|
17090
17148
|
description:
|
|
17091
17149
|
'Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.',
|
|
@@ -33700,6 +33758,58 @@ const openapi: OpenAPISpec = {
|
|
|
33700
33758
|
type: 'object',
|
|
33701
33759
|
'x-variant-group-key': 'locks',
|
|
33702
33760
|
},
|
|
33761
|
+
{
|
|
33762
|
+
description:
|
|
33763
|
+
"Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.",
|
|
33764
|
+
properties: {
|
|
33765
|
+
created_at: {
|
|
33766
|
+
description:
|
|
33767
|
+
'Date and time at which Seam created the warning.',
|
|
33768
|
+
format: 'date-time',
|
|
33769
|
+
type: 'string',
|
|
33770
|
+
},
|
|
33771
|
+
message: {
|
|
33772
|
+
description:
|
|
33773
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
33774
|
+
type: 'string',
|
|
33775
|
+
},
|
|
33776
|
+
warning_code: {
|
|
33777
|
+
description:
|
|
33778
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
33779
|
+
enum: ['time_zone_unknown'],
|
|
33780
|
+
type: 'string',
|
|
33781
|
+
},
|
|
33782
|
+
},
|
|
33783
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
33784
|
+
type: 'object',
|
|
33785
|
+
'x-variant-group-key': 'locks',
|
|
33786
|
+
},
|
|
33787
|
+
{
|
|
33788
|
+
description:
|
|
33789
|
+
"Indicates that the device's configured time zone does not match its hardware UTC offset. Time-bound access codes may activate at the wrong local time.",
|
|
33790
|
+
properties: {
|
|
33791
|
+
created_at: {
|
|
33792
|
+
description:
|
|
33793
|
+
'Date and time at which Seam created the warning.',
|
|
33794
|
+
format: 'date-time',
|
|
33795
|
+
type: 'string',
|
|
33796
|
+
},
|
|
33797
|
+
message: {
|
|
33798
|
+
description:
|
|
33799
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
33800
|
+
type: 'string',
|
|
33801
|
+
},
|
|
33802
|
+
warning_code: {
|
|
33803
|
+
description:
|
|
33804
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
33805
|
+
enum: ['time_zone_mismatch'],
|
|
33806
|
+
type: 'string',
|
|
33807
|
+
},
|
|
33808
|
+
},
|
|
33809
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
33810
|
+
type: 'object',
|
|
33811
|
+
'x-variant-group-key': 'locks',
|
|
33812
|
+
},
|
|
33703
33813
|
{
|
|
33704
33814
|
description:
|
|
33705
33815
|
'Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.',
|
|
@@ -67660,6 +67770,7 @@ const openapi: OpenAPISpec = {
|
|
|
67660
67770
|
'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS',
|
|
67661
67771
|
'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES',
|
|
67662
67772
|
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
67773
|
+
'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES',
|
|
67663
67774
|
'LYNX_MIGRATION_ENABLED',
|
|
67664
67775
|
],
|
|
67665
67776
|
type: 'string',
|
|
@@ -67688,6 +67799,7 @@ const openapi: OpenAPISpec = {
|
|
|
67688
67799
|
'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS',
|
|
67689
67800
|
'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES',
|
|
67690
67801
|
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
67802
|
+
'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES',
|
|
67691
67803
|
'LYNX_MIGRATION_ENABLED',
|
|
67692
67804
|
],
|
|
67693
67805
|
type: 'string',
|