@seamapi/http 2.41.0 → 2.42.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.
@@ -262,7 +262,7 @@ export type AccessCode = {
262
262
  */
263
263
  message: string;
264
264
  } /**
265
- * 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.
265
+ * 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. This error clears automatically if the access code is eventually issued.
266
266
  */ | {
267
267
  /**
268
268
  * Date and time at which Seam created the error.
@@ -382,6 +382,25 @@ export type AccessGrant = {
382
382
  * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
383
383
  */
384
384
  warning_code: 'device_time_constraints_violated';
385
+ } /**
386
+ * Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.
387
+ */ | {
388
+ /**
389
+ * ID of the access method whose access was revoked.
390
+ */
391
+ access_method_id: string;
392
+ /**
393
+ * Date and time at which Seam created the warning.
394
+ */
395
+ created_at: string;
396
+ /**
397
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
398
+ */
399
+ message: string;
400
+ /**
401
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
402
+ */
403
+ warning_code: 'access_revoked';
385
404
  }>;
386
405
  /**
387
406
  * ID of the Seam workspace associated with the Access Grant.
@@ -268,7 +268,7 @@ export type UnmanagedAccessCode = {
268
268
  */
269
269
  message: string;
270
270
  } /**
271
- * 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.
271
+ * 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. This error clears automatically if the access code is eventually issued.
272
272
  */ | {
273
273
  /**
274
274
  * Date and time at which Seam created the error.
@@ -362,6 +362,25 @@ export type UnmanagedAccessGrant = {
362
362
  * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
363
363
  */
364
364
  warning_code: 'device_time_constraints_violated';
365
+ } /**
366
+ * Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.
367
+ */ | {
368
+ /**
369
+ * ID of the access method whose access was revoked.
370
+ */
371
+ access_method_id: string;
372
+ /**
373
+ * Date and time at which Seam created the warning.
374
+ */
375
+ created_at: string;
376
+ /**
377
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
378
+ */
379
+ message: string;
380
+ /**
381
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
382
+ */
383
+ warning_code: 'access_revoked';
365
384
  }>;
366
385
  /**
367
386
  * ID of the Seam workspace associated with the Access Grant.
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const seamapiJavascriptHttpVersion = "2.41.0";
1
+ declare const seamapiJavascriptHttpVersion = "2.42.0";
2
2
  export default seamapiJavascriptHttpVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.41.0';
1
+ const seamapiJavascriptHttpVersion = '2.42.0';
2
2
  export default seamapiJavascriptHttpVersion;
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/http",
3
- "version": "2.41.0",
3
+ "version": "2.42.0",
4
4
  "description": "JavaScript HTTP client for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -88,7 +88,7 @@
88
88
  "@seamapi/blueprint": "^1.10.0",
89
89
  "@seamapi/fake-seam-connect": "^2.0.4",
90
90
  "@seamapi/smith": "^1.1.0",
91
- "@seamapi/types": "1.1129.0",
91
+ "@seamapi/types": "1.1132.0",
92
92
  "@types/jsonwebtoken": "^9.0.6",
93
93
  "@types/node": "^24.10.9",
94
94
  "ava": "^8.0.1",
@@ -302,7 +302,7 @@ export type AccessCode = {
302
302
  */
303
303
  message: string
304
304
  } /**
305
- * 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.
305
+ * 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. This error clears automatically if the access code is eventually issued.
306
306
  */
307
307
  | {
308
308
  /**
@@ -453,6 +453,29 @@ export type AccessGrant = {
453
453
  * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
454
454
  */
455
455
  warning_code: 'device_time_constraints_violated'
456
+ } /**
457
+ * Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.
458
+ */
459
+ | {
460
+ /**
461
+ * ID of the access method whose access was revoked.
462
+ */
463
+ access_method_id: string
464
+
465
+ /**
466
+ * Date and time at which Seam created the warning.
467
+ */
468
+ created_at: string
469
+
470
+ /**
471
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
472
+ */
473
+ message: string
474
+
475
+ /**
476
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
477
+ */
478
+ warning_code: 'access_revoked'
456
479
  }
457
480
  >
458
481
 
@@ -308,7 +308,7 @@ export type UnmanagedAccessCode = {
308
308
  */
309
309
  message: string
310
310
  } /**
311
- * 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.
311
+ * 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. This error clears automatically if the access code is eventually issued.
312
312
  */
313
313
  | {
314
314
  /**
@@ -431,6 +431,29 @@ export type UnmanagedAccessGrant = {
431
431
  * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
432
432
  */
433
433
  warning_code: 'device_time_constraints_violated'
434
+ } /**
435
+ * Indicates that one of this access grant's access methods no longer grants access because of a change outside Seam, for example its card was encoded again for another credential. Seam does not replace the access method; issue a new one if the user still needs it.
436
+ */
437
+ | {
438
+ /**
439
+ * ID of the access method whose access was revoked.
440
+ */
441
+ access_method_id: string
442
+
443
+ /**
444
+ * Date and time at which Seam created the warning.
445
+ */
446
+ created_at: string
447
+
448
+ /**
449
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
450
+ */
451
+ message: string
452
+
453
+ /**
454
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
455
+ */
456
+ warning_code: 'access_revoked'
434
457
  }
435
458
  >
436
459
 
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.41.0'
1
+ const seamapiJavascriptHttpVersion = '2.42.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion