@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
|
@@ -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.',
|