@seamapi/types 1.1034.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 +15 -296
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -417
- 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 +15 -334
- package/src/lib/seam/connect/route-types.ts +20 -452
package/package.json
CHANGED
|
@@ -134,16 +134,14 @@ const failed_to_issue = common_access_code_error.extend({
|
|
|
134
134
|
Seam was unable to issue this access code before its start time, so the recipient may be unable to unlock the device. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access code is eventually issued.
|
|
135
135
|
`)
|
|
136
136
|
|
|
137
|
-
const
|
|
138
|
-
error_code: z
|
|
139
|
-
.literal('failed_to_apply_mutations')
|
|
140
|
-
.describe(error_code_description),
|
|
137
|
+
const failed_to_update = common_access_code_error.extend({
|
|
138
|
+
error_code: z.literal('failed_to_update').describe(error_code_description),
|
|
141
139
|
}).describe(`
|
|
142
140
|
---
|
|
143
141
|
resource_type: access_code
|
|
144
142
|
undocumented: Unreleased.
|
|
145
143
|
---
|
|
146
|
-
Seam was unable to apply this access code's
|
|
144
|
+
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.
|
|
147
145
|
`)
|
|
148
146
|
|
|
149
147
|
const failed_to_expire = common_access_code_error.extend({
|
|
@@ -189,7 +187,7 @@ const access_code_error = z
|
|
|
189
187
|
access_code_inactive_error,
|
|
190
188
|
code_constraints_violated,
|
|
191
189
|
failed_to_issue,
|
|
192
|
-
|
|
190
|
+
failed_to_update,
|
|
193
191
|
failed_to_expire,
|
|
194
192
|
])
|
|
195
193
|
.describe(
|
|
@@ -214,7 +212,7 @@ const _access_code_error_map = z.object({
|
|
|
214
212
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
215
213
|
code_constraints_violated: code_constraints_violated.optional().nullable(),
|
|
216
214
|
failed_to_issue: failed_to_issue.optional().nullable(),
|
|
217
|
-
|
|
215
|
+
failed_to_update: failed_to_update.optional().nullable(),
|
|
218
216
|
failed_to_expire: failed_to_expire.optional().nullable(),
|
|
219
217
|
})
|
|
220
218
|
|
|
@@ -309,17 +307,6 @@ const delay_in_issuing = common_access_code_warning.extend({
|
|
|
309
307
|
Seam has not yet issued this access code, even though its start time is approaching, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.
|
|
310
308
|
`)
|
|
311
309
|
|
|
312
|
-
const delay_in_applying_mutations = common_access_code_warning.extend({
|
|
313
|
-
warning_code: z
|
|
314
|
-
.literal('delay_in_applying_mutations')
|
|
315
|
-
.describe(warning_code_description),
|
|
316
|
-
}).describe(`
|
|
317
|
-
---
|
|
318
|
-
undocumented: Unreleased.
|
|
319
|
-
---
|
|
320
|
-
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.
|
|
321
|
-
`)
|
|
322
|
-
|
|
323
310
|
const third_party_integration_detected = common_access_code_warning
|
|
324
311
|
.extend({
|
|
325
312
|
warning_code: z
|
|
@@ -378,7 +365,6 @@ const access_code_warning = z
|
|
|
378
365
|
delay_in_setting_on_device,
|
|
379
366
|
delay_in_removing_from_device,
|
|
380
367
|
delay_in_issuing,
|
|
381
|
-
delay_in_applying_mutations,
|
|
382
368
|
third_party_integration_detected,
|
|
383
369
|
igloo_algopin_must_be_used_within_24_hours,
|
|
384
370
|
management_transferred,
|
|
@@ -404,9 +390,6 @@ const _access_code_warning_map = z.object({
|
|
|
404
390
|
.optional()
|
|
405
391
|
.nullable(),
|
|
406
392
|
delay_in_issuing: delay_in_issuing.optional().nullable(),
|
|
407
|
-
delay_in_applying_mutations: delay_in_applying_mutations
|
|
408
|
-
.optional()
|
|
409
|
-
.nullable(),
|
|
410
393
|
third_party_integration_detected: third_party_integration_detected
|
|
411
394
|
.optional()
|
|
412
395
|
.nullable(),
|
|
@@ -345,36 +345,20 @@ export type AccessCodeFailedToIssueEvent = z.infer<
|
|
|
345
345
|
typeof access_code_failed_to_issue_event
|
|
346
346
|
>
|
|
347
347
|
|
|
348
|
-
export const
|
|
348
|
+
export const access_code_failed_to_update_event = access_code_event
|
|
349
349
|
.extend({
|
|
350
|
-
event_type: z.literal('access_code.
|
|
350
|
+
event_type: z.literal('access_code.failed_to_update'),
|
|
351
351
|
})
|
|
352
352
|
.extend(access_code_event_issue_properties).describe(`
|
|
353
353
|
---
|
|
354
354
|
route_path: /access_codes
|
|
355
355
|
undocumented: Unreleased.
|
|
356
356
|
---
|
|
357
|
-
Seam
|
|
357
|
+
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.
|
|
358
358
|
`)
|
|
359
359
|
|
|
360
|
-
export type
|
|
361
|
-
typeof
|
|
362
|
-
>
|
|
363
|
-
|
|
364
|
-
export const access_code_failed_to_apply_mutations_event = access_code_event
|
|
365
|
-
.extend({
|
|
366
|
-
event_type: z.literal('access_code.failed_to_apply_mutations'),
|
|
367
|
-
})
|
|
368
|
-
.extend(access_code_event_issue_properties).describe(`
|
|
369
|
-
---
|
|
370
|
-
route_path: /access_codes
|
|
371
|
-
undocumented: Unreleased.
|
|
372
|
-
---
|
|
373
|
-
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.
|
|
374
|
-
`)
|
|
375
|
-
|
|
376
|
-
export type AccessCodeFailedToApplyMutationsEvent = z.infer<
|
|
377
|
-
typeof access_code_failed_to_apply_mutations_event
|
|
360
|
+
export type AccessCodeFailedToUpdateEvent = z.infer<
|
|
361
|
+
typeof access_code_failed_to_update_event
|
|
378
362
|
>
|
|
379
363
|
|
|
380
364
|
export const access_code_failed_to_expire_event = access_code_event
|
|
@@ -556,8 +540,7 @@ export const access_code_events = [
|
|
|
556
540
|
access_code_issued_event,
|
|
557
541
|
access_code_delay_in_issuing_event,
|
|
558
542
|
access_code_failed_to_issue_event,
|
|
559
|
-
|
|
560
|
-
access_code_failed_to_apply_mutations_event,
|
|
543
|
+
access_code_failed_to_update_event,
|
|
561
544
|
access_code_failed_to_expire_event,
|
|
562
545
|
access_code_deleted_event,
|
|
563
546
|
access_code_delay_in_removing_from_device_event,
|
|
@@ -434,7 +434,7 @@ const openapi: OpenAPISpec = {
|
|
|
434
434
|
},
|
|
435
435
|
{
|
|
436
436
|
description:
|
|
437
|
-
"Seam was unable to apply this access code's
|
|
437
|
+
"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.",
|
|
438
438
|
properties: {
|
|
439
439
|
created_at: {
|
|
440
440
|
description:
|
|
@@ -445,7 +445,7 @@ const openapi: OpenAPISpec = {
|
|
|
445
445
|
error_code: {
|
|
446
446
|
description:
|
|
447
447
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
448
|
-
enum: ['
|
|
448
|
+
enum: ['failed_to_update'],
|
|
449
449
|
type: 'string',
|
|
450
450
|
},
|
|
451
451
|
is_access_code_error: {
|
|
@@ -1589,32 +1589,6 @@ const openapi: OpenAPISpec = {
|
|
|
1589
1589
|
type: 'object',
|
|
1590
1590
|
'x-undocumented': 'Unreleased.',
|
|
1591
1591
|
},
|
|
1592
|
-
{
|
|
1593
|
-
description:
|
|
1594
|
-
"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.",
|
|
1595
|
-
properties: {
|
|
1596
|
-
created_at: {
|
|
1597
|
-
description:
|
|
1598
|
-
'Date and time at which Seam created the warning.',
|
|
1599
|
-
format: 'date-time',
|
|
1600
|
-
type: 'string',
|
|
1601
|
-
},
|
|
1602
|
-
message: {
|
|
1603
|
-
description:
|
|
1604
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1605
|
-
type: 'string',
|
|
1606
|
-
},
|
|
1607
|
-
warning_code: {
|
|
1608
|
-
description:
|
|
1609
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1610
|
-
enum: ['delay_in_applying_mutations'],
|
|
1611
|
-
type: 'string',
|
|
1612
|
-
},
|
|
1613
|
-
},
|
|
1614
|
-
required: ['message', 'warning_code'],
|
|
1615
|
-
type: 'object',
|
|
1616
|
-
'x-undocumented': 'Unreleased.',
|
|
1617
|
-
},
|
|
1618
1592
|
{
|
|
1619
1593
|
description:
|
|
1620
1594
|
'Third-party integration detected that may cause access codes to fail.',
|
|
@@ -20173,7 +20147,7 @@ const openapi: OpenAPISpec = {
|
|
|
20173
20147
|
},
|
|
20174
20148
|
{
|
|
20175
20149
|
description:
|
|
20176
|
-
"Seam
|
|
20150
|
+
"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.",
|
|
20177
20151
|
properties: {
|
|
20178
20152
|
access_code_errors: {
|
|
20179
20153
|
description: 'Errors associated with the access code.',
|
|
@@ -20392,262 +20366,7 @@ const openapi: OpenAPISpec = {
|
|
|
20392
20366
|
type: 'string',
|
|
20393
20367
|
},
|
|
20394
20368
|
event_type: {
|
|
20395
|
-
enum: ['access_code.
|
|
20396
|
-
type: 'string',
|
|
20397
|
-
},
|
|
20398
|
-
occurred_at: {
|
|
20399
|
-
description: 'Date and time at which the event occurred.',
|
|
20400
|
-
format: 'date-time',
|
|
20401
|
-
type: 'string',
|
|
20402
|
-
},
|
|
20403
|
-
workspace_id: {
|
|
20404
|
-
description: 'ID of the workspace associated with the event.',
|
|
20405
|
-
format: 'uuid',
|
|
20406
|
-
type: 'string',
|
|
20407
|
-
},
|
|
20408
|
-
},
|
|
20409
|
-
required: [
|
|
20410
|
-
'event_id',
|
|
20411
|
-
'workspace_id',
|
|
20412
|
-
'created_at',
|
|
20413
|
-
'occurred_at',
|
|
20414
|
-
'access_code_id',
|
|
20415
|
-
'device_id',
|
|
20416
|
-
'connected_account_id',
|
|
20417
|
-
'event_type',
|
|
20418
|
-
'connected_account_errors',
|
|
20419
|
-
'connected_account_warnings',
|
|
20420
|
-
'device_errors',
|
|
20421
|
-
'device_warnings',
|
|
20422
|
-
'access_code_errors',
|
|
20423
|
-
'access_code_warnings',
|
|
20424
|
-
],
|
|
20425
|
-
type: 'object',
|
|
20426
|
-
'x-route-path': '/access_codes',
|
|
20427
|
-
'x-undocumented': 'Unreleased.',
|
|
20428
|
-
},
|
|
20429
|
-
{
|
|
20430
|
-
description:
|
|
20431
|
-
"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.",
|
|
20432
|
-
properties: {
|
|
20433
|
-
access_code_errors: {
|
|
20434
|
-
description: 'Errors associated with the access code.',
|
|
20435
|
-
items: {
|
|
20436
|
-
description:
|
|
20437
|
-
'Error associated with the resource, including the error code, message, and creation timestamp.',
|
|
20438
|
-
properties: {
|
|
20439
|
-
created_at: {
|
|
20440
|
-
description:
|
|
20441
|
-
'Date and time at which Seam created the error.',
|
|
20442
|
-
format: 'date-time',
|
|
20443
|
-
type: 'string',
|
|
20444
|
-
},
|
|
20445
|
-
error_code: {
|
|
20446
|
-
description:
|
|
20447
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
20448
|
-
type: 'string',
|
|
20449
|
-
},
|
|
20450
|
-
message: {
|
|
20451
|
-
description:
|
|
20452
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
20453
|
-
type: 'string',
|
|
20454
|
-
},
|
|
20455
|
-
},
|
|
20456
|
-
required: ['created_at', 'message', 'error_code'],
|
|
20457
|
-
type: 'object',
|
|
20458
|
-
},
|
|
20459
|
-
type: 'array',
|
|
20460
|
-
},
|
|
20461
|
-
access_code_id: {
|
|
20462
|
-
description: 'ID of the affected access code.',
|
|
20463
|
-
format: 'uuid',
|
|
20464
|
-
type: 'string',
|
|
20465
|
-
},
|
|
20466
|
-
access_code_warnings: {
|
|
20467
|
-
description: 'Warnings associated with the access code.',
|
|
20468
|
-
items: {
|
|
20469
|
-
description:
|
|
20470
|
-
'Warning associated with the resource, including the warning code, message, and creation timestamp.',
|
|
20471
|
-
properties: {
|
|
20472
|
-
created_at: {
|
|
20473
|
-
description:
|
|
20474
|
-
'Date and time at which Seam created the warning.',
|
|
20475
|
-
format: 'date-time',
|
|
20476
|
-
type: 'string',
|
|
20477
|
-
},
|
|
20478
|
-
message: {
|
|
20479
|
-
description:
|
|
20480
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
20481
|
-
type: 'string',
|
|
20482
|
-
},
|
|
20483
|
-
warning_code: {
|
|
20484
|
-
description:
|
|
20485
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
20486
|
-
type: 'string',
|
|
20487
|
-
},
|
|
20488
|
-
},
|
|
20489
|
-
required: ['created_at', 'message', 'warning_code'],
|
|
20490
|
-
type: 'object',
|
|
20491
|
-
},
|
|
20492
|
-
type: 'array',
|
|
20493
|
-
},
|
|
20494
|
-
connected_account_custom_metadata: {
|
|
20495
|
-
additionalProperties: {
|
|
20496
|
-
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
20497
|
-
},
|
|
20498
|
-
description:
|
|
20499
|
-
'Custom metadata of the connected account, present when connected_account_id is provided.',
|
|
20500
|
-
type: 'object',
|
|
20501
|
-
},
|
|
20502
|
-
connected_account_errors: {
|
|
20503
|
-
description: 'Errors associated with the connected account.',
|
|
20504
|
-
items: {
|
|
20505
|
-
description:
|
|
20506
|
-
'Error associated with the resource, including the error code, message, and creation timestamp.',
|
|
20507
|
-
properties: {
|
|
20508
|
-
created_at: {
|
|
20509
|
-
description:
|
|
20510
|
-
'Date and time at which Seam created the error.',
|
|
20511
|
-
format: 'date-time',
|
|
20512
|
-
type: 'string',
|
|
20513
|
-
},
|
|
20514
|
-
error_code: {
|
|
20515
|
-
description:
|
|
20516
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
20517
|
-
type: 'string',
|
|
20518
|
-
},
|
|
20519
|
-
message: {
|
|
20520
|
-
description:
|
|
20521
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
20522
|
-
type: 'string',
|
|
20523
|
-
},
|
|
20524
|
-
},
|
|
20525
|
-
required: ['created_at', 'message', 'error_code'],
|
|
20526
|
-
type: 'object',
|
|
20527
|
-
},
|
|
20528
|
-
type: 'array',
|
|
20529
|
-
},
|
|
20530
|
-
connected_account_id: {
|
|
20531
|
-
description:
|
|
20532
|
-
'ID of the connected account associated with the affected access code.',
|
|
20533
|
-
format: 'uuid',
|
|
20534
|
-
type: 'string',
|
|
20535
|
-
},
|
|
20536
|
-
connected_account_warnings: {
|
|
20537
|
-
description: 'Warnings associated with the connected account.',
|
|
20538
|
-
items: {
|
|
20539
|
-
description:
|
|
20540
|
-
'Warning associated with the resource, including the warning code, message, and creation timestamp.',
|
|
20541
|
-
properties: {
|
|
20542
|
-
created_at: {
|
|
20543
|
-
description:
|
|
20544
|
-
'Date and time at which Seam created the warning.',
|
|
20545
|
-
format: 'date-time',
|
|
20546
|
-
type: 'string',
|
|
20547
|
-
},
|
|
20548
|
-
message: {
|
|
20549
|
-
description:
|
|
20550
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
20551
|
-
type: 'string',
|
|
20552
|
-
},
|
|
20553
|
-
warning_code: {
|
|
20554
|
-
description:
|
|
20555
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
20556
|
-
type: 'string',
|
|
20557
|
-
},
|
|
20558
|
-
},
|
|
20559
|
-
required: ['created_at', 'message', 'warning_code'],
|
|
20560
|
-
type: 'object',
|
|
20561
|
-
},
|
|
20562
|
-
type: 'array',
|
|
20563
|
-
},
|
|
20564
|
-
created_at: {
|
|
20565
|
-
description: 'Date and time at which the event was created.',
|
|
20566
|
-
format: 'date-time',
|
|
20567
|
-
type: 'string',
|
|
20568
|
-
},
|
|
20569
|
-
device_custom_metadata: {
|
|
20570
|
-
additionalProperties: {
|
|
20571
|
-
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
20572
|
-
},
|
|
20573
|
-
description:
|
|
20574
|
-
'Custom metadata of the device, present when device_id is provided.',
|
|
20575
|
-
type: 'object',
|
|
20576
|
-
},
|
|
20577
|
-
device_errors: {
|
|
20578
|
-
description: 'Errors associated with the device.',
|
|
20579
|
-
items: {
|
|
20580
|
-
description:
|
|
20581
|
-
'Error associated with the resource, including the error code, message, and creation timestamp.',
|
|
20582
|
-
properties: {
|
|
20583
|
-
created_at: {
|
|
20584
|
-
description:
|
|
20585
|
-
'Date and time at which Seam created the error.',
|
|
20586
|
-
format: 'date-time',
|
|
20587
|
-
type: 'string',
|
|
20588
|
-
},
|
|
20589
|
-
error_code: {
|
|
20590
|
-
description:
|
|
20591
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
20592
|
-
type: 'string',
|
|
20593
|
-
},
|
|
20594
|
-
message: {
|
|
20595
|
-
description:
|
|
20596
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
20597
|
-
type: 'string',
|
|
20598
|
-
},
|
|
20599
|
-
},
|
|
20600
|
-
required: ['created_at', 'message', 'error_code'],
|
|
20601
|
-
type: 'object',
|
|
20602
|
-
},
|
|
20603
|
-
type: 'array',
|
|
20604
|
-
},
|
|
20605
|
-
device_id: {
|
|
20606
|
-
description:
|
|
20607
|
-
'ID of the device associated with the affected access code.',
|
|
20608
|
-
format: 'uuid',
|
|
20609
|
-
type: 'string',
|
|
20610
|
-
},
|
|
20611
|
-
device_warnings: {
|
|
20612
|
-
description: 'Warnings associated with the device.',
|
|
20613
|
-
items: {
|
|
20614
|
-
description:
|
|
20615
|
-
'Warning associated with the resource, including the warning code, message, and creation timestamp.',
|
|
20616
|
-
properties: {
|
|
20617
|
-
created_at: {
|
|
20618
|
-
description:
|
|
20619
|
-
'Date and time at which Seam created the warning.',
|
|
20620
|
-
format: 'date-time',
|
|
20621
|
-
type: 'string',
|
|
20622
|
-
},
|
|
20623
|
-
message: {
|
|
20624
|
-
description:
|
|
20625
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
20626
|
-
type: 'string',
|
|
20627
|
-
},
|
|
20628
|
-
warning_code: {
|
|
20629
|
-
description:
|
|
20630
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
20631
|
-
type: 'string',
|
|
20632
|
-
},
|
|
20633
|
-
},
|
|
20634
|
-
required: ['created_at', 'message', 'warning_code'],
|
|
20635
|
-
type: 'object',
|
|
20636
|
-
},
|
|
20637
|
-
type: 'array',
|
|
20638
|
-
},
|
|
20639
|
-
event_description: {
|
|
20640
|
-
description:
|
|
20641
|
-
'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.',
|
|
20642
|
-
type: 'string',
|
|
20643
|
-
},
|
|
20644
|
-
event_id: {
|
|
20645
|
-
description: 'ID of the event.',
|
|
20646
|
-
format: 'uuid',
|
|
20647
|
-
type: 'string',
|
|
20648
|
-
},
|
|
20649
|
-
event_type: {
|
|
20650
|
-
enum: ['access_code.failed_to_apply_mutations'],
|
|
20369
|
+
enum: ['access_code.failed_to_update'],
|
|
20651
20370
|
type: 'string',
|
|
20652
20371
|
},
|
|
20653
20372
|
occurred_at: {
|
|
@@ -32108,7 +31827,7 @@ const openapi: OpenAPISpec = {
|
|
|
32108
31827
|
},
|
|
32109
31828
|
{
|
|
32110
31829
|
description:
|
|
32111
|
-
"Seam was unable to apply this access code's
|
|
31830
|
+
"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.",
|
|
32112
31831
|
properties: {
|
|
32113
31832
|
created_at: {
|
|
32114
31833
|
description:
|
|
@@ -32119,7 +31838,7 @@ const openapi: OpenAPISpec = {
|
|
|
32119
31838
|
error_code: {
|
|
32120
31839
|
description:
|
|
32121
31840
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
32122
|
-
enum: ['
|
|
31841
|
+
enum: ['failed_to_update'],
|
|
32123
31842
|
type: 'string',
|
|
32124
31843
|
},
|
|
32125
31844
|
is_access_code_error: {
|
|
@@ -32952,32 +32671,6 @@ const openapi: OpenAPISpec = {
|
|
|
32952
32671
|
type: 'object',
|
|
32953
32672
|
'x-undocumented': 'Unreleased.',
|
|
32954
32673
|
},
|
|
32955
|
-
{
|
|
32956
|
-
description:
|
|
32957
|
-
"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.",
|
|
32958
|
-
properties: {
|
|
32959
|
-
created_at: {
|
|
32960
|
-
description:
|
|
32961
|
-
'Date and time at which Seam created the warning.',
|
|
32962
|
-
format: 'date-time',
|
|
32963
|
-
type: 'string',
|
|
32964
|
-
},
|
|
32965
|
-
message: {
|
|
32966
|
-
description:
|
|
32967
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
32968
|
-
type: 'string',
|
|
32969
|
-
},
|
|
32970
|
-
warning_code: {
|
|
32971
|
-
description:
|
|
32972
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
32973
|
-
enum: ['delay_in_applying_mutations'],
|
|
32974
|
-
type: 'string',
|
|
32975
|
-
},
|
|
32976
|
-
},
|
|
32977
|
-
required: ['message', 'warning_code'],
|
|
32978
|
-
type: 'object',
|
|
32979
|
-
'x-undocumented': 'Unreleased.',
|
|
32980
|
-
},
|
|
32981
32674
|
{
|
|
32982
32675
|
description:
|
|
32983
32676
|
'Third-party integration detected that may cause access codes to fail.',
|
|
@@ -61146,8 +60839,7 @@ const openapi: OpenAPISpec = {
|
|
|
61146
60839
|
'access_code.issued',
|
|
61147
60840
|
'access_code.delay_in_issuing',
|
|
61148
60841
|
'access_code.failed_to_issue',
|
|
61149
|
-
'access_code.
|
|
61150
|
-
'access_code.failed_to_apply_mutations',
|
|
60842
|
+
'access_code.failed_to_update',
|
|
61151
60843
|
'access_code.failed_to_expire',
|
|
61152
60844
|
'access_code.deleted',
|
|
61153
60845
|
'access_code.delay_in_removing_from_device',
|
|
@@ -61272,8 +60964,7 @@ const openapi: OpenAPISpec = {
|
|
|
61272
60964
|
'access_code.issued',
|
|
61273
60965
|
'access_code.delay_in_issuing',
|
|
61274
60966
|
'access_code.failed_to_issue',
|
|
61275
|
-
'access_code.
|
|
61276
|
-
'access_code.failed_to_apply_mutations',
|
|
60967
|
+
'access_code.failed_to_update',
|
|
61277
60968
|
'access_code.failed_to_expire',
|
|
61278
60969
|
'access_code.deleted',
|
|
61279
60970
|
'access_code.delay_in_removing_from_device',
|
|
@@ -61730,8 +61421,7 @@ const openapi: OpenAPISpec = {
|
|
|
61730
61421
|
'access_code.issued',
|
|
61731
61422
|
'access_code.delay_in_issuing',
|
|
61732
61423
|
'access_code.failed_to_issue',
|
|
61733
|
-
'access_code.
|
|
61734
|
-
'access_code.failed_to_apply_mutations',
|
|
61424
|
+
'access_code.failed_to_update',
|
|
61735
61425
|
'access_code.failed_to_expire',
|
|
61736
61426
|
'access_code.deleted',
|
|
61737
61427
|
'access_code.delay_in_removing_from_device',
|
|
@@ -61852,8 +61542,7 @@ const openapi: OpenAPISpec = {
|
|
|
61852
61542
|
'access_code.issued',
|
|
61853
61543
|
'access_code.delay_in_issuing',
|
|
61854
61544
|
'access_code.failed_to_issue',
|
|
61855
|
-
'access_code.
|
|
61856
|
-
'access_code.failed_to_apply_mutations',
|
|
61545
|
+
'access_code.failed_to_update',
|
|
61857
61546
|
'access_code.failed_to_expire',
|
|
61858
61547
|
'access_code.deleted',
|
|
61859
61548
|
'access_code.delay_in_removing_from_device',
|
|
@@ -69903,11 +69592,7 @@ const openapi: OpenAPISpec = {
|
|
|
69903
69592
|
description:
|
|
69904
69593
|
'Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
|
|
69905
69594
|
operationId: 'seamCustomerV1AutomationsDeleteDelete',
|
|
69906
|
-
|
|
69907
|
-
content: {
|
|
69908
|
-
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
69909
|
-
},
|
|
69910
|
-
},
|
|
69595
|
+
parameters: [],
|
|
69911
69596
|
responses: {
|
|
69912
69597
|
'200': {
|
|
69913
69598
|
content: {
|
|
@@ -74166,8 +73851,7 @@ const openapi: OpenAPISpec = {
|
|
|
74166
73851
|
'access_code.issued',
|
|
74167
73852
|
'access_code.delay_in_issuing',
|
|
74168
73853
|
'access_code.failed_to_issue',
|
|
74169
|
-
'access_code.
|
|
74170
|
-
'access_code.failed_to_apply_mutations',
|
|
73854
|
+
'access_code.failed_to_update',
|
|
74171
73855
|
'access_code.failed_to_expire',
|
|
74172
73856
|
'access_code.deleted',
|
|
74173
73857
|
'access_code.delay_in_removing_from_device',
|
|
@@ -74293,8 +73977,7 @@ const openapi: OpenAPISpec = {
|
|
|
74293
73977
|
'access_code.issued',
|
|
74294
73978
|
'access_code.delay_in_issuing',
|
|
74295
73979
|
'access_code.failed_to_issue',
|
|
74296
|
-
'access_code.
|
|
74297
|
-
'access_code.failed_to_apply_mutations',
|
|
73980
|
+
'access_code.failed_to_update',
|
|
74298
73981
|
'access_code.failed_to_expire',
|
|
74299
73982
|
'access_code.deleted',
|
|
74300
73983
|
'access_code.delay_in_removing_from_device',
|
|
@@ -74481,8 +74164,7 @@ const openapi: OpenAPISpec = {
|
|
|
74481
74164
|
'access_code.issued',
|
|
74482
74165
|
'access_code.delay_in_issuing',
|
|
74483
74166
|
'access_code.failed_to_issue',
|
|
74484
|
-
'access_code.
|
|
74485
|
-
'access_code.failed_to_apply_mutations',
|
|
74167
|
+
'access_code.failed_to_update',
|
|
74486
74168
|
'access_code.failed_to_expire',
|
|
74487
74169
|
'access_code.deleted',
|
|
74488
74170
|
'access_code.delay_in_removing_from_device',
|
|
@@ -74603,8 +74285,7 @@ const openapi: OpenAPISpec = {
|
|
|
74603
74285
|
'access_code.issued',
|
|
74604
74286
|
'access_code.delay_in_issuing',
|
|
74605
74287
|
'access_code.failed_to_issue',
|
|
74606
|
-
'access_code.
|
|
74607
|
-
'access_code.failed_to_apply_mutations',
|
|
74288
|
+
'access_code.failed_to_update',
|
|
74608
74289
|
'access_code.failed_to_expire',
|
|
74609
74290
|
'access_code.deleted',
|
|
74610
74291
|
'access_code.delay_in_removing_from_device',
|