@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
|
@@ -13203,6 +13203,11 @@ const openapi = {
|
|
|
13203
13203
|
description: 'Lock name for an Omnitec device.',
|
|
13204
13204
|
type: 'string',
|
|
13205
13205
|
},
|
|
13206
|
+
time_zone: {
|
|
13207
|
+
description: 'IANA time zone for the Omnitec device, used to schedule time-bound access codes at the correct local time (accounting for DST).',
|
|
13208
|
+
nullable: true,
|
|
13209
|
+
type: 'string',
|
|
13210
|
+
},
|
|
13206
13211
|
timezone_raw_offset_ms: {
|
|
13207
13212
|
description: 'Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.',
|
|
13208
13213
|
format: 'float',
|
|
@@ -15131,6 +15136,50 @@ const openapi = {
|
|
|
15131
15136
|
type: 'object',
|
|
15132
15137
|
'x-variant-group-key': 'locks',
|
|
15133
15138
|
},
|
|
15139
|
+
{
|
|
15140
|
+
description: "Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.",
|
|
15141
|
+
properties: {
|
|
15142
|
+
created_at: {
|
|
15143
|
+
description: 'Date and time at which Seam created the warning.',
|
|
15144
|
+
format: 'date-time',
|
|
15145
|
+
type: 'string',
|
|
15146
|
+
},
|
|
15147
|
+
message: {
|
|
15148
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
15149
|
+
type: 'string',
|
|
15150
|
+
},
|
|
15151
|
+
warning_code: {
|
|
15152
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
15153
|
+
enum: ['time_zone_unknown'],
|
|
15154
|
+
type: 'string',
|
|
15155
|
+
},
|
|
15156
|
+
},
|
|
15157
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
15158
|
+
type: 'object',
|
|
15159
|
+
'x-variant-group-key': 'locks',
|
|
15160
|
+
},
|
|
15161
|
+
{
|
|
15162
|
+
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.",
|
|
15163
|
+
properties: {
|
|
15164
|
+
created_at: {
|
|
15165
|
+
description: 'Date and time at which Seam created the warning.',
|
|
15166
|
+
format: 'date-time',
|
|
15167
|
+
type: 'string',
|
|
15168
|
+
},
|
|
15169
|
+
message: {
|
|
15170
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
15171
|
+
type: 'string',
|
|
15172
|
+
},
|
|
15173
|
+
warning_code: {
|
|
15174
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
15175
|
+
enum: ['time_zone_mismatch'],
|
|
15176
|
+
type: 'string',
|
|
15177
|
+
},
|
|
15178
|
+
},
|
|
15179
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
15180
|
+
type: 'object',
|
|
15181
|
+
'x-variant-group-key': 'locks',
|
|
15182
|
+
},
|
|
15134
15183
|
{
|
|
15135
15184
|
description: 'Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.',
|
|
15136
15185
|
properties: {
|
|
@@ -30206,6 +30255,50 @@ const openapi = {
|
|
|
30206
30255
|
type: 'object',
|
|
30207
30256
|
'x-variant-group-key': 'locks',
|
|
30208
30257
|
},
|
|
30258
|
+
{
|
|
30259
|
+
description: "Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.",
|
|
30260
|
+
properties: {
|
|
30261
|
+
created_at: {
|
|
30262
|
+
description: 'Date and time at which Seam created the warning.',
|
|
30263
|
+
format: 'date-time',
|
|
30264
|
+
type: 'string',
|
|
30265
|
+
},
|
|
30266
|
+
message: {
|
|
30267
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
30268
|
+
type: 'string',
|
|
30269
|
+
},
|
|
30270
|
+
warning_code: {
|
|
30271
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30272
|
+
enum: ['time_zone_unknown'],
|
|
30273
|
+
type: 'string',
|
|
30274
|
+
},
|
|
30275
|
+
},
|
|
30276
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
30277
|
+
type: 'object',
|
|
30278
|
+
'x-variant-group-key': 'locks',
|
|
30279
|
+
},
|
|
30280
|
+
{
|
|
30281
|
+
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.",
|
|
30282
|
+
properties: {
|
|
30283
|
+
created_at: {
|
|
30284
|
+
description: 'Date and time at which Seam created the warning.',
|
|
30285
|
+
format: 'date-time',
|
|
30286
|
+
type: 'string',
|
|
30287
|
+
},
|
|
30288
|
+
message: {
|
|
30289
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
30290
|
+
type: 'string',
|
|
30291
|
+
},
|
|
30292
|
+
warning_code: {
|
|
30293
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30294
|
+
enum: ['time_zone_mismatch'],
|
|
30295
|
+
type: 'string',
|
|
30296
|
+
},
|
|
30297
|
+
},
|
|
30298
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
30299
|
+
type: 'object',
|
|
30300
|
+
'x-variant-group-key': 'locks',
|
|
30301
|
+
},
|
|
30209
30302
|
{
|
|
30210
30303
|
description: 'Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.',
|
|
30211
30304
|
properties: {
|