@seamapi/types 1.961.0 → 1.963.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.
Files changed (26) hide show
  1. package/dist/connect.cjs +564 -22
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +979 -6
  4. package/dist/index.cjs +564 -22
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-method.d.ts +143 -0
  7. package/lib/seam/connect/models/access-grants/access-method.js +36 -0
  8. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  9. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +63 -0
  10. package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +63 -0
  11. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  12. package/lib/seam/connect/models/devices/device-provider.js +2 -1
  13. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  14. package/lib/seam/connect/models/events/access-methods.d.ts +130 -0
  15. package/lib/seam/connect/models/events/access-methods.js +18 -0
  16. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  17. package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
  18. package/lib/seam/connect/openapi.js +492 -0
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +806 -6
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/access-grants/access-method.ts +53 -0
  23. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
  24. package/src/lib/seam/connect/models/events/access-methods.ts +20 -0
  25. package/src/lib/seam/connect/openapi.ts +560 -0
  26. package/src/lib/seam/connect/route-types.ts +859 -0
@@ -1996,6 +1996,38 @@ const openapi = {
1996
1996
  description: 'Display name of the access method.',
1997
1997
  type: 'string',
1998
1998
  },
1999
+ errors: {
2000
+ description: 'Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
2001
+ items: {
2002
+ description: 'Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
2003
+ discriminator: { propertyName: 'error_code' },
2004
+ oneOf: [
2005
+ {
2006
+ description: 'Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. 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 method is eventually issued.',
2007
+ properties: {
2008
+ created_at: {
2009
+ description: 'Date and time at which Seam created the error.',
2010
+ format: 'date-time',
2011
+ type: 'string',
2012
+ },
2013
+ error_code: {
2014
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
2015
+ enum: ['failed_to_issue'],
2016
+ type: 'string',
2017
+ },
2018
+ message: {
2019
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
2020
+ type: 'string',
2021
+ },
2022
+ },
2023
+ required: ['created_at', 'message', 'error_code'],
2024
+ type: 'object',
2025
+ 'x-resource-type': 'access_method',
2026
+ },
2027
+ ],
2028
+ },
2029
+ type: 'array',
2030
+ },
1999
2031
  instant_key_url: {
2000
2032
  description: 'URL of the Instant Key for mobile key access methods.',
2001
2033
  format: 'uri',
@@ -2282,6 +2314,27 @@ const openapi = {
2282
2314
  required: ['created_at', 'message', 'warning_code'],
2283
2315
  type: 'object',
2284
2316
  },
2317
+ {
2318
+ description: 'Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, 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.',
2319
+ properties: {
2320
+ created_at: {
2321
+ description: 'Date and time at which Seam created the warning.',
2322
+ format: 'date-time',
2323
+ type: 'string',
2324
+ },
2325
+ message: {
2326
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2327
+ type: 'string',
2328
+ },
2329
+ warning_code: {
2330
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2331
+ enum: ['delay_in_issuing'],
2332
+ type: 'string',
2333
+ },
2334
+ },
2335
+ required: ['created_at', 'message', 'warning_code'],
2336
+ type: 'object',
2337
+ },
2285
2338
  ],
2286
2339
  },
2287
2340
  type: 'array',
@@ -2301,6 +2354,7 @@ const openapi = {
2301
2354
  'issued_at',
2302
2355
  'is_issued',
2303
2356
  'warnings',
2357
+ 'errors',
2304
2358
  'pending_mutations',
2305
2359
  ],
2306
2360
  type: 'object',
@@ -7968,6 +8022,38 @@ const openapi = {
7968
8022
  description: 'Display name of the access method.',
7969
8023
  type: 'string',
7970
8024
  },
8025
+ errors: {
8026
+ description: 'Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
8027
+ items: {
8028
+ description: 'Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
8029
+ discriminator: { propertyName: 'error_code' },
8030
+ oneOf: [
8031
+ {
8032
+ description: 'Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. 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 method is eventually issued.',
8033
+ properties: {
8034
+ created_at: {
8035
+ description: 'Date and time at which Seam created the error.',
8036
+ format: 'date-time',
8037
+ type: 'string',
8038
+ },
8039
+ error_code: {
8040
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
8041
+ enum: ['failed_to_issue'],
8042
+ type: 'string',
8043
+ },
8044
+ message: {
8045
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8046
+ type: 'string',
8047
+ },
8048
+ },
8049
+ required: ['created_at', 'message', 'error_code'],
8050
+ type: 'object',
8051
+ 'x-resource-type': 'access_method',
8052
+ },
8053
+ ],
8054
+ },
8055
+ type: 'array',
8056
+ },
7971
8057
  instant_key_url: {
7972
8058
  description: 'URL of the Instant Key for mobile key access methods.',
7973
8059
  format: 'uri',
@@ -8254,6 +8340,27 @@ const openapi = {
8254
8340
  required: ['created_at', 'message', 'warning_code'],
8255
8341
  type: 'object',
8256
8342
  },
8343
+ {
8344
+ description: 'Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, 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.',
8345
+ properties: {
8346
+ created_at: {
8347
+ description: 'Date and time at which Seam created the warning.',
8348
+ format: 'date-time',
8349
+ type: 'string',
8350
+ },
8351
+ message: {
8352
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
8353
+ type: 'string',
8354
+ },
8355
+ warning_code: {
8356
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
8357
+ enum: ['delay_in_issuing'],
8358
+ type: 'string',
8359
+ },
8360
+ },
8361
+ required: ['created_at', 'message', 'warning_code'],
8362
+ type: 'object',
8363
+ },
8257
8364
  ],
8258
8365
  },
8259
8366
  type: 'array',
@@ -8273,6 +8380,7 @@ const openapi = {
8273
8380
  'issued_at',
8274
8381
  'is_issued',
8275
8382
  'warnings',
8383
+ 'errors',
8276
8384
  'pending_mutations',
8277
8385
  ],
8278
8386
  type: 'object',
@@ -15065,6 +15173,7 @@ const openapi = {
15065
15173
  'doorking',
15066
15174
  'salto',
15067
15175
  'salto_ks',
15176
+ 'salto_ks_accept',
15068
15177
  'lockly',
15069
15178
  'ttlock',
15070
15179
  'linear',
@@ -18396,6 +18505,124 @@ const openapi = {
18396
18505
  type: 'object',
18397
18506
  'x-route-path': '/access_methods',
18398
18507
  },
18508
+ {
18509
+ description: 'Seam has not yet issued this access method, even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and the accompanying `delay_in_issuing` warning clears automatically once issuance succeeds.',
18510
+ properties: {
18511
+ access_grant_ids: {
18512
+ description: 'IDs of the access grants associated with this access method.',
18513
+ items: { format: 'uuid', type: 'string' },
18514
+ type: 'array',
18515
+ },
18516
+ access_grant_keys: {
18517
+ description: 'Keys of the access grants associated with this access method (if present).',
18518
+ items: { type: 'string' },
18519
+ type: 'array',
18520
+ },
18521
+ access_method_id: {
18522
+ description: 'ID of the affected access method.',
18523
+ format: 'uuid',
18524
+ type: 'string',
18525
+ },
18526
+ created_at: {
18527
+ description: 'Date and time at which the event was created.',
18528
+ format: 'date-time',
18529
+ type: 'string',
18530
+ },
18531
+ event_description: {
18532
+ 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.',
18533
+ type: 'string',
18534
+ },
18535
+ event_id: {
18536
+ description: 'ID of the event.',
18537
+ format: 'uuid',
18538
+ type: 'string',
18539
+ },
18540
+ event_type: {
18541
+ enum: ['access_method.delay_in_issuing'],
18542
+ type: 'string',
18543
+ },
18544
+ occurred_at: {
18545
+ description: 'Date and time at which the event occurred.',
18546
+ format: 'date-time',
18547
+ type: 'string',
18548
+ },
18549
+ workspace_id: {
18550
+ description: 'ID of the workspace associated with the event.',
18551
+ format: 'uuid',
18552
+ type: 'string',
18553
+ },
18554
+ },
18555
+ required: [
18556
+ 'event_id',
18557
+ 'workspace_id',
18558
+ 'created_at',
18559
+ 'occurred_at',
18560
+ 'access_method_id',
18561
+ 'access_grant_ids',
18562
+ 'event_type',
18563
+ ],
18564
+ type: 'object',
18565
+ 'x-route-path': '/access_methods',
18566
+ },
18567
+ {
18568
+ description: 'Seam was unable to issue this access method before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and the accompanying `failed_to_issue` error clears automatically if the access method is eventually issued.',
18569
+ properties: {
18570
+ access_grant_ids: {
18571
+ description: 'IDs of the access grants associated with this access method.',
18572
+ items: { format: 'uuid', type: 'string' },
18573
+ type: 'array',
18574
+ },
18575
+ access_grant_keys: {
18576
+ description: 'Keys of the access grants associated with this access method (if present).',
18577
+ items: { type: 'string' },
18578
+ type: 'array',
18579
+ },
18580
+ access_method_id: {
18581
+ description: 'ID of the affected access method.',
18582
+ format: 'uuid',
18583
+ type: 'string',
18584
+ },
18585
+ created_at: {
18586
+ description: 'Date and time at which the event was created.',
18587
+ format: 'date-time',
18588
+ type: 'string',
18589
+ },
18590
+ event_description: {
18591
+ 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.',
18592
+ type: 'string',
18593
+ },
18594
+ event_id: {
18595
+ description: 'ID of the event.',
18596
+ format: 'uuid',
18597
+ type: 'string',
18598
+ },
18599
+ event_type: {
18600
+ enum: ['access_method.failed_to_issue'],
18601
+ type: 'string',
18602
+ },
18603
+ occurred_at: {
18604
+ description: 'Date and time at which the event occurred.',
18605
+ format: 'date-time',
18606
+ type: 'string',
18607
+ },
18608
+ workspace_id: {
18609
+ description: 'ID of the workspace associated with the event.',
18610
+ format: 'uuid',
18611
+ type: 'string',
18612
+ },
18613
+ },
18614
+ required: [
18615
+ 'event_id',
18616
+ 'workspace_id',
18617
+ 'created_at',
18618
+ 'occurred_at',
18619
+ 'access_method_id',
18620
+ 'access_grant_ids',
18621
+ 'event_type',
18622
+ ],
18623
+ type: 'object',
18624
+ 'x-route-path': '/access_methods',
18625
+ },
18399
18626
  {
18400
18627
  description: 'An [access system](https://docs.seam.co/low-level-apis/access-systems) was connected.',
18401
18628
  properties: {
@@ -38272,6 +38499,42 @@ const openapi = {
38272
38499
  description: 'Display name of the access method.',
38273
38500
  type: 'string',
38274
38501
  },
38502
+ errors: {
38503
+ description: 'Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
38504
+ items: {
38505
+ description: 'Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
38506
+ discriminator: { propertyName: 'error_code' },
38507
+ oneOf: [
38508
+ {
38509
+ description: 'Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. 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 method is eventually issued.',
38510
+ properties: {
38511
+ created_at: {
38512
+ description: 'Date and time at which Seam created the error.',
38513
+ format: 'date-time',
38514
+ type: 'string',
38515
+ },
38516
+ error_code: {
38517
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
38518
+ enum: ['failed_to_issue'],
38519
+ type: 'string',
38520
+ },
38521
+ message: {
38522
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
38523
+ type: 'string',
38524
+ },
38525
+ },
38526
+ required: [
38527
+ 'created_at',
38528
+ 'message',
38529
+ 'error_code',
38530
+ ],
38531
+ type: 'object',
38532
+ 'x-resource-type': 'access_method',
38533
+ },
38534
+ ],
38535
+ },
38536
+ type: 'array',
38537
+ },
38275
38538
  is_assignment_required: {
38276
38539
  description: 'Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.',
38277
38540
  type: 'boolean',
@@ -38577,6 +38840,31 @@ const openapi = {
38577
38840
  ],
38578
38841
  type: 'object',
38579
38842
  },
38843
+ {
38844
+ description: 'Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, 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.',
38845
+ properties: {
38846
+ created_at: {
38847
+ description: 'Date and time at which Seam created the warning.',
38848
+ format: 'date-time',
38849
+ type: 'string',
38850
+ },
38851
+ message: {
38852
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
38853
+ type: 'string',
38854
+ },
38855
+ warning_code: {
38856
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
38857
+ enum: ['delay_in_issuing'],
38858
+ type: 'string',
38859
+ },
38860
+ },
38861
+ required: [
38862
+ 'created_at',
38863
+ 'message',
38864
+ 'warning_code',
38865
+ ],
38866
+ type: 'object',
38867
+ },
38580
38868
  ],
38581
38869
  },
38582
38870
  type: 'array',
@@ -38596,6 +38884,7 @@ const openapi = {
38596
38884
  'issued_at',
38597
38885
  'is_issued',
38598
38886
  'warnings',
38887
+ 'errors',
38599
38888
  'pending_mutations',
38600
38889
  ],
38601
38890
  type: 'object',
@@ -38675,6 +38964,42 @@ const openapi = {
38675
38964
  description: 'Display name of the access method.',
38676
38965
  type: 'string',
38677
38966
  },
38967
+ errors: {
38968
+ description: 'Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
38969
+ items: {
38970
+ description: 'Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
38971
+ discriminator: { propertyName: 'error_code' },
38972
+ oneOf: [
38973
+ {
38974
+ description: 'Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. 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 method is eventually issued.',
38975
+ properties: {
38976
+ created_at: {
38977
+ description: 'Date and time at which Seam created the error.',
38978
+ format: 'date-time',
38979
+ type: 'string',
38980
+ },
38981
+ error_code: {
38982
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
38983
+ enum: ['failed_to_issue'],
38984
+ type: 'string',
38985
+ },
38986
+ message: {
38987
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
38988
+ type: 'string',
38989
+ },
38990
+ },
38991
+ required: [
38992
+ 'created_at',
38993
+ 'message',
38994
+ 'error_code',
38995
+ ],
38996
+ type: 'object',
38997
+ 'x-resource-type': 'access_method',
38998
+ },
38999
+ ],
39000
+ },
39001
+ type: 'array',
39002
+ },
38678
39003
  is_assignment_required: {
38679
39004
  description: 'Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.',
38680
39005
  type: 'boolean',
@@ -38980,6 +39305,31 @@ const openapi = {
38980
39305
  ],
38981
39306
  type: 'object',
38982
39307
  },
39308
+ {
39309
+ description: 'Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, 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.',
39310
+ properties: {
39311
+ created_at: {
39312
+ description: 'Date and time at which Seam created the warning.',
39313
+ format: 'date-time',
39314
+ type: 'string',
39315
+ },
39316
+ message: {
39317
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
39318
+ type: 'string',
39319
+ },
39320
+ warning_code: {
39321
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
39322
+ enum: ['delay_in_issuing'],
39323
+ type: 'string',
39324
+ },
39325
+ },
39326
+ required: [
39327
+ 'created_at',
39328
+ 'message',
39329
+ 'warning_code',
39330
+ ],
39331
+ type: 'object',
39332
+ },
38983
39333
  ],
38984
39334
  },
38985
39335
  type: 'array',
@@ -38999,6 +39349,7 @@ const openapi = {
38999
39349
  'issued_at',
39000
39350
  'is_issued',
39001
39351
  'warnings',
39352
+ 'errors',
39002
39353
  'pending_mutations',
39003
39354
  ],
39004
39355
  type: 'object',
@@ -39106,6 +39457,42 @@ const openapi = {
39106
39457
  description: 'Display name of the access method.',
39107
39458
  type: 'string',
39108
39459
  },
39460
+ errors: {
39461
+ description: 'Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
39462
+ items: {
39463
+ description: 'Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
39464
+ discriminator: { propertyName: 'error_code' },
39465
+ oneOf: [
39466
+ {
39467
+ description: 'Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. 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 method is eventually issued.',
39468
+ properties: {
39469
+ created_at: {
39470
+ description: 'Date and time at which Seam created the error.',
39471
+ format: 'date-time',
39472
+ type: 'string',
39473
+ },
39474
+ error_code: {
39475
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
39476
+ enum: ['failed_to_issue'],
39477
+ type: 'string',
39478
+ },
39479
+ message: {
39480
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
39481
+ type: 'string',
39482
+ },
39483
+ },
39484
+ required: [
39485
+ 'created_at',
39486
+ 'message',
39487
+ 'error_code',
39488
+ ],
39489
+ type: 'object',
39490
+ 'x-resource-type': 'access_method',
39491
+ },
39492
+ ],
39493
+ },
39494
+ type: 'array',
39495
+ },
39109
39496
  is_assignment_required: {
39110
39497
  description: 'Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.',
39111
39498
  type: 'boolean',
@@ -39411,6 +39798,31 @@ const openapi = {
39411
39798
  ],
39412
39799
  type: 'object',
39413
39800
  },
39801
+ {
39802
+ description: 'Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, 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.',
39803
+ properties: {
39804
+ created_at: {
39805
+ description: 'Date and time at which Seam created the warning.',
39806
+ format: 'date-time',
39807
+ type: 'string',
39808
+ },
39809
+ message: {
39810
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
39811
+ type: 'string',
39812
+ },
39813
+ warning_code: {
39814
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
39815
+ enum: ['delay_in_issuing'],
39816
+ type: 'string',
39817
+ },
39818
+ },
39819
+ required: [
39820
+ 'created_at',
39821
+ 'message',
39822
+ 'warning_code',
39823
+ ],
39824
+ type: 'object',
39825
+ },
39414
39826
  ],
39415
39827
  },
39416
39828
  type: 'array',
@@ -39430,6 +39842,7 @@ const openapi = {
39430
39842
  'issued_at',
39431
39843
  'is_issued',
39432
39844
  'warnings',
39845
+ 'errors',
39433
39846
  'pending_mutations',
39434
39847
  ],
39435
39848
  type: 'object',
@@ -39528,6 +39941,42 @@ const openapi = {
39528
39941
  description: 'Display name of the access method.',
39529
39942
  type: 'string',
39530
39943
  },
39944
+ errors: {
39945
+ description: 'Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
39946
+ items: {
39947
+ description: 'Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).',
39948
+ discriminator: { propertyName: 'error_code' },
39949
+ oneOf: [
39950
+ {
39951
+ description: 'Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. 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 method is eventually issued.',
39952
+ properties: {
39953
+ created_at: {
39954
+ description: 'Date and time at which Seam created the error.',
39955
+ format: 'date-time',
39956
+ type: 'string',
39957
+ },
39958
+ error_code: {
39959
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
39960
+ enum: ['failed_to_issue'],
39961
+ type: 'string',
39962
+ },
39963
+ message: {
39964
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
39965
+ type: 'string',
39966
+ },
39967
+ },
39968
+ required: [
39969
+ 'created_at',
39970
+ 'message',
39971
+ 'error_code',
39972
+ ],
39973
+ type: 'object',
39974
+ 'x-resource-type': 'access_method',
39975
+ },
39976
+ ],
39977
+ },
39978
+ type: 'array',
39979
+ },
39531
39980
  is_assignment_required: {
39532
39981
  description: 'Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.',
39533
39982
  type: 'boolean',
@@ -39833,6 +40282,31 @@ const openapi = {
39833
40282
  ],
39834
40283
  type: 'object',
39835
40284
  },
40285
+ {
40286
+ description: 'Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, 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.',
40287
+ properties: {
40288
+ created_at: {
40289
+ description: 'Date and time at which Seam created the warning.',
40290
+ format: 'date-time',
40291
+ type: 'string',
40292
+ },
40293
+ message: {
40294
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
40295
+ type: 'string',
40296
+ },
40297
+ warning_code: {
40298
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
40299
+ enum: ['delay_in_issuing'],
40300
+ type: 'string',
40301
+ },
40302
+ },
40303
+ required: [
40304
+ 'created_at',
40305
+ 'message',
40306
+ 'warning_code',
40307
+ ],
40308
+ type: 'object',
40309
+ },
39836
40310
  ],
39837
40311
  },
39838
40312
  type: 'array',
@@ -39852,6 +40326,7 @@ const openapi = {
39852
40326
  'issued_at',
39853
40327
  'is_issued',
39854
40328
  'warnings',
40329
+ 'errors',
39855
40330
  'pending_mutations',
39856
40331
  ],
39857
40332
  type: 'object',
@@ -47360,6 +47835,7 @@ const openapi = {
47360
47835
  'doorking',
47361
47836
  'salto',
47362
47837
  'salto_ks',
47838
+ 'salto_ks_accept',
47363
47839
  'lockly',
47364
47840
  'ttlock',
47365
47841
  'linear',
@@ -55434,6 +55910,8 @@ const openapi = {
55434
55910
  'access_method.deleted',
55435
55911
  'access_method.reissued',
55436
55912
  'access_method.created',
55913
+ 'access_method.delay_in_issuing',
55914
+ 'access_method.failed_to_issue',
55437
55915
  'acs_system.connected',
55438
55916
  'acs_system.added',
55439
55917
  'acs_system.disconnected',
@@ -55552,6 +56030,8 @@ const openapi = {
55552
56030
  'access_method.deleted',
55553
56031
  'access_method.reissued',
55554
56032
  'access_method.created',
56033
+ 'access_method.delay_in_issuing',
56034
+ 'access_method.failed_to_issue',
55555
56035
  'acs_system.connected',
55556
56036
  'acs_system.added',
55557
56037
  'acs_system.disconnected',
@@ -55970,6 +56450,8 @@ const openapi = {
55970
56450
  'access_method.deleted',
55971
56451
  'access_method.reissued',
55972
56452
  'access_method.created',
56453
+ 'access_method.delay_in_issuing',
56454
+ 'access_method.failed_to_issue',
55973
56455
  'acs_system.connected',
55974
56456
  'acs_system.added',
55975
56457
  'acs_system.disconnected',
@@ -56084,6 +56566,8 @@ const openapi = {
56084
56566
  'access_method.deleted',
56085
56567
  'access_method.reissued',
56086
56568
  'access_method.created',
56569
+ 'access_method.delay_in_issuing',
56570
+ 'access_method.failed_to_issue',
56087
56571
  'acs_system.connected',
56088
56572
  'acs_system.added',
56089
56573
  'acs_system.disconnected',
@@ -68538,6 +69022,8 @@ const openapi = {
68538
69022
  'access_method.deleted',
68539
69023
  'access_method.reissued',
68540
69024
  'access_method.created',
69025
+ 'access_method.delay_in_issuing',
69026
+ 'access_method.failed_to_issue',
68541
69027
  'acs_system.connected',
68542
69028
  'acs_system.added',
68543
69029
  'acs_system.disconnected',
@@ -68657,6 +69143,8 @@ const openapi = {
68657
69143
  'access_method.deleted',
68658
69144
  'access_method.reissued',
68659
69145
  'access_method.created',
69146
+ 'access_method.delay_in_issuing',
69147
+ 'access_method.failed_to_issue',
68660
69148
  'acs_system.connected',
68661
69149
  'acs_system.added',
68662
69150
  'acs_system.disconnected',
@@ -68837,6 +69325,8 @@ const openapi = {
68837
69325
  'access_method.deleted',
68838
69326
  'access_method.reissued',
68839
69327
  'access_method.created',
69328
+ 'access_method.delay_in_issuing',
69329
+ 'access_method.failed_to_issue',
68840
69330
  'acs_system.connected',
68841
69331
  'acs_system.added',
68842
69332
  'acs_system.disconnected',
@@ -68951,6 +69441,8 @@ const openapi = {
68951
69441
  'access_method.deleted',
68952
69442
  'access_method.reissued',
68953
69443
  'access_method.created',
69444
+ 'access_method.delay_in_issuing',
69445
+ 'access_method.failed_to_issue',
68954
69446
  'acs_system.connected',
68955
69447
  'acs_system.added',
68956
69448
  'acs_system.disconnected',