@seamapi/types 1.1035.0 → 1.1036.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -74
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -21
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -26
- package/lib/seam/connect/models/events/access-codes.d.ts +8 -364
- package/lib/seam/connect/models/events/access-codes.js +4 -16
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +4 -181
- package/lib/seam/connect/openapi.js +14 -291
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +19 -416
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -22
- package/src/lib/seam/connect/models/events/access-codes.ts +6 -23
- package/src/lib/seam/connect/openapi.ts +14 -329
- package/src/lib/seam/connect/route-types.ts +19 -451
|
@@ -365,7 +365,7 @@ const openapi = {
|
|
|
365
365
|
'x-undocumented': 'Unreleased.',
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
|
-
description: "Seam was unable to apply this access code's
|
|
368
|
+
description: "Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied.",
|
|
369
369
|
properties: {
|
|
370
370
|
created_at: {
|
|
371
371
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -374,7 +374,7 @@ const openapi = {
|
|
|
374
374
|
},
|
|
375
375
|
error_code: {
|
|
376
376
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
377
|
-
enum: ['
|
|
377
|
+
enum: ['failed_to_update'],
|
|
378
378
|
type: 'string',
|
|
379
379
|
},
|
|
380
380
|
is_access_code_error: {
|
|
@@ -1383,28 +1383,6 @@ const openapi = {
|
|
|
1383
1383
|
type: 'object',
|
|
1384
1384
|
'x-undocumented': 'Unreleased.',
|
|
1385
1385
|
},
|
|
1386
|
-
{
|
|
1387
|
-
description: "Seam has not yet applied this access code's pending mutations to the device, so the code on the device does not yet match its requested state. Seam is still attempting to apply them, and this warning clears automatically once the mutations are applied.",
|
|
1388
|
-
properties: {
|
|
1389
|
-
created_at: {
|
|
1390
|
-
description: 'Date and time at which Seam created the warning.',
|
|
1391
|
-
format: 'date-time',
|
|
1392
|
-
type: 'string',
|
|
1393
|
-
},
|
|
1394
|
-
message: {
|
|
1395
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1396
|
-
type: 'string',
|
|
1397
|
-
},
|
|
1398
|
-
warning_code: {
|
|
1399
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1400
|
-
enum: ['delay_in_applying_mutations'],
|
|
1401
|
-
type: 'string',
|
|
1402
|
-
},
|
|
1403
|
-
},
|
|
1404
|
-
required: ['message', 'warning_code'],
|
|
1405
|
-
type: 'object',
|
|
1406
|
-
'x-undocumented': 'Unreleased.',
|
|
1407
|
-
},
|
|
1408
1386
|
{
|
|
1409
1387
|
description: 'Third-party integration detected that may cause access codes to fail.',
|
|
1410
1388
|
properties: {
|
|
@@ -17862,7 +17840,7 @@ const openapi = {
|
|
|
17862
17840
|
'x-undocumented': 'Unreleased.',
|
|
17863
17841
|
},
|
|
17864
17842
|
{
|
|
17865
|
-
description: "Seam
|
|
17843
|
+
description: "Seam was unable to apply this [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)'s requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and the accompanying `failed_to_update` error clears automatically once the update is applied.",
|
|
17866
17844
|
properties: {
|
|
17867
17845
|
access_code_errors: {
|
|
17868
17846
|
description: 'Errors associated with the access code.',
|
|
@@ -18052,232 +18030,7 @@ const openapi = {
|
|
|
18052
18030
|
type: 'string',
|
|
18053
18031
|
},
|
|
18054
18032
|
event_type: {
|
|
18055
|
-
enum: ['access_code.
|
|
18056
|
-
type: 'string',
|
|
18057
|
-
},
|
|
18058
|
-
occurred_at: {
|
|
18059
|
-
description: 'Date and time at which the event occurred.',
|
|
18060
|
-
format: 'date-time',
|
|
18061
|
-
type: 'string',
|
|
18062
|
-
},
|
|
18063
|
-
workspace_id: {
|
|
18064
|
-
description: 'ID of the workspace associated with the event.',
|
|
18065
|
-
format: 'uuid',
|
|
18066
|
-
type: 'string',
|
|
18067
|
-
},
|
|
18068
|
-
},
|
|
18069
|
-
required: [
|
|
18070
|
-
'event_id',
|
|
18071
|
-
'workspace_id',
|
|
18072
|
-
'created_at',
|
|
18073
|
-
'occurred_at',
|
|
18074
|
-
'access_code_id',
|
|
18075
|
-
'device_id',
|
|
18076
|
-
'connected_account_id',
|
|
18077
|
-
'event_type',
|
|
18078
|
-
'connected_account_errors',
|
|
18079
|
-
'connected_account_warnings',
|
|
18080
|
-
'device_errors',
|
|
18081
|
-
'device_warnings',
|
|
18082
|
-
'access_code_errors',
|
|
18083
|
-
'access_code_warnings',
|
|
18084
|
-
],
|
|
18085
|
-
type: 'object',
|
|
18086
|
-
'x-route-path': '/access_codes',
|
|
18087
|
-
'x-undocumented': 'Unreleased.',
|
|
18088
|
-
},
|
|
18089
|
-
{
|
|
18090
|
-
description: "Seam was unable to apply this [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)'s pending mutations to the device, so the code on the device does not match its requested state. Seam keeps retrying, and the accompanying `failed_to_apply_mutations` error clears automatically once the mutations are applied.",
|
|
18091
|
-
properties: {
|
|
18092
|
-
access_code_errors: {
|
|
18093
|
-
description: 'Errors associated with the access code.',
|
|
18094
|
-
items: {
|
|
18095
|
-
description: 'Error associated with the resource, including the error code, message, and creation timestamp.',
|
|
18096
|
-
properties: {
|
|
18097
|
-
created_at: {
|
|
18098
|
-
description: 'Date and time at which Seam created the error.',
|
|
18099
|
-
format: 'date-time',
|
|
18100
|
-
type: 'string',
|
|
18101
|
-
},
|
|
18102
|
-
error_code: {
|
|
18103
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
18104
|
-
type: 'string',
|
|
18105
|
-
},
|
|
18106
|
-
message: {
|
|
18107
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
18108
|
-
type: 'string',
|
|
18109
|
-
},
|
|
18110
|
-
},
|
|
18111
|
-
required: ['created_at', 'message', 'error_code'],
|
|
18112
|
-
type: 'object',
|
|
18113
|
-
},
|
|
18114
|
-
type: 'array',
|
|
18115
|
-
},
|
|
18116
|
-
access_code_id: {
|
|
18117
|
-
description: 'ID of the affected access code.',
|
|
18118
|
-
format: 'uuid',
|
|
18119
|
-
type: 'string',
|
|
18120
|
-
},
|
|
18121
|
-
access_code_warnings: {
|
|
18122
|
-
description: 'Warnings associated with the access code.',
|
|
18123
|
-
items: {
|
|
18124
|
-
description: 'Warning associated with the resource, including the warning code, message, and creation timestamp.',
|
|
18125
|
-
properties: {
|
|
18126
|
-
created_at: {
|
|
18127
|
-
description: 'Date and time at which Seam created the warning.',
|
|
18128
|
-
format: 'date-time',
|
|
18129
|
-
type: 'string',
|
|
18130
|
-
},
|
|
18131
|
-
message: {
|
|
18132
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
18133
|
-
type: 'string',
|
|
18134
|
-
},
|
|
18135
|
-
warning_code: {
|
|
18136
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
18137
|
-
type: 'string',
|
|
18138
|
-
},
|
|
18139
|
-
},
|
|
18140
|
-
required: ['created_at', 'message', 'warning_code'],
|
|
18141
|
-
type: 'object',
|
|
18142
|
-
},
|
|
18143
|
-
type: 'array',
|
|
18144
|
-
},
|
|
18145
|
-
connected_account_custom_metadata: {
|
|
18146
|
-
additionalProperties: {
|
|
18147
|
-
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
18148
|
-
},
|
|
18149
|
-
description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
|
|
18150
|
-
type: 'object',
|
|
18151
|
-
},
|
|
18152
|
-
connected_account_errors: {
|
|
18153
|
-
description: 'Errors associated with the connected account.',
|
|
18154
|
-
items: {
|
|
18155
|
-
description: 'Error associated with the resource, including the error code, message, and creation timestamp.',
|
|
18156
|
-
properties: {
|
|
18157
|
-
created_at: {
|
|
18158
|
-
description: 'Date and time at which Seam created the error.',
|
|
18159
|
-
format: 'date-time',
|
|
18160
|
-
type: 'string',
|
|
18161
|
-
},
|
|
18162
|
-
error_code: {
|
|
18163
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
18164
|
-
type: 'string',
|
|
18165
|
-
},
|
|
18166
|
-
message: {
|
|
18167
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
18168
|
-
type: 'string',
|
|
18169
|
-
},
|
|
18170
|
-
},
|
|
18171
|
-
required: ['created_at', 'message', 'error_code'],
|
|
18172
|
-
type: 'object',
|
|
18173
|
-
},
|
|
18174
|
-
type: 'array',
|
|
18175
|
-
},
|
|
18176
|
-
connected_account_id: {
|
|
18177
|
-
description: 'ID of the connected account associated with the affected access code.',
|
|
18178
|
-
format: 'uuid',
|
|
18179
|
-
type: 'string',
|
|
18180
|
-
},
|
|
18181
|
-
connected_account_warnings: {
|
|
18182
|
-
description: 'Warnings associated with the connected account.',
|
|
18183
|
-
items: {
|
|
18184
|
-
description: 'Warning associated with the resource, including the warning code, message, and creation timestamp.',
|
|
18185
|
-
properties: {
|
|
18186
|
-
created_at: {
|
|
18187
|
-
description: 'Date and time at which Seam created the warning.',
|
|
18188
|
-
format: 'date-time',
|
|
18189
|
-
type: 'string',
|
|
18190
|
-
},
|
|
18191
|
-
message: {
|
|
18192
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
18193
|
-
type: 'string',
|
|
18194
|
-
},
|
|
18195
|
-
warning_code: {
|
|
18196
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
18197
|
-
type: 'string',
|
|
18198
|
-
},
|
|
18199
|
-
},
|
|
18200
|
-
required: ['created_at', 'message', 'warning_code'],
|
|
18201
|
-
type: 'object',
|
|
18202
|
-
},
|
|
18203
|
-
type: 'array',
|
|
18204
|
-
},
|
|
18205
|
-
created_at: {
|
|
18206
|
-
description: 'Date and time at which the event was created.',
|
|
18207
|
-
format: 'date-time',
|
|
18208
|
-
type: 'string',
|
|
18209
|
-
},
|
|
18210
|
-
device_custom_metadata: {
|
|
18211
|
-
additionalProperties: {
|
|
18212
|
-
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
18213
|
-
},
|
|
18214
|
-
description: 'Custom metadata of the device, present when device_id is provided.',
|
|
18215
|
-
type: 'object',
|
|
18216
|
-
},
|
|
18217
|
-
device_errors: {
|
|
18218
|
-
description: 'Errors associated with the device.',
|
|
18219
|
-
items: {
|
|
18220
|
-
description: 'Error associated with the resource, including the error code, message, and creation timestamp.',
|
|
18221
|
-
properties: {
|
|
18222
|
-
created_at: {
|
|
18223
|
-
description: 'Date and time at which Seam created the error.',
|
|
18224
|
-
format: 'date-time',
|
|
18225
|
-
type: 'string',
|
|
18226
|
-
},
|
|
18227
|
-
error_code: {
|
|
18228
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
18229
|
-
type: 'string',
|
|
18230
|
-
},
|
|
18231
|
-
message: {
|
|
18232
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
18233
|
-
type: 'string',
|
|
18234
|
-
},
|
|
18235
|
-
},
|
|
18236
|
-
required: ['created_at', 'message', 'error_code'],
|
|
18237
|
-
type: 'object',
|
|
18238
|
-
},
|
|
18239
|
-
type: 'array',
|
|
18240
|
-
},
|
|
18241
|
-
device_id: {
|
|
18242
|
-
description: 'ID of the device associated with the affected access code.',
|
|
18243
|
-
format: 'uuid',
|
|
18244
|
-
type: 'string',
|
|
18245
|
-
},
|
|
18246
|
-
device_warnings: {
|
|
18247
|
-
description: 'Warnings associated with the device.',
|
|
18248
|
-
items: {
|
|
18249
|
-
description: 'Warning associated with the resource, including the warning code, message, and creation timestamp.',
|
|
18250
|
-
properties: {
|
|
18251
|
-
created_at: {
|
|
18252
|
-
description: 'Date and time at which Seam created the warning.',
|
|
18253
|
-
format: 'date-time',
|
|
18254
|
-
type: 'string',
|
|
18255
|
-
},
|
|
18256
|
-
message: {
|
|
18257
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
18258
|
-
type: 'string',
|
|
18259
|
-
},
|
|
18260
|
-
warning_code: {
|
|
18261
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
18262
|
-
type: 'string',
|
|
18263
|
-
},
|
|
18264
|
-
},
|
|
18265
|
-
required: ['created_at', 'message', 'warning_code'],
|
|
18266
|
-
type: 'object',
|
|
18267
|
-
},
|
|
18268
|
-
type: 'array',
|
|
18269
|
-
},
|
|
18270
|
-
event_description: {
|
|
18271
|
-
description: 'Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.',
|
|
18272
|
-
type: 'string',
|
|
18273
|
-
},
|
|
18274
|
-
event_id: {
|
|
18275
|
-
description: 'ID of the event.',
|
|
18276
|
-
format: 'uuid',
|
|
18277
|
-
type: 'string',
|
|
18278
|
-
},
|
|
18279
|
-
event_type: {
|
|
18280
|
-
enum: ['access_code.failed_to_apply_mutations'],
|
|
18033
|
+
enum: ['access_code.failed_to_update'],
|
|
18281
18034
|
type: 'string',
|
|
18282
18035
|
},
|
|
18283
18036
|
occurred_at: {
|
|
@@ -28723,7 +28476,7 @@ const openapi = {
|
|
|
28723
28476
|
'x-undocumented': 'Unreleased.',
|
|
28724
28477
|
},
|
|
28725
28478
|
{
|
|
28726
|
-
description: "Seam was unable to apply this access code's
|
|
28479
|
+
description: "Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied.",
|
|
28727
28480
|
properties: {
|
|
28728
28481
|
created_at: {
|
|
28729
28482
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -28732,7 +28485,7 @@ const openapi = {
|
|
|
28732
28485
|
},
|
|
28733
28486
|
error_code: {
|
|
28734
28487
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
28735
|
-
enum: ['
|
|
28488
|
+
enum: ['failed_to_update'],
|
|
28736
28489
|
type: 'string',
|
|
28737
28490
|
},
|
|
28738
28491
|
is_access_code_error: {
|
|
@@ -29458,28 +29211,6 @@ const openapi = {
|
|
|
29458
29211
|
type: 'object',
|
|
29459
29212
|
'x-undocumented': 'Unreleased.',
|
|
29460
29213
|
},
|
|
29461
|
-
{
|
|
29462
|
-
description: "Seam has not yet applied this access code's pending mutations to the device, so the code on the device does not yet match its requested state. Seam is still attempting to apply them, and this warning clears automatically once the mutations are applied.",
|
|
29463
|
-
properties: {
|
|
29464
|
-
created_at: {
|
|
29465
|
-
description: 'Date and time at which Seam created the warning.',
|
|
29466
|
-
format: 'date-time',
|
|
29467
|
-
type: 'string',
|
|
29468
|
-
},
|
|
29469
|
-
message: {
|
|
29470
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
29471
|
-
type: 'string',
|
|
29472
|
-
},
|
|
29473
|
-
warning_code: {
|
|
29474
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
29475
|
-
enum: ['delay_in_applying_mutations'],
|
|
29476
|
-
type: 'string',
|
|
29477
|
-
},
|
|
29478
|
-
},
|
|
29479
|
-
required: ['message', 'warning_code'],
|
|
29480
|
-
type: 'object',
|
|
29481
|
-
'x-undocumented': 'Unreleased.',
|
|
29482
|
-
},
|
|
29483
29214
|
{
|
|
29484
29215
|
description: 'Third-party integration detected that may cause access codes to fail.',
|
|
29485
29216
|
properties: {
|
|
@@ -55757,8 +55488,7 @@ const openapi = {
|
|
|
55757
55488
|
'access_code.issued',
|
|
55758
55489
|
'access_code.delay_in_issuing',
|
|
55759
55490
|
'access_code.failed_to_issue',
|
|
55760
|
-
'access_code.
|
|
55761
|
-
'access_code.failed_to_apply_mutations',
|
|
55491
|
+
'access_code.failed_to_update',
|
|
55762
55492
|
'access_code.failed_to_expire',
|
|
55763
55493
|
'access_code.deleted',
|
|
55764
55494
|
'access_code.delay_in_removing_from_device',
|
|
@@ -55883,8 +55613,7 @@ const openapi = {
|
|
|
55883
55613
|
'access_code.issued',
|
|
55884
55614
|
'access_code.delay_in_issuing',
|
|
55885
55615
|
'access_code.failed_to_issue',
|
|
55886
|
-
'access_code.
|
|
55887
|
-
'access_code.failed_to_apply_mutations',
|
|
55616
|
+
'access_code.failed_to_update',
|
|
55888
55617
|
'access_code.failed_to_expire',
|
|
55889
55618
|
'access_code.deleted',
|
|
55890
55619
|
'access_code.delay_in_removing_from_device',
|
|
@@ -56308,8 +56037,7 @@ const openapi = {
|
|
|
56308
56037
|
'access_code.issued',
|
|
56309
56038
|
'access_code.delay_in_issuing',
|
|
56310
56039
|
'access_code.failed_to_issue',
|
|
56311
|
-
'access_code.
|
|
56312
|
-
'access_code.failed_to_apply_mutations',
|
|
56040
|
+
'access_code.failed_to_update',
|
|
56313
56041
|
'access_code.failed_to_expire',
|
|
56314
56042
|
'access_code.deleted',
|
|
56315
56043
|
'access_code.delay_in_removing_from_device',
|
|
@@ -56430,8 +56158,7 @@ const openapi = {
|
|
|
56430
56158
|
'access_code.issued',
|
|
56431
56159
|
'access_code.delay_in_issuing',
|
|
56432
56160
|
'access_code.failed_to_issue',
|
|
56433
|
-
'access_code.
|
|
56434
|
-
'access_code.failed_to_apply_mutations',
|
|
56161
|
+
'access_code.failed_to_update',
|
|
56435
56162
|
'access_code.failed_to_expire',
|
|
56436
56163
|
'access_code.deleted',
|
|
56437
56164
|
'access_code.delay_in_removing_from_device',
|
|
@@ -68435,8 +68162,7 @@ const openapi = {
|
|
|
68435
68162
|
'access_code.issued',
|
|
68436
68163
|
'access_code.delay_in_issuing',
|
|
68437
68164
|
'access_code.failed_to_issue',
|
|
68438
|
-
'access_code.
|
|
68439
|
-
'access_code.failed_to_apply_mutations',
|
|
68165
|
+
'access_code.failed_to_update',
|
|
68440
68166
|
'access_code.failed_to_expire',
|
|
68441
68167
|
'access_code.deleted',
|
|
68442
68168
|
'access_code.delay_in_removing_from_device',
|
|
@@ -68562,8 +68288,7 @@ const openapi = {
|
|
|
68562
68288
|
'access_code.issued',
|
|
68563
68289
|
'access_code.delay_in_issuing',
|
|
68564
68290
|
'access_code.failed_to_issue',
|
|
68565
|
-
'access_code.
|
|
68566
|
-
'access_code.failed_to_apply_mutations',
|
|
68291
|
+
'access_code.failed_to_update',
|
|
68567
68292
|
'access_code.failed_to_expire',
|
|
68568
68293
|
'access_code.deleted',
|
|
68569
68294
|
'access_code.delay_in_removing_from_device',
|
|
@@ -68748,8 +68473,7 @@ const openapi = {
|
|
|
68748
68473
|
'access_code.issued',
|
|
68749
68474
|
'access_code.delay_in_issuing',
|
|
68750
68475
|
'access_code.failed_to_issue',
|
|
68751
|
-
'access_code.
|
|
68752
|
-
'access_code.failed_to_apply_mutations',
|
|
68476
|
+
'access_code.failed_to_update',
|
|
68753
68477
|
'access_code.failed_to_expire',
|
|
68754
68478
|
'access_code.deleted',
|
|
68755
68479
|
'access_code.delay_in_removing_from_device',
|
|
@@ -68870,8 +68594,7 @@ const openapi = {
|
|
|
68870
68594
|
'access_code.issued',
|
|
68871
68595
|
'access_code.delay_in_issuing',
|
|
68872
68596
|
'access_code.failed_to_issue',
|
|
68873
|
-
'access_code.
|
|
68874
|
-
'access_code.failed_to_apply_mutations',
|
|
68597
|
+
'access_code.failed_to_update',
|
|
68875
68598
|
'access_code.failed_to_expire',
|
|
68876
68599
|
'access_code.deleted',
|
|
68877
68600
|
'access_code.delay_in_removing_from_device',
|