@seamapi/types 1.942.0 → 1.943.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 +116 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +436 -0
- package/dist/index.cjs +116 -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 +93 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +314 -0
- 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 +110 -0
- package/src/lib/seam/connect/route-types.ts +354 -0
package/dist/connect.cjs
CHANGED
|
@@ -1185,6 +1185,9 @@ var device_metadata = zod.z.object({
|
|
|
1185
1185
|
),
|
|
1186
1186
|
timezone_raw_offset_ms: zod.z.number().describe(
|
|
1187
1187
|
`Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.`
|
|
1188
|
+
),
|
|
1189
|
+
time_zone: zod.z.string().nullable().optional().describe(
|
|
1190
|
+
`IANA time zone for the Omnitec device, used to schedule time-bound access codes at the correct local time (accounting for DST).`
|
|
1188
1191
|
)
|
|
1189
1192
|
}).describe(`Metadata for an Omnitec device.`),
|
|
1190
1193
|
tado_metadata: zod.z.object({
|
|
@@ -1735,6 +1738,22 @@ var ultraloq_time_zone_unknown = common_device_warning.extend({
|
|
|
1735
1738
|
---
|
|
1736
1739
|
Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.
|
|
1737
1740
|
`);
|
|
1741
|
+
var time_zone_unknown = common_device_warning.extend({
|
|
1742
|
+
warning_code: zod.z.literal("time_zone_unknown").describe(warning_code_description2)
|
|
1743
|
+
}).describe(`
|
|
1744
|
+
---
|
|
1745
|
+
variant_group_key: locks
|
|
1746
|
+
---
|
|
1747
|
+
Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.
|
|
1748
|
+
`);
|
|
1749
|
+
var time_zone_mismatch = common_device_warning.extend({
|
|
1750
|
+
warning_code: zod.z.literal("time_zone_mismatch").describe(warning_code_description2)
|
|
1751
|
+
}).describe(`
|
|
1752
|
+
---
|
|
1753
|
+
variant_group_key: locks
|
|
1754
|
+
---
|
|
1755
|
+
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.
|
|
1756
|
+
`);
|
|
1738
1757
|
var two_n_device_missing_timezone = common_device_warning.extend({
|
|
1739
1758
|
warning_code: zod.z.literal("two_n_device_missing_timezone").describe(warning_code_description2)
|
|
1740
1759
|
}).describe(`
|
|
@@ -1830,6 +1849,8 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1830
1849
|
unknown_issue_with_phone,
|
|
1831
1850
|
lockly_time_zone_not_configured,
|
|
1832
1851
|
ultraloq_time_zone_unknown,
|
|
1852
|
+
time_zone_unknown,
|
|
1853
|
+
time_zone_mismatch,
|
|
1833
1854
|
two_n_device_missing_timezone,
|
|
1834
1855
|
hub_required_for_additional_capabilities,
|
|
1835
1856
|
provider_issue,
|
|
@@ -1861,6 +1882,8 @@ zod.z.object({
|
|
|
1861
1882
|
unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
|
|
1862
1883
|
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
|
|
1863
1884
|
ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
|
|
1885
|
+
time_zone_unknown: time_zone_unknown.optional().nullable(),
|
|
1886
|
+
time_zone_mismatch: time_zone_mismatch.optional().nullable(),
|
|
1864
1887
|
two_n_device_missing_timezone: two_n_device_missing_timezone.optional().nullable(),
|
|
1865
1888
|
hub_required_for_additional_capabilities: hub_required_for_additional_capabilities.optional().nullable(),
|
|
1866
1889
|
provider_issue: provider_issue.optional().nullable(),
|
|
@@ -20751,6 +20774,11 @@ var openapi = {
|
|
|
20751
20774
|
description: "Lock name for an Omnitec device.",
|
|
20752
20775
|
type: "string"
|
|
20753
20776
|
},
|
|
20777
|
+
time_zone: {
|
|
20778
|
+
description: "IANA time zone for the Omnitec device, used to schedule time-bound access codes at the correct local time (accounting for DST).",
|
|
20779
|
+
nullable: true,
|
|
20780
|
+
type: "string"
|
|
20781
|
+
},
|
|
20754
20782
|
timezone_raw_offset_ms: {
|
|
20755
20783
|
description: "Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.",
|
|
20756
20784
|
format: "float",
|
|
@@ -22679,6 +22707,50 @@ var openapi = {
|
|
|
22679
22707
|
type: "object",
|
|
22680
22708
|
"x-variant-group-key": "locks"
|
|
22681
22709
|
},
|
|
22710
|
+
{
|
|
22711
|
+
description: "Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.",
|
|
22712
|
+
properties: {
|
|
22713
|
+
created_at: {
|
|
22714
|
+
description: "Date and time at which Seam created the warning.",
|
|
22715
|
+
format: "date-time",
|
|
22716
|
+
type: "string"
|
|
22717
|
+
},
|
|
22718
|
+
message: {
|
|
22719
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
22720
|
+
type: "string"
|
|
22721
|
+
},
|
|
22722
|
+
warning_code: {
|
|
22723
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
22724
|
+
enum: ["time_zone_unknown"],
|
|
22725
|
+
type: "string"
|
|
22726
|
+
}
|
|
22727
|
+
},
|
|
22728
|
+
required: ["message", "created_at", "warning_code"],
|
|
22729
|
+
type: "object",
|
|
22730
|
+
"x-variant-group-key": "locks"
|
|
22731
|
+
},
|
|
22732
|
+
{
|
|
22733
|
+
description: "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.",
|
|
22734
|
+
properties: {
|
|
22735
|
+
created_at: {
|
|
22736
|
+
description: "Date and time at which Seam created the warning.",
|
|
22737
|
+
format: "date-time",
|
|
22738
|
+
type: "string"
|
|
22739
|
+
},
|
|
22740
|
+
message: {
|
|
22741
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
22742
|
+
type: "string"
|
|
22743
|
+
},
|
|
22744
|
+
warning_code: {
|
|
22745
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
22746
|
+
enum: ["time_zone_mismatch"],
|
|
22747
|
+
type: "string"
|
|
22748
|
+
}
|
|
22749
|
+
},
|
|
22750
|
+
required: ["message", "created_at", "warning_code"],
|
|
22751
|
+
type: "object",
|
|
22752
|
+
"x-variant-group-key": "locks"
|
|
22753
|
+
},
|
|
22682
22754
|
{
|
|
22683
22755
|
description: "Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.",
|
|
22684
22756
|
properties: {
|
|
@@ -37754,6 +37826,50 @@ var openapi = {
|
|
|
37754
37826
|
type: "object",
|
|
37755
37827
|
"x-variant-group-key": "locks"
|
|
37756
37828
|
},
|
|
37829
|
+
{
|
|
37830
|
+
description: "Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.",
|
|
37831
|
+
properties: {
|
|
37832
|
+
created_at: {
|
|
37833
|
+
description: "Date and time at which Seam created the warning.",
|
|
37834
|
+
format: "date-time",
|
|
37835
|
+
type: "string"
|
|
37836
|
+
},
|
|
37837
|
+
message: {
|
|
37838
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
37839
|
+
type: "string"
|
|
37840
|
+
},
|
|
37841
|
+
warning_code: {
|
|
37842
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
37843
|
+
enum: ["time_zone_unknown"],
|
|
37844
|
+
type: "string"
|
|
37845
|
+
}
|
|
37846
|
+
},
|
|
37847
|
+
required: ["message", "created_at", "warning_code"],
|
|
37848
|
+
type: "object",
|
|
37849
|
+
"x-variant-group-key": "locks"
|
|
37850
|
+
},
|
|
37851
|
+
{
|
|
37852
|
+
description: "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.",
|
|
37853
|
+
properties: {
|
|
37854
|
+
created_at: {
|
|
37855
|
+
description: "Date and time at which Seam created the warning.",
|
|
37856
|
+
format: "date-time",
|
|
37857
|
+
type: "string"
|
|
37858
|
+
},
|
|
37859
|
+
message: {
|
|
37860
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
37861
|
+
type: "string"
|
|
37862
|
+
},
|
|
37863
|
+
warning_code: {
|
|
37864
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
37865
|
+
enum: ["time_zone_mismatch"],
|
|
37866
|
+
type: "string"
|
|
37867
|
+
}
|
|
37868
|
+
},
|
|
37869
|
+
required: ["message", "created_at", "warning_code"],
|
|
37870
|
+
type: "object",
|
|
37871
|
+
"x-variant-group-key": "locks"
|
|
37872
|
+
},
|
|
37757
37873
|
{
|
|
37758
37874
|
description: "Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.",
|
|
37759
37875
|
properties: {
|