@seamapi/http 2.10.0 → 2.11.1

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.
Files changed (35) hide show
  1. package/lib/client.js +2 -1
  2. package/lib/client.js.map +1 -1
  3. package/lib/resources/access-code.d.ts +26 -26
  4. package/lib/resources/acs-access-group.d.ts +1 -1
  5. package/lib/resources/acs-credential.d.ts +1 -1
  6. package/lib/resources/acs-user.d.ts +1 -1
  7. package/lib/resources/action-attempt.d.ts +3 -3
  8. package/lib/resources/device.d.ts +20 -20
  9. package/lib/resources/unmanaged-access-code.d.ts +28 -28
  10. package/lib/resources/unmanaged-device.d.ts +18 -18
  11. package/lib/routes/access-grants/unmanaged/unmanaged.d.ts +1 -1
  12. package/lib/routes/connect-webviews/connect-webviews.d.ts +1 -1
  13. package/lib/routes/connected-accounts/connected-accounts.d.ts +1 -1
  14. package/lib/routes/devices/devices.d.ts +1 -1
  15. package/lib/routes/devices/unmanaged/unmanaged.d.ts +1 -1
  16. package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +1 -1
  17. package/lib/version.d.ts +1 -1
  18. package/lib/version.js +1 -1
  19. package/package.json +3 -3
  20. package/src/lib/client.ts +6 -1
  21. package/src/lib/resources/access-code.ts +26 -26
  22. package/src/lib/resources/acs-access-group.ts +1 -1
  23. package/src/lib/resources/acs-credential.ts +1 -1
  24. package/src/lib/resources/acs-user.ts +1 -1
  25. package/src/lib/resources/action-attempt.ts +3 -3
  26. package/src/lib/resources/device.ts +20 -20
  27. package/src/lib/resources/unmanaged-access-code.ts +28 -28
  28. package/src/lib/resources/unmanaged-device.ts +18 -18
  29. package/src/lib/routes/access-grants/unmanaged/unmanaged.ts +1 -1
  30. package/src/lib/routes/connect-webviews/connect-webviews.ts +1 -1
  31. package/src/lib/routes/connected-accounts/connected-accounts.ts +1 -1
  32. package/src/lib/routes/devices/devices.ts +1 -1
  33. package/src/lib/routes/devices/unmanaged/unmanaged.ts +1 -1
  34. package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +1 -1
  35. package/src/lib/version.ts +1 -1
@@ -102,7 +102,7 @@ export type AccessCode = {
102
102
  /**
103
103
  * Indicates that this is an access code error.
104
104
  */
105
- is_access_code_error: boolean
105
+ is_access_code_error: true
106
106
 
107
107
  /**
108
108
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -124,7 +124,7 @@ export type AccessCode = {
124
124
  /**
125
125
  * Indicates that this is an access code error.
126
126
  */
127
- is_access_code_error: boolean
127
+ is_access_code_error: true
128
128
 
129
129
  /**
130
130
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -146,7 +146,7 @@ export type AccessCode = {
146
146
  /**
147
147
  * Indicates that this is an access code error.
148
148
  */
149
- is_access_code_error: boolean
149
+ is_access_code_error: true
150
150
 
151
151
  /**
152
152
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -168,7 +168,7 @@ export type AccessCode = {
168
168
  /**
169
169
  * Indicates that this is an access code error.
170
170
  */
171
- is_access_code_error: boolean
171
+ is_access_code_error: true
172
172
 
173
173
  /**
174
174
  * ID of the managed access code that conflicts with this managed access code, when Seam can identify it.
@@ -199,7 +199,7 @@ export type AccessCode = {
199
199
  /**
200
200
  * Indicates that this is an access code error.
201
201
  */
202
- is_access_code_error: boolean
202
+ is_access_code_error: true
203
203
 
204
204
  /**
205
205
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -225,7 +225,7 @@ export type AccessCode = {
225
225
  /**
226
226
  * Indicates that this is an access code error.
227
227
  */
228
- is_access_code_error: boolean
228
+ is_access_code_error: true
229
229
 
230
230
  /**
231
231
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -268,7 +268,7 @@ export type AccessCode = {
268
268
  /**
269
269
  * Indicates that this is an access code error.
270
270
  */
271
- is_access_code_error: boolean
271
+ is_access_code_error: true
272
272
 
273
273
  /**
274
274
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -290,7 +290,7 @@ export type AccessCode = {
290
290
  /**
291
291
  * Indicates that this is an access code error.
292
292
  */
293
- is_access_code_error: boolean
293
+ is_access_code_error: true
294
294
 
295
295
  /**
296
296
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -313,12 +313,12 @@ export type AccessCode = {
313
313
  /**
314
314
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
315
315
  */
316
- is_connected_account_error: boolean
316
+ is_connected_account_error: true
317
317
 
318
318
  /**
319
319
  * Indicates that the error is not a device error.
320
320
  */
321
- is_device_error: boolean
321
+ is_device_error: false
322
322
 
323
323
  /**
324
324
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -341,12 +341,12 @@ export type AccessCode = {
341
341
  /**
342
342
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
343
343
  */
344
- is_connected_account_error: boolean
344
+ is_connected_account_error: true
345
345
 
346
346
  /**
347
347
  * Indicates that the error is not a device error.
348
348
  */
349
- is_device_error: boolean
349
+ is_device_error: false
350
350
 
351
351
  /**
352
352
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -369,12 +369,12 @@ export type AccessCode = {
369
369
  /**
370
370
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
371
371
  */
372
- is_connected_account_error: boolean
372
+ is_connected_account_error: true
373
373
 
374
374
  /**
375
375
  * Indicates that the error is not a device error.
376
376
  */
377
- is_device_error: boolean
377
+ is_device_error: false
378
378
 
379
379
  /**
380
380
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -397,12 +397,12 @@ export type AccessCode = {
397
397
  /**
398
398
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
399
399
  */
400
- is_connected_account_error: boolean
400
+ is_connected_account_error: true
401
401
 
402
402
  /**
403
403
  * Indicates that the error is not a device error.
404
404
  */
405
- is_device_error: boolean
405
+ is_device_error: false
406
406
 
407
407
  /**
408
408
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -425,7 +425,7 @@ export type AccessCode = {
425
425
  /**
426
426
  * Indicates that the error is a device error.
427
427
  */
428
- is_device_error: boolean
428
+ is_device_error: true
429
429
 
430
430
  /**
431
431
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -448,7 +448,7 @@ export type AccessCode = {
448
448
  /**
449
449
  * Indicates that the error is a device error.
450
450
  */
451
- is_device_error: boolean
451
+ is_device_error: true
452
452
 
453
453
  /**
454
454
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -471,7 +471,7 @@ export type AccessCode = {
471
471
  /**
472
472
  * Indicates that the error is a device error.
473
473
  */
474
- is_device_error: boolean
474
+ is_device_error: true
475
475
 
476
476
  /**
477
477
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -494,7 +494,7 @@ export type AccessCode = {
494
494
  /**
495
495
  * Indicates that the error is a device error.
496
496
  */
497
- is_device_error: boolean
497
+ is_device_error: true
498
498
 
499
499
  /**
500
500
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -517,7 +517,7 @@ export type AccessCode = {
517
517
  /**
518
518
  * Indicates that the error is a device error.
519
519
  */
520
- is_device_error: boolean
520
+ is_device_error: true
521
521
 
522
522
  /**
523
523
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -540,7 +540,7 @@ export type AccessCode = {
540
540
  /**
541
541
  * Indicates that the error is a device error.
542
542
  */
543
- is_device_error: boolean
543
+ is_device_error: true
544
544
 
545
545
  /**
546
546
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -563,7 +563,7 @@ export type AccessCode = {
563
563
  /**
564
564
  * Indicates that the error is a device error.
565
565
  */
566
- is_device_error: boolean
566
+ is_device_error: true
567
567
 
568
568
  /**
569
569
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -586,7 +586,7 @@ export type AccessCode = {
586
586
  /**
587
587
  * Indicates that the error is a device error.
588
588
  */
589
- is_device_error: boolean
589
+ is_device_error: true
590
590
 
591
591
  /**
592
592
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -609,7 +609,7 @@ export type AccessCode = {
609
609
  /**
610
610
  * Indicates that the error is a device error.
611
611
  */
612
- is_device_error: boolean
612
+ is_device_error: true
613
613
 
614
614
  /**
615
615
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -661,7 +661,7 @@ export type AccessCode = {
661
661
  /**
662
662
  * Indicates whether Seam manages the access code.
663
663
  */
664
- is_managed: boolean
664
+ is_managed: true
665
665
 
666
666
  /**
667
667
  * Indicates whether the access code is intended for use in offline scenarios. If `true`, this code can be created on a device without a network connection.
@@ -119,7 +119,7 @@ export type AcsAccessGroup = {
119
119
  /**
120
120
  * Indicates whether Seam manages the access group.
121
121
  */
122
- is_managed: boolean
122
+ is_managed: true
123
123
 
124
124
  /**
125
125
  * Name of the access group.
@@ -153,7 +153,7 @@ export type AcsCredential = {
153
153
  /**
154
154
  * Indicates whether Seam manages the credential.
155
155
  */
156
- is_managed: boolean
156
+ is_managed: true
157
157
 
158
158
  /**
159
159
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
@@ -185,7 +185,7 @@ export type AcsUser = {
185
185
  /**
186
186
  * Indicates whether Seam manages the access system user.
187
187
  */
188
- is_managed: boolean
188
+ is_managed: true
189
189
 
190
190
  /**
191
191
  * Indicates whether the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) is currently [suspended](https://docs.seam.co/low-level-apis/access-systems/user-management/suspending-and-unsuspending-users).
@@ -339,7 +339,7 @@ export type ActionAttempt =
339
339
  is_latest_desired_state_synced_with_provider?:
340
340
  boolean | null | undefined
341
341
 
342
- is_managed: boolean
342
+ is_managed: true | false
343
343
 
344
344
  /**
345
345
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
@@ -646,7 +646,7 @@ export type ActionAttempt =
646
646
  is_latest_desired_state_synced_with_provider?:
647
647
  boolean | null | undefined
648
648
 
649
- is_managed: boolean
649
+ is_managed: true | false
650
650
 
651
651
  /**
652
652
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
@@ -930,7 +930,7 @@ export type ActionAttempt =
930
930
  /**
931
931
  * Indicates whether Seam manages the credential.
932
932
  */
933
- is_managed: boolean
933
+ is_managed: true
934
934
 
935
935
  /**
936
936
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
@@ -238,12 +238,12 @@ export type Device = {
238
238
  /**
239
239
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
240
240
  */
241
- is_connected_account_error: boolean
241
+ is_connected_account_error: true
242
242
 
243
243
  /**
244
244
  * Indicates that the error is not a device error.
245
245
  */
246
- is_device_error: boolean
246
+ is_device_error: false
247
247
 
248
248
  /**
249
249
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -266,12 +266,12 @@ export type Device = {
266
266
  /**
267
267
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
268
268
  */
269
- is_connected_account_error: boolean
269
+ is_connected_account_error: true
270
270
 
271
271
  /**
272
272
  * Indicates that the error is not a device error.
273
273
  */
274
- is_device_error: boolean
274
+ is_device_error: false
275
275
 
276
276
  /**
277
277
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -294,12 +294,12 @@ export type Device = {
294
294
  /**
295
295
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
296
296
  */
297
- is_connected_account_error: boolean
297
+ is_connected_account_error: true
298
298
 
299
299
  /**
300
300
  * Indicates that the error is not a device error.
301
301
  */
302
- is_device_error: boolean
302
+ is_device_error: false
303
303
 
304
304
  /**
305
305
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -322,12 +322,12 @@ export type Device = {
322
322
  /**
323
323
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
324
324
  */
325
- is_connected_account_error: boolean
325
+ is_connected_account_error: true
326
326
 
327
327
  /**
328
328
  * Indicates that the error is not a device error.
329
329
  */
330
- is_device_error: boolean
330
+ is_device_error: false
331
331
 
332
332
  /**
333
333
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -350,7 +350,7 @@ export type Device = {
350
350
  /**
351
351
  * Indicates that the error is a device error.
352
352
  */
353
- is_device_error: boolean
353
+ is_device_error: true
354
354
 
355
355
  /**
356
356
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -373,7 +373,7 @@ export type Device = {
373
373
  /**
374
374
  * Indicates that the error is a device error.
375
375
  */
376
- is_device_error: boolean
376
+ is_device_error: true
377
377
 
378
378
  /**
379
379
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -396,7 +396,7 @@ export type Device = {
396
396
  /**
397
397
  * Indicates that the error is a device error.
398
398
  */
399
- is_device_error: boolean
399
+ is_device_error: true
400
400
 
401
401
  /**
402
402
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -419,7 +419,7 @@ export type Device = {
419
419
  /**
420
420
  * Indicates that the error is a device error.
421
421
  */
422
- is_device_error: boolean
422
+ is_device_error: true
423
423
 
424
424
  /**
425
425
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -442,7 +442,7 @@ export type Device = {
442
442
  /**
443
443
  * Indicates that the error is a device error.
444
444
  */
445
- is_device_error: boolean
445
+ is_device_error: true
446
446
 
447
447
  /**
448
448
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -465,7 +465,7 @@ export type Device = {
465
465
  /**
466
466
  * Indicates that the error is a device error.
467
467
  */
468
- is_device_error: boolean
468
+ is_device_error: true
469
469
 
470
470
  /**
471
471
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -488,7 +488,7 @@ export type Device = {
488
488
  /**
489
489
  * Indicates that the error is a device error.
490
490
  */
491
- is_device_error: boolean
491
+ is_device_error: true
492
492
 
493
493
  /**
494
494
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -511,7 +511,7 @@ export type Device = {
511
511
  /**
512
512
  * Indicates that the error is a device error.
513
513
  */
514
- is_device_error: boolean
514
+ is_device_error: true
515
515
 
516
516
  /**
517
517
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -534,7 +534,7 @@ export type Device = {
534
534
  /**
535
535
  * Indicates that the error is a device error.
536
536
  */
537
- is_device_error: boolean
537
+ is_device_error: true
538
538
 
539
539
  /**
540
540
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -572,7 +572,7 @@ export type Device = {
572
572
  /**
573
573
  * Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
574
574
  */
575
- is_managed: boolean
575
+ is_managed: true
576
576
 
577
577
  /**
578
578
  * Location information for the device.
@@ -2082,7 +2082,7 @@ export type Device = {
2082
2082
  /**
2083
2083
  * When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.
2084
2084
  */
2085
- matching_start_end_time?: boolean | undefined
2085
+ matching_start_end_time?: true | undefined
2086
2086
  /**
2087
2087
  * Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.
2088
2088
  */
@@ -2139,7 +2139,7 @@ export type Device = {
2139
2139
  /**
2140
2140
  * When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.
2141
2141
  */
2142
- matching_start_end_time?: boolean | undefined
2142
+ matching_start_end_time?: true | undefined
2143
2143
  /**
2144
2144
  * Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.
2145
2145
  */
@@ -25,11 +25,11 @@ export type UnmanagedAccessCode = {
25
25
  /**
26
26
  * Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.
27
27
  */
28
- cannot_be_managed?: boolean | undefined
28
+ cannot_be_managed?: true | undefined
29
29
  /**
30
30
  * Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.
31
31
  */
32
- cannot_delete_unmanaged_access_code?: boolean | undefined
32
+ cannot_delete_unmanaged_access_code?: true | undefined
33
33
  /**
34
34
  * Code used for access. Typically, a numeric or alphanumeric string.
35
35
  */
@@ -108,7 +108,7 @@ export type UnmanagedAccessCode = {
108
108
  /**
109
109
  * Indicates that this is an access code error.
110
110
  */
111
- is_access_code_error: boolean
111
+ is_access_code_error: true
112
112
 
113
113
  /**
114
114
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -130,7 +130,7 @@ export type UnmanagedAccessCode = {
130
130
  /**
131
131
  * Indicates that this is an access code error.
132
132
  */
133
- is_access_code_error: boolean
133
+ is_access_code_error: true
134
134
 
135
135
  /**
136
136
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -152,7 +152,7 @@ export type UnmanagedAccessCode = {
152
152
  /**
153
153
  * Indicates that this is an access code error.
154
154
  */
155
- is_access_code_error: boolean
155
+ is_access_code_error: true
156
156
 
157
157
  /**
158
158
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -174,7 +174,7 @@ export type UnmanagedAccessCode = {
174
174
  /**
175
175
  * Indicates that this is an access code error.
176
176
  */
177
- is_access_code_error: boolean
177
+ is_access_code_error: true
178
178
 
179
179
  /**
180
180
  * ID of the managed access code that conflicts with this managed access code, when Seam can identify it.
@@ -205,7 +205,7 @@ export type UnmanagedAccessCode = {
205
205
  /**
206
206
  * Indicates that this is an access code error.
207
207
  */
208
- is_access_code_error: boolean
208
+ is_access_code_error: true
209
209
 
210
210
  /**
211
211
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -231,7 +231,7 @@ export type UnmanagedAccessCode = {
231
231
  /**
232
232
  * Indicates that this is an access code error.
233
233
  */
234
- is_access_code_error: boolean
234
+ is_access_code_error: true
235
235
 
236
236
  /**
237
237
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -274,7 +274,7 @@ export type UnmanagedAccessCode = {
274
274
  /**
275
275
  * Indicates that this is an access code error.
276
276
  */
277
- is_access_code_error: boolean
277
+ is_access_code_error: true
278
278
 
279
279
  /**
280
280
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -296,7 +296,7 @@ export type UnmanagedAccessCode = {
296
296
  /**
297
297
  * Indicates that this is an access code error.
298
298
  */
299
- is_access_code_error: boolean
299
+ is_access_code_error: true
300
300
 
301
301
  /**
302
302
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -319,12 +319,12 @@ export type UnmanagedAccessCode = {
319
319
  /**
320
320
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
321
321
  */
322
- is_connected_account_error: boolean
322
+ is_connected_account_error: true
323
323
 
324
324
  /**
325
325
  * Indicates that the error is not a device error.
326
326
  */
327
- is_device_error: boolean
327
+ is_device_error: false
328
328
 
329
329
  /**
330
330
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -347,12 +347,12 @@ export type UnmanagedAccessCode = {
347
347
  /**
348
348
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
349
349
  */
350
- is_connected_account_error: boolean
350
+ is_connected_account_error: true
351
351
 
352
352
  /**
353
353
  * Indicates that the error is not a device error.
354
354
  */
355
- is_device_error: boolean
355
+ is_device_error: false
356
356
 
357
357
  /**
358
358
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -375,12 +375,12 @@ export type UnmanagedAccessCode = {
375
375
  /**
376
376
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
377
377
  */
378
- is_connected_account_error: boolean
378
+ is_connected_account_error: true
379
379
 
380
380
  /**
381
381
  * Indicates that the error is not a device error.
382
382
  */
383
- is_device_error: boolean
383
+ is_device_error: false
384
384
 
385
385
  /**
386
386
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -403,12 +403,12 @@ export type UnmanagedAccessCode = {
403
403
  /**
404
404
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
405
405
  */
406
- is_connected_account_error: boolean
406
+ is_connected_account_error: true
407
407
 
408
408
  /**
409
409
  * Indicates that the error is not a device error.
410
410
  */
411
- is_device_error: boolean
411
+ is_device_error: false
412
412
 
413
413
  /**
414
414
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -431,7 +431,7 @@ export type UnmanagedAccessCode = {
431
431
  /**
432
432
  * Indicates that the error is a device error.
433
433
  */
434
- is_device_error: boolean
434
+ is_device_error: true
435
435
 
436
436
  /**
437
437
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -454,7 +454,7 @@ export type UnmanagedAccessCode = {
454
454
  /**
455
455
  * Indicates that the error is a device error.
456
456
  */
457
- is_device_error: boolean
457
+ is_device_error: true
458
458
 
459
459
  /**
460
460
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -477,7 +477,7 @@ export type UnmanagedAccessCode = {
477
477
  /**
478
478
  * Indicates that the error is a device error.
479
479
  */
480
- is_device_error: boolean
480
+ is_device_error: true
481
481
 
482
482
  /**
483
483
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -500,7 +500,7 @@ export type UnmanagedAccessCode = {
500
500
  /**
501
501
  * Indicates that the error is a device error.
502
502
  */
503
- is_device_error: boolean
503
+ is_device_error: true
504
504
 
505
505
  /**
506
506
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -523,7 +523,7 @@ export type UnmanagedAccessCode = {
523
523
  /**
524
524
  * Indicates that the error is a device error.
525
525
  */
526
- is_device_error: boolean
526
+ is_device_error: true
527
527
 
528
528
  /**
529
529
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -546,7 +546,7 @@ export type UnmanagedAccessCode = {
546
546
  /**
547
547
  * Indicates that the error is a device error.
548
548
  */
549
- is_device_error: boolean
549
+ is_device_error: true
550
550
 
551
551
  /**
552
552
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -569,7 +569,7 @@ export type UnmanagedAccessCode = {
569
569
  /**
570
570
  * Indicates that the error is a device error.
571
571
  */
572
- is_device_error: boolean
572
+ is_device_error: true
573
573
 
574
574
  /**
575
575
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -592,7 +592,7 @@ export type UnmanagedAccessCode = {
592
592
  /**
593
593
  * Indicates that the error is a device error.
594
594
  */
595
- is_device_error: boolean
595
+ is_device_error: true
596
596
 
597
597
  /**
598
598
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -615,7 +615,7 @@ export type UnmanagedAccessCode = {
615
615
  /**
616
616
  * Indicates that the error is a device error.
617
617
  */
618
- is_device_error: boolean
618
+ is_device_error: true
619
619
 
620
620
  /**
621
621
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -653,7 +653,7 @@ export type UnmanagedAccessCode = {
653
653
  /**
654
654
  * Indicates that Seam does not manage the access code.
655
655
  */
656
- is_managed: boolean
656
+ is_managed: false
657
657
 
658
658
  /**
659
659
  * Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).